Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001555/0.001555, allocations: 118.6 kB / 18.5 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001849/0.001849, allocations: 214.6 kB / 21.46 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.512/1.512, allocations: 230.4 MB / 254.7 MB, free: 14.86 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_4_1_0-beta_om_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-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 67.83 kB / 373.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1116, allocations: 53.31 MB / 426.9 MB, free: 4.824 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.2319/0.3435, allocations: 14.34 MB / 441.2 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009552/0.3531, allocations: 4.695 MB / 445.9 MB, free: 416 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003746/0.3568, allocations: 87.12 kB / 446 MB, free: 392 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004114/0.3609, allocations: 1.054 MB / 447.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006135/0.367, allocations: 1.335 MB / 448.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003558/0.3706, allocations: 0.9413 MB / 449.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007783/0.3784, allocations: 4.13 MB / 453.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005372/0.3838, allocations: 2.253 MB / 455.7 MB, free: 11.12 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004229/0.388, allocations: 1.92 MB / 457.7 MB, free: 10.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005837/0.3938, allocations: 2.239 MB / 459.9 MB, free: 9.07 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002197/0.396, allocations: 0.5085 MB / 460.4 MB, free: 9.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003993/0.4, allocations: 0.7323 MB / 461.1 MB, free: 8.988 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002859/0.4029, allocations: 1.126 MB / 462.3 MB, free: 8.246 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005982/0.4089, allocations: 2.143 MB / 464.4 MB, free: 6.805 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01376/0.4226, allocations: 6.768 MB / 471.2 MB, free: 1.918 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.577e-06/0.4226, allocations: 0 / 471.2 MB, free: 1.918 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.4226, allocations: 0 / 471.2 MB, free: 1.918 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002626/0.4229, allocations: 0 / 471.2 MB, free: 1.918 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.01811/0.441, allocations: 4.521 MB / 475.7 MB, free: 14.83 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.031e-05/0.4411, allocations: 10 kB / 475.7 MB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002072/0.4431, allocations: 463.6 kB / 476.2 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005754/0.4489, allocations: 0.823 MB / 477 MB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007943/0.4568, allocations: 2.466 MB / 479.4 MB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004026/0.4572, allocations: 244 kB / 479.7 MB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001515/0.4587, allocations: 327.9 kB / 480 MB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01357/0.4723, allocations: 4.267 MB / 484.3 MB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001918/0.4725, allocations: 11.95 kB / 484.3 MB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001198/0.4737, allocations: 135.9 kB / 484.4 MB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002198/0.4739, allocations: 146.4 kB / 484.6 MB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009806/0.4837, allocations: 3.609 MB / 488.2 MB, free: 3.543 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03045/0.5142, allocations: 13.84 MB / 0.4902 GB, free: 5.332 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00831/0.5225, allocations: 6.516 MB / 0.4966 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002921/0.5254, allocations: 1.296 MB / 0.4979 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008687/0.5341, allocations: 3.894 MB / 0.5017 GB, free: 8.645 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.52e-05/0.5342, allocations: 52.92 kB / 0.5017 GB, free: 8.586 MB / 414.1 MB Notification: Performance of pre-optimization done (n=134): time 3.466e-06/0.5342, allocations: 0 / 0.5017 GB, free: 8.586 MB / 414.1 MB Notification: Performance of matching and sorting (n=137): time 0.01333/0.5475, allocations: 5.915 MB / 0.5075 GB, free: 2.461 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/0.5475, allocations: 68.7 kB / 0.5076 GB, free: 2.383 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003836/0.5514, allocations: 1.809 MB / 0.5093 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002007/0.5516, allocations: 49.7 kB / 0.5094 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00139/0.553, allocations: 1.49 MB / 0.5108 GB, free: 15.02 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005743/0.5535, allocations: 0.4919 MB / 0.5113 GB, free: 14.52 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006518/0.5542, allocations: 323.4 kB / 0.5116 GB, free: 14.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.5544, allocations: 301.1 kB / 0.5119 GB, free: 13.9 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001292/0.5556, allocations: 0.6832 MB / 0.5126 GB, free: 13.22 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001812/0.5575, allocations: 1.197 MB / 0.5138 GB, free: 11.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003363/0.5608, allocations: 2.01 MB / 0.5157 GB, free: 9.566 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-05/0.5608, allocations: 4 kB / 0.5157 GB, free: 9.562 MB / 430.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004877/0.5657, allocations: 2.54 MB / 0.5182 GB, free: 6.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.592e-05/0.5657, allocations: 16.61 kB / 0.5182 GB, free: 6.965 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.901e-05/0.5658, allocations: 16 kB / 0.5182 GB, free: 6.949 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/0.5669, allocations: 364.3 kB / 0.5186 GB, free: 6.578 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/0.5683, allocations: 380.2 kB / 0.5189 GB, free: 6.207 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009781/0.5781, allocations: 8.408 MB / 0.5271 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001815/0.5799, allocations: 71.97 kB / 0.5272 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003215/0.5802, allocations: 79.98 kB / 0.5273 GB, free: 13.1 MB / 446.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.00224/0.5824, allocations: 1.001 MB / 0.5283 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005799/0.583, allocations: 210.6 kB / 0.5285 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004546/0.5876, allocations: 2.274 MB / 0.5307 GB, free: 9.531 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-05/0.5876, allocations: 20 kB / 0.5307 GB, free: 9.512 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.894e-05/0.5876, allocations: 15.92 kB / 0.5307 GB, free: 9.496 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-05/0.5876, allocations: 7.969 kB / 0.5307 GB, free: 9.488 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01022/0.5979, allocations: 5.064 MB / 0.5357 GB, free: 4.289 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.796e-06/0.5979, allocations: 3.984 kB / 0.5357 GB, free: 4.285 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008288/0.5987, allocations: 176 kB / 0.5359 GB, free: 4.113 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001546/0.6002, allocations: 0.5358 MB / 0.5364 GB, free: 3.559 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001184/0.6004, allocations: 35.98 kB / 0.5364 GB, free: 3.523 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01498/0.6153, allocations: 13.25 MB / 0.5494 GB, free: 5.434 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.6153, allocations: 8.125 kB / 0.5494 GB, free: 5.426 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006078/0.6214, allocations: 3.219 MB / 0.5525 GB, free: 2.117 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001538/0.623, allocations: 431.7 kB / 0.5529 GB, free: 1.676 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007173/0.6237, allocations: 39.92 kB / 0.553 GB, free: 1.637 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/0.625, allocations: 67.95 kB / 0.553 GB, free: 1.57 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003608/0.6254, allocations: 101.2 kB / 0.5531 GB, free: 1.473 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/0.6255, allocations: 47.92 kB / 0.5532 GB, free: 1.426 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002538/0.628, allocations: 1.232 MB / 0.5544 GB, free: 208 kB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.628, allocations: 0 / 0.5544 GB, free: 208 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.003424/0.6315, allocations: 0.586 MB / 0.5549 GB, free: 15.61 MB / 478.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.006799/0.6383, allocations: 3.832 MB / 0.5587 GB, free: 11.68 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004362/0.6426, allocations: 2.284 MB / 0.5609 GB, free: 9.328 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.6426, allocations: 320 / 0.5609 GB, free: 9.328 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002804/0.6454, allocations: 1.682 MB / 0.5626 GB, free: 7.57 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003433/0.6489, allocations: 0.5413 MB / 0.5631 GB, free: 7.039 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03917/0.688, allocations: 20.25 MB / 0.5829 GB, free: 2.059 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002569/0.6906, allocations: 2.315 MB / 0.5851 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001432/0.692, allocations: 409.1 kB / 0.5855 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00159/0.6936, allocations: 1.138 MB / 0.5866 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of SimCode: time 8.11e-07/0.6936, allocations: 0 / 0.5866 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3141/1.008, allocations: 54.3 MB / 0.6396 GB, free: 165.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.57/14.58, allocations: 10.39 kB / 0.6397 GB, free: 165.3 MB / 0.5137 GB " [Timeout remaining time 645] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.118597155902535] 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.698849847074598 14.712616062 14.28700712 Calling exit ...