Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007719/0.000772, allocations: 92.41 kB / 16.95 MB, free: 5.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007704/0.0007704, allocations: 179.8 kB / 17.84 MB, free: 5.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.616/1.616, allocations: 223.2 MB / 241.8 MB, free: 280 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003493/0.0003493, allocations: 7.984 kB / 301.5 MB, free: 6.461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1573, allocations: 50.42 MB / 351.9 MB, free: 4.031 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.01283/0.1702, allocations: 10.14 MB / 362 MB, free: 9.848 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009361/0.1796, allocations: 3.653 MB / 365.7 MB, free: 6.184 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002492/0.1821, allocations: 55.75 kB / 365.7 MB, free: 6.129 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002534/0.1847, allocations: 0.672 MB / 366.4 MB, free: 5.453 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004166/0.1889, allocations: 0.8001 MB / 367.2 MB, free: 4.648 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001623/0.1905, allocations: 335.5 kB / 367.5 MB, free: 4.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006237/0.1968, allocations: 3.242 MB / 370.8 MB, free: 1.066 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3203/0.5171, allocations: 1.716 MB / 372.5 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005268/0.5224, allocations: 1.073 MB / 373.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005784/0.5283, allocations: 1.475 MB / 375 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008878/0.5292, allocations: 166.4 kB / 375.2 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001897/0.5311, allocations: 355.5 kB / 375.5 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001547/0.5327, allocations: 0.7965 MB / 376.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001695/0.5344, allocations: 0.5829 MB / 376.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008766/0.5431, allocations: 4.02 MB / 380.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.339e-05/0.5432, allocations: 4.938 kB / 380.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.738e-06/0.5432, allocations: 2.062 kB / 380.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002578/0.5435, allocations: 0 / 380.9 MB, free: 10.14 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.01059/0.5541, allocations: 2.998 MB / 383.9 MB, free: 8.539 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/0.5541, allocations: 10.03 kB / 384 MB, free: 8.539 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002815/0.557, allocations: 411.3 kB / 384.4 MB, free: 8.352 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004845/0.5618, allocations: 1.724 MB / 386.1 MB, free: 7.676 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002596/0.5621, allocations: 197 kB / 386.3 MB, free: 7.664 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009008/0.563, allocations: 256.2 kB / 386.5 MB, free: 7.656 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007856/0.5709, allocations: 3.242 MB / 389.8 MB, free: 6.832 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.878e-05/0.571, allocations: 9.531 kB / 389.8 MB, free: 6.828 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002552/0.5713, allocations: 101.9 kB / 389.9 MB, free: 6.828 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001468/0.5714, allocations: 115.5 kB / 390 MB, free: 6.812 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005666/0.5771, allocations: 2.706 MB / 392.7 MB, free: 6.363 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01846/0.5956, allocations: 10.44 MB / 403.1 MB, free: 15.6 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002353/0.598, allocations: 1.786 MB / 404.9 MB, free: 13.84 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001765/0.5998, allocations: 1.072 MB / 406 MB, free: 12.78 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003602/0.6002, allocations: 206.8 kB / 406.2 MB, free: 12.54 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.47e-05/0.6002, allocations: 47.52 kB / 406.2 MB, free: 12.48 MB / 318.1 MB Notification: Performance of pre-optimization done (n=115): time 4.319e-06/0.6002, allocations: 0 / 406.2 MB, free: 12.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=134): time 0.01832/0.6186, allocations: 7.749 MB / 414 MB, free: 4.648 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.6186, allocations: 64.72 kB / 414.1 MB, free: 4.57 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003495/0.6221, allocations: 1.865 MB / 415.9 MB, free: 2.707 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002059/0.6224, allocations: 45.7 kB / 416 MB, free: 2.656 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001005/0.6234, allocations: 1.237 MB / 417.2 MB, free: 1.406 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004848/0.6239, allocations: 468.8 kB / 417.7 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.258e-05/0.624, allocations: 32 kB / 417.7 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002495/0.6242, allocations: 373.9 kB / 418.1 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001476/0.6257, allocations: 0.8308 MB / 418.9 MB, free: 15.72 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001713/0.6274, allocations: 1.318 MB / 420.2 MB, free: 14.2 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001597/0.6291, allocations: 1.019 MB / 421.2 MB, free: 13.19 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.388e-06/0.6291, allocations: 8 kB / 421.2 MB, free: 13.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005094/0.6342, allocations: 2.828 MB / 424.1 MB, free: 10.42 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.296e-05/0.6342, allocations: 15.95 kB / 424.1 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.556e-05/0.6343, allocations: 12 kB / 424.1 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009899/0.6353, allocations: 422 kB / 424.5 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/0.6367, allocations: 411.9 kB / 424.9 MB, free: 9.598 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006188/0.6429, allocations: 5.309 MB / 430.2 MB, free: 4.055 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002343/0.6453, allocations: 135.8 kB / 430.3 MB, free: 3.922 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002482/0.6456, allocations: 71.98 kB / 430.4 MB, free: 3.852 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 182 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 12,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002505/0.6481, allocations: 0.7873 MB / 431.2 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007151/0.6488, allocations: 201.5 kB / 431.4 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004447/0.6532, allocations: 2.414 MB / 433.8 MB, free: 432 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.378e-05/0.6533, allocations: 16 kB / 433.8 MB, free: 416 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.6533, allocations: 4 kB / 433.8 MB, free: 412 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/0.6533, allocations: 3.984 kB / 433.8 MB, free: 408 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009845/0.6632, allocations: 5.316 MB / 439.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.274e-05/0.6632, allocations: 4 kB / 439.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.6642, allocations: 263.6 kB / 439.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001175/0.6654, allocations: 472.9 kB / 439.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.777e-05/0.6655, allocations: 31.98 kB / 439.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007294/0.6728, allocations: 6.73 MB / 446.6 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.6729, allocations: 4 kB / 446.6 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007184/0.6801, allocations: 3.618 MB / 450.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002102/0.6822, allocations: 453.1 kB / 450.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001117/0.6834, allocations: 32 kB / 450.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002509/0.6859, allocations: 115.9 kB / 450.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000467/0.6864, allocations: 112.7 kB / 451 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002088/0.6866, allocations: 43.98 kB / 451 MB, free: 14.6 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.004376/0.691, allocations: 1.279 MB / 452.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.02e-07/0.691, allocations: 3.938 kB / 452.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.004387/0.6954, allocations: 0.5391 MB / 452.8 MB, free: 12.79 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[2],smee.idq_dr[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 110 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 12,(1,100.0%) 6,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007577/0.6962, allocations: 184.1 kB / 453 MB, free: 12.6 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.007053/0.7033, allocations: 2.432 MB / 455.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.253e-05/0.7033, allocations: 4 kB / 455.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003993/0.7073, allocations: 1.527 MB / 457 MB, free: 8.551 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005322/0.7127, allocations: 432.5 kB / 457.4 MB, free: 8.137 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01688/0.7296, allocations: 6.126 MB / 463.5 MB, free: 1.926 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003204/0.7328, allocations: 1.987 MB / 465.5 MB, free: 15.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00117/0.734, allocations: 143.4 kB / 465.6 MB, free: 15.77 MB / 382.1 MB Notification: Performance of SimCode: time 1.232e-06/0.734, allocations: 0 / 465.6 MB, free: 15.77 MB / 382.1 MB Notification: Performance of Templates: time 0.1112/0.8452, allocations: 69.7 MB / 0.5228 GB, free: 10.15 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_GeneratorCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_GeneratorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_GeneratorCalcHelperMain.o] Error 1