Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 116 kB / 18.49 MB, free: 4.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 194.6 kB / 21.44 MB, free: 1.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 225.6 MB / 249.8 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 51.92 kB / 366.4 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09702/0.09858, allocations: 52.14 MB / 418.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01533/0.1139, allocations: 13.71 MB / 432.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008381/0.1223, allocations: 4.442 MB / 436.7 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002047/0.1243, allocations: 95.44 kB / 436.7 MB, free: 10.28 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002893/0.1272, allocations: 1.045 MB / 437.8 MB, free: 9.23 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004004/0.1312, allocations: 1.359 MB / 439.1 MB, free: 7.863 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002179/0.1334, allocations: 0.8787 MB / 440 MB, free: 6.988 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005199/0.1386, allocations: 4.09 MB / 444.1 MB, free: 2.883 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002934/0.1415, allocations: 2.246 MB / 446.4 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1956/0.3371, allocations: 1.935 MB / 448.3 MB, free: 9.977 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002634/0.3398, allocations: 2.115 MB / 450.4 MB, free: 9.711 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008041/0.3406, allocations: 0.5079 MB / 450.9 MB, free: 9.711 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001582/0.3422, allocations: 0.7119 MB / 451.6 MB, free: 9.711 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009788/0.3431, allocations: 1.118 MB / 452.8 MB, free: 9.578 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003019/0.3462, allocations: 2.14 MB / 454.9 MB, free: 9.055 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009278/0.3554, allocations: 6.731 MB / 461.6 MB, free: 8.324 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.3554, allocations: 3.562 kB / 461.6 MB, free: 8.324 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.3554, allocations: 0 / 461.6 MB, free: 8.324 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002058/0.3557, allocations: 0 / 461.6 MB, free: 8.324 MB / 366.1 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.01242/0.3681, allocations: 4.495 MB / 466.1 MB, free: 6.578 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.3681, allocations: 14.39 kB / 466.1 MB, free: 6.574 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.909e-05/0.3682, allocations: 83.39 kB / 466.2 MB, free: 6.566 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006141/0.3688, allocations: 456.6 kB / 466.7 MB, free: 6.305 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004309/0.3731, allocations: 0.8307 MB / 467.5 MB, free: 6.043 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004595/0.3777, allocations: 2.449 MB / 469.9 MB, free: 4.711 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001713/0.3779, allocations: 241.9 kB / 470.2 MB, free: 4.602 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006786/0.3786, allocations: 329.8 kB / 470.5 MB, free: 4.488 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007382/0.386, allocations: 4.265 MB / 474.8 MB, free: 2.102 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-05/0.386, allocations: 2.219 kB / 474.8 MB, free: 2.102 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003064/0.3863, allocations: 130.9 kB / 474.9 MB, free: 2 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001334/0.3865, allocations: 149.2 kB / 475 MB, free: 1.977 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005789/0.3923, allocations: 3.601 MB / 478.6 MB, free: 60 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02136/0.4136, allocations: 13.73 MB / 492.4 MB, free: 5.941 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006579/0.4202, allocations: 6.423 MB / 498.8 MB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002231/0.4224, allocations: 1.279 MB / 0.4884 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006529/0.429, allocations: 3.63 MB / 0.4919 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.416e-05/0.429, allocations: 55.62 kB / 0.492 GB, free: 11.44 MB / 398.1 MB Notification: Performance of pre-optimization done (n=134): time 3.727e-06/0.429, allocations: 1.828 kB / 0.492 GB, free: 11.44 MB / 398.1 MB Notification: Performance of matching and sorting (n=137): time 0.01272/0.4417, allocations: 5.896 MB / 0.4977 GB, free: 5.363 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.151e-05/0.4418, allocations: 68.72 kB / 0.4978 GB, free: 5.281 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003011/0.4448, allocations: 1.78 MB / 0.4995 GB, free: 3.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001646/0.445, allocations: 53.7 kB / 0.4996 GB, free: 3.441 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0012/0.4462, allocations: 1.48 MB / 0.501 GB, free: 1.953 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004308/0.4466, allocations: 0.4887 MB / 0.5015 GB, free: 1.469 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005055/0.4471, allocations: 315.4 kB / 0.5018 GB, free: 1.156 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.4472, allocations: 301.1 kB / 0.5021 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00112/0.4483, allocations: 0.6867 MB / 0.5027 GB, free: 180 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001527/0.4499, allocations: 1.2 MB / 0.5039 GB, free: 14.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002749/0.4526, allocations: 1.995 MB / 0.5059 GB, free: 12.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/0.4526, allocations: 4 kB / 0.5059 GB, free: 12.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004335/0.457, allocations: 2.543 MB / 0.5084 GB, free: 10.13 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.333e-05/0.457, allocations: 12 kB / 0.5084 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.329e-05/0.457, allocations: 16 kB / 0.5084 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/0.458, allocations: 363.3 kB / 0.5087 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/0.4594, allocations: 375 kB / 0.5091 GB, free: 9.398 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008304/0.4677, allocations: 8.418 MB / 0.5173 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/0.4694, allocations: 73.33 kB / 0.5174 GB, free: 432 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001877/0.4696, allocations: 83.98 kB / 0.5175 GB, free: 348 kB / 414.1 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.002032/0.4717, allocations: 0.9985 MB / 0.5184 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004571/0.4721, allocations: 202.7 kB / 0.5186 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004204/0.4763, allocations: 2.273 MB / 0.5208 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-05/0.4763, allocations: 16 kB / 0.5209 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.611e-05/0.4764, allocations: 11.98 kB / 0.5209 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/0.4764, allocations: 7.828 kB / 0.5209 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008397/0.4848, allocations: 5.06 MB / 0.5258 GB, free: 7.684 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/0.4848, allocations: 11.66 kB / 0.5258 GB, free: 7.676 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008112/0.4856, allocations: 170.7 kB / 0.526 GB, free: 7.516 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001446/0.487, allocations: 0.527 MB / 0.5265 GB, free: 6.977 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/0.4871, allocations: 39.98 kB / 0.5265 GB, free: 6.938 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01328/0.5004, allocations: 13.23 MB / 0.5395 GB, free: 8.969 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.5004, allocations: 4.031 kB / 0.5395 GB, free: 8.965 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005495/0.5059, allocations: 3.204 MB / 0.5426 GB, free: 5.707 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/0.507, allocations: 439.7 kB / 0.543 GB, free: 5.258 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002812/0.5073, allocations: 43.92 kB / 0.5431 GB, free: 5.215 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008715/0.5081, allocations: 55.95 kB / 0.5431 GB, free: 5.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002905/0.5084, allocations: 108.4 kB / 0.5432 GB, free: 5.055 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.374e-05/0.5085, allocations: 40 kB / 0.5433 GB, free: 5.016 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001865/0.5104, allocations: 1.219 MB / 0.5444 GB, free: 3.805 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5104, allocations: 0 / 0.5444 GB, free: 3.805 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002275/0.5127, allocations: 0.5859 MB / 0.545 GB, free: 3.219 MB / 446.1 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.00556/0.5182, allocations: 3.839 MB / 0.5488 GB, free: 15.33 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003743/0.522, allocations: 2.28 MB / 0.551 GB, free: 13.04 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.522, allocations: 0 / 0.551 GB, free: 13.04 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002587/0.5246, allocations: 1.691 MB / 0.5526 GB, free: 11.29 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002676/0.5272, allocations: 0.5399 MB / 0.5532 GB, free: 10.75 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03323/0.5605, allocations: 20.21 MB / 0.5729 GB, free: 5.949 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002308/0.5628, allocations: 2.315 MB / 0.5752 GB, free: 3.605 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001337/0.5641, allocations: 405 kB / 0.5756 GB, free: 3.207 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001552/0.5657, allocations: 1.128 MB / 0.5767 GB, free: 2.078 MB / 478.1 MB Notification: Performance of SimCode: time 6.21e-07/0.5657, allocations: 0 / 0.5767 GB, free: 2.078 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1157/0.6814, allocations: 53.89 MB / 0.6293 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.31/13.99, allocations: 7.156 kB / 0.6293 GB, free: 12.76 MB / 0.5294 GB " [Timeout remaining time 646] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz.fmu > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.442341511021368] 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'] 14.158764463034458 14.172862846 13.814473191 Calling exit ...