Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009019/0.0009019, allocations: 83.69 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000939/0.000939, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9088/0.9088, allocations: 177.1 MB / 204.3 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.726e-05/1.873e-05, allocations: 2.281 kB / 324.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.009273/0.009291, allocations: 12.51 MB / 337.1 MB, free: 3.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006041/0.01533, allocations: 4.458 MB / 341.6 MB, free: 14.86 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001058/0.01639, allocations: 103.4 kB / 341.7 MB, free: 14.76 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001674/0.01806, allocations: 1.013 MB / 342.7 MB, free: 13.74 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002022/0.02009, allocations: 1.358 MB / 344 MB, free: 12.38 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.02125, allocations: 0.9267 MB / 345 MB, free: 11.45 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002738/0.02399, allocations: 4.332 MB / 349.3 MB, free: 7.098 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001523/0.02551, allocations: 1.742 MB / 351 MB, free: 5.289 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002074/0.02758, allocations: 2.87 MB / 353.9 MB, free: 2.414 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001411/0.02899, allocations: 1.757 MB / 355.7 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004005/0.02939, allocations: 0.5078 MB / 356.2 MB, free: 148 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007285/0.03012, allocations: 0.7183 MB / 356.9 MB, free: 15.43 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000574/0.0307, allocations: 1.149 MB / 358 MB, free: 14.27 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009752/0.03167, allocations: 1.45 MB / 359.5 MB, free: 12.82 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003924/0.0356, allocations: 6.813 MB / 366.3 MB, free: 5.988 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.0356, allocations: 4 kB / 366.3 MB, free: 5.984 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.0356, allocations: 0 / 366.3 MB, free: 5.984 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.561e-05/0.03565, allocations: 3.938 kB / 366.3 MB, free: 5.98 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.005632/0.04128, allocations: 4.4 MB / 370.7 MB, free: 1.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.04132, allocations: 12.03 kB / 370.7 MB, free: 1.508 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004095/0.04173, allocations: 455.8 kB / 371.2 MB, free: 1.051 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002171/0.0439, allocations: 0.8261 MB / 372 MB, free: 228 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002597/0.0465, allocations: 2.388 MB / 374.4 MB, free: 13.78 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/0.04662, allocations: 238.8 kB / 374.6 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003306/0.04695, allocations: 324.3 kB / 374.9 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004515/0.05146, allocations: 4.433 MB / 379.4 MB, free: 8.707 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.878e-05/0.05151, allocations: 3.953 kB / 379.4 MB, free: 8.703 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002075/0.05172, allocations: 128 kB / 379.5 MB, free: 8.578 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.689e-05/0.05182, allocations: 150.4 kB / 379.6 MB, free: 8.43 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003932/0.05575, allocations: 3.597 MB / 383.2 MB, free: 4.824 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01402/0.06977, allocations: 12.31 MB / 395.5 MB, free: 8.152 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004718/0.07448, allocations: 2.59 MB / 398.1 MB, free: 5.672 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002219/0.0767, allocations: 1.288 MB / 399.4 MB, free: 4.383 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005539/0.08224, allocations: 3.091 MB / 402.5 MB, free: 1.262 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003016/0.08254, allocations: 55.8 kB / 402.6 MB, free: 1.199 MB / 362.7 MB Notification: Performance of pre-optimization done (n=134): time 4.058e-06/0.08255, allocations: 0 / 402.6 MB, free: 1.199 MB / 362.7 MB Notification: Performance of matching and sorting (n=137): time 0.01045/0.093, allocations: 5.237 MB / 407.8 MB, free: 11.92 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.09304, allocations: 68.66 kB / 407.9 MB, free: 11.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001816/0.09486, allocations: 1.836 MB / 409.7 MB, free: 10 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.313e-05/0.09492, allocations: 45.7 kB / 409.8 MB, free: 9.953 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009411/0.09586, allocations: 1.482 MB / 411.2 MB, free: 8.457 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002436/0.09611, allocations: 499.7 kB / 411.7 MB, free: 7.965 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003209/0.09643, allocations: 323.4 kB / 412 MB, free: 7.645 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.202e-05/0.0965, allocations: 301.1 kB / 412.3 MB, free: 7.348 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000737/0.09724, allocations: 0.6793 MB / 413 MB, free: 6.668 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009382/0.09818, allocations: 1.222 MB / 414.2 MB, free: 5.211 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001742/0.09992, allocations: 2.006 MB / 416.2 MB, free: 2.984 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.09992, allocations: 8 kB / 416.3 MB, free: 2.977 MB / 378.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.002677/0.1026, allocations: 2.468 MB / 418.7 MB, free: 496 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.1026, allocations: 12 kB / 418.7 MB, free: 484 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/0.1026, allocations: 16 kB / 418.7 MB, free: 468 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005493/0.1032, allocations: 372.3 kB / 419.1 MB, free: 80 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007174/0.1039, allocations: 379.4 kB / 419.5 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004772/0.1087, allocations: 7.896 MB / 427.4 MB, free: 7.359 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005345/0.1092, allocations: 84.06 kB / 427.5 MB, free: 7.277 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-05/0.1093, allocations: 76 kB / 427.5 MB, free: 7.203 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {(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 {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000987/0.1103, allocations: 1.005 MB / 428.5 MB, free: 6.188 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001646/0.1104, allocations: 206.7 kB / 428.7 MB, free: 5.984 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002492/0.1129, allocations: 2.127 MB / 430.9 MB, free: 3.824 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.1129, allocations: 16 kB / 430.9 MB, free: 3.809 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.113, allocations: 8 kB / 430.9 MB, free: 3.801 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.113, allocations: 7.969 kB / 430.9 MB, free: 3.793 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004918/0.1179, allocations: 4.605 MB / 435.5 MB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.1179, allocations: 4 kB / 435.5 MB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004077/0.1183, allocations: 176 kB / 435.7 MB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007796/0.1191, allocations: 0.5357 MB / 436.2 MB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.469e-05/0.1191, allocations: 35.98 kB / 436.3 MB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007809/0.1269, allocations: 12.49 MB / 448.7 MB, free: 1.152 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.1269, allocations: 4.031 kB / 448.8 MB, free: 1.148 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1409/0.2678, allocations: 3.053 MB / 451.8 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008068/0.2686, allocations: 371 kB / 452.2 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001707/0.2688, allocations: 36.73 kB / 452.2 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004824/0.2693, allocations: 60.75 kB / 452.3 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002315/0.2695, allocations: 116.2 kB / 452.4 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.672e-05/0.2696, allocations: 38.27 kB / 452.4 MB, free: 110.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001198/0.2708, allocations: 1.238 MB / 453.7 MB, free: 110.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2708, allocations: 2.906 kB / 453.7 MB, free: 110.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001336/0.2721, allocations: 0.5796 MB / 454.2 MB, free: 110.4 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 80 * Array equations: 0 * 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 {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002873/0.275, allocations: 3.676 MB / 457.9 MB, free: 108.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001797/0.2768, allocations: 2.215 MB / 460.1 MB, free: 107.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2768, allocations: 1 kB / 460.1 MB, free: 107.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001104/0.2779, allocations: 1.672 MB / 461.8 MB, free: 106.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/0.2791, allocations: 0.5597 MB / 462.4 MB, free: 106.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02061/0.2997, allocations: 20.02 MB / 482.4 MB, free: 87.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00106/0.3007, allocations: 1.753 MB / 484.1 MB, free: 86.14 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007018/0.3014, allocations: 409.1 kB / 484.5 MB, free: 85.74 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007779/0.3022, allocations: 1.141 MB / 485.7 MB, free: 84.6 MB / 410.7 MB Notification: Performance of SimCode: time 1.343e-06/0.3022, allocations: 4 kB / 485.7 MB, free: 84.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06083/0.363, allocations: 57.66 MB / 0.5306 GB, free: 27.54 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.351/8.714, allocations: 19.86 kB / 0.5306 GB, free: 27.52 MB / 410.7 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz.fmu > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.669202118180692] Failed to read output from testmodel.py, exit status != 0: ['time', 'aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', '// aimc.stator.zeroInductor.i0', 'aimc.is[1]', 'aimc.is[2]', 'cRun.v', 'cStart.v', 'loadInertia.phi', 'loadInertia.w'] 8.832178856246173 8.840980594 8.804005462 Calling exit ...