Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeedE.phi|constantSpeedM.phi|smeeE.is.1.|smeeE.is.2.|smeeE.idq_dr.1.|smeeE.idq_rr.2.|smeeE.idq_sr.1.|smeeE.idq_sr.2.|smeeM.is.1.|smeeM.is.2.|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smeeM.stator.strayReluctance.port_p.Phi.im|smeeM.stator.strayReluctance.port_p.Phi.re",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeedE.phi|constantSpeedM.phi|smeeE.is.1.|smeeE.is.2.|smeeE.idq_dr.1.|smeeE.idq_rr.2.|smeeE.idq_sr.1.|smeeE.idq_sr.2.|smeeM.is.1.|smeeM.is.2.|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smeeM.stator.strayReluctance.port_p.Phi.im|smeeM.stator.strayReluctance.port_p.Phi.re",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 99.09 kB / 17.96 MB, free: 5.77 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.001766/0.001766, allocations: 180.3 kB / 18.86 MB, free: 4.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.269/2.269, allocations: 205.4 MB / 225 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006314/0.0006316, allocations: 12 kB / 282 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1652, allocations: 47.58 MB / 329.6 MB, free: 3.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator): time 0.03098/0.1963, allocations: 22.78 MB / 352.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02245/0.2188, allocations: 6.974 MB / 359.4 MB, free: 5.891 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008949/0.2278, allocations: 119.5 kB / 359.5 MB, free: 5.773 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007114/0.235, allocations: 1.344 MB / 360.8 MB, free: 4.418 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01364/0.2487, allocations: 2.044 MB / 362.9 MB, free: 2.363 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006969/0.2557, allocations: 1.322 MB / 364.2 MB, free: 1.039 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01907/0.2748, allocations: 7.765 MB / 372 MB, free: 9.242 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01513/0.29, allocations: 4.515 MB / 376.5 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008245/0.2983, allocations: 2.318 MB / 378.8 MB, free: 2.32 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.302/0.6004, allocations: 3.153 MB / 382 MB, free: 16.54 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003528/0.604, allocations: 367.1 kB / 382.3 MB, free: 16.54 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005024/0.6091, allocations: 0.8034 MB / 383.1 MB, free: 16.54 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003531/0.6126, allocations: 1.517 MB / 384.6 MB, free: 16.54 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01042/0.6231, allocations: 3.127 MB / 387.8 MB, free: 16.31 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01552/0.6386, allocations: 9.281 MB / 397 MB, free: 13.91 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.6387, allocations: 0 / 397 MB, free: 13.91 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.627e-06/0.6387, allocations: 0 / 397 MB, free: 13.91 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.00059/0.6393, allocations: 0 / 397 MB, free: 13.91 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1496 * Number of variables: 1496 Notification: Performance of Generate backend data structure: time 0.02709/0.6664, allocations: 6.241 MB / 403.3 MB, free: 10.47 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.615e-05/0.6665, allocations: 12.09 kB / 403.3 MB, free: 10.47 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009196/0.6757, allocations: 1.232 MB / 404.5 MB, free: 9.957 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01056/0.6863, allocations: 3.694 MB / 408.2 MB, free: 8.633 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005642/0.6869, allocations: 437 kB / 408.6 MB, free: 8.617 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003317/0.6902, allocations: 0.5514 MB / 409.2 MB, free: 8.613 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02747/0.7177, allocations: 7.316 MB / 416.5 MB, free: 5.914 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00024/0.718, allocations: 18.17 kB / 416.5 MB, free: 5.906 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001513/0.7195, allocations: 234.4 kB / 416.8 MB, free: 5.73 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003337/0.7199, allocations: 262.7 kB / 417 MB, free: 5.691 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01507/0.7349, allocations: 6.177 MB / 423.2 MB, free: 1.82 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06151/0.7965, allocations: 23.94 MB / 447.1 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01134/0.808, allocations: 8.772 MB / 455.9 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005355/0.8134, allocations: 2.409 MB / 458.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01811/0.8316, allocations: 7.043 MB / 465.4 MB, free: 6.484 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.873e-05/0.8317, allocations: 56.56 kB / 465.4 MB, free: 6.422 MB / 366.1 MB Notification: Performance of pre-optimization done (n=238): time 5.4e-06/0.8317, allocations: 0 / 465.4 MB, free: 6.422 MB / 366.1 MB Notification: Performance of matching and sorting (n=282): time 0.0466/0.8783, allocations: 14.56 MB / 480 MB, free: 7.723 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.652e-05/0.8785, allocations: 77.59 kB / 480 MB, free: 7.633 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01061/0.8891, allocations: 3.49 MB / 483.5 MB, free: 4.156 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001114/0.8903, allocations: 74.27 kB / 483.6 MB, free: 4.078 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003748/0.8941, allocations: 2.681 MB / 486.3 MB, free: 1.379 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002293/0.8964, allocations: 0.9697 MB / 487.3 MB, free: 428 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007706/0.8972, allocations: 289 kB / 487.5 MB, free: 136 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002112/0.8974, allocations: 301.1 kB / 487.8 MB, free: 15.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003867/0.9013, allocations: 1.592 MB / 489.4 MB, free: 14.24 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004945/0.9063, allocations: 2.813 MB / 492.2 MB, free: 10.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009725/0.916, allocations: 4.688 MB / 496.9 MB, free: 5.812 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.822e-05/0.9162, allocations: 12 kB / 496.9 MB, free: 5.801 MB / 398.1 MB Notification: Performance of matching and sorting (n=471) (initialization): time 0.01579/0.932, allocations: 5.581 MB / 0.4907 GB, free: 376 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.917e-05/0.9321, allocations: 31.89 kB / 0.4908 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-05/0.9322, allocations: 40 kB / 0.4908 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002058/0.9343, allocations: 0.6785 MB / 0.4915 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004508/0.9388, allocations: 0.8803 MB / 0.4923 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01483/0.9537, allocations: 9.611 MB / 0.5017 GB, free: 4.695 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00633/0.9601, allocations: 243.7 kB / 0.502 GB, free: 4.457 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001286/0.9615, allocations: 164 kB / 0.5021 GB, free: 4.297 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * 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 (429): * Single equations (assignments): 419 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,12,100.0%), (1,3,100.0%), (2,13,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006698/0.9682, allocations: 1.623 MB / 0.5037 GB, free: 2.719 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001967/0.9702, allocations: 387.3 kB / 0.5041 GB, free: 2.336 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01127/0.9815, allocations: 4.621 MB / 0.5086 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.588e-05/0.9817, allocations: 32 kB / 0.5086 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-05/0.9817, allocations: 8 kB / 0.5086 GB, free: 13.58 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.646e-05/0.9818, allocations: 15.94 kB / 0.5086 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02952/1.011, allocations: 10.09 MB / 0.5185 GB, free: 3.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.426e-05/1.011, allocations: 8 kB / 0.5185 GB, free: 3.332 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002665/1.014, allocations: 0.5183 MB / 0.519 GB, free: 2.836 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002568/1.017, allocations: 0.7506 MB / 0.5197 GB, free: 2.07 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006143/1.017, allocations: 75.91 kB / 0.5198 GB, free: 1.996 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01671/1.034, allocations: 13.06 MB / 0.5326 GB, free: 4.199 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.456e-05/1.034, allocations: 9.406 kB / 0.5326 GB, free: 4.191 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3969/1.431, allocations: 6.757 MB / 0.5392 GB, free: 154.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003912/1.435, allocations: 0.7824 MB / 0.5399 GB, free: 154.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002033/1.437, allocations: 65.11 kB / 0.54 GB, free: 154.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004481/1.442, allocations: 198 kB / 0.5402 GB, free: 154.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001131/1.443, allocations: 206.4 kB / 0.5404 GB, free: 154.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004123/1.443, allocations: 84.02 kB / 0.5405 GB, free: 154.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.01014/1.453, allocations: 2.357 MB / 0.5428 GB, free: 154.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.262e-06/1.453, allocations: 0.5625 kB / 0.5428 GB, free: 154.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01054/1.464, allocations: 1.115 MB / 0.5438 GB, free: 154.2 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 10 (smeeM.phiMechanical,smeeM.stator.core.Phi.re,smeeM.stator.core.Phi.im,smeeM.stator.strayReluctance.Phi.re,smeeM.stator.strayReluctance.Phi.im,smeeE.phiMechanical,smeeE.idq_sr[1],smeeE.idq_sr[2],smeeE.idq_rr[2],smeeE.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 (238): * Single equations (assignments): 228 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(2,13,100.0%), (1,5,100.0%), (1,8,100.0%), (3,12,100.0%), (1,3,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001809/1.466, allocations: 276.1 kB / 0.5441 GB, free: 154.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01283/1.479, allocations: 4.776 MB / 0.5488 GB, free: 152.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.027e-05/1.479, allocations: 0 / 0.5488 GB, free: 152.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007335/1.486, allocations: 2.898 MB / 0.5516 GB, free: 151.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01507/1.501, allocations: 0.8605 MB / 0.5524 GB, free: 150.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03949/1.541, allocations: 13.16 MB / 0.5653 GB, free: 143.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007046/1.548, allocations: 3.419 MB / 0.5686 GB, free: 142.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002304/1.55, allocations: 290.1 kB / 0.5689 GB, free: 142 MB / 446.1 MB Notification: Performance of SimCode: time 2.194e-06/1.55, allocations: 0 / 0.5689 GB, free: 142 MB / 446.1 MB Notification: Performance of Templates: time 0.7029/2.253, allocations: 238.7 MB / 0.802 GB, free: 58.64 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_GeneratorCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_GeneratorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_GeneratorCalcHelperMain.o] Error 1