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.001783/0.001783, allocations: 121 kB / 18.5 MB, free: 4.562 MB / 14.72 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.002032/0.002032, allocations: 213.5 kB / 21.45 MB, free: 1.617 MB / 14.72 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 1.419/1.419, allocations: 230.6 MB / 254.8 MB, free: 15.08 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+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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 55.92 kB / 373.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09121/0.09268, allocations: 53.33 MB / 427 MB, free: 4.738 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.1922/0.2849, allocations: 14.32 MB / 441.4 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008164/0.293, allocations: 4.699 MB / 446.1 MB, free: 316 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002349/0.2954, allocations: 103 kB / 446.2 MB, free: 276 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002855/0.2982, allocations: 1.062 MB / 447.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004327/0.3026, allocations: 1.337 MB / 448.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002465/0.305, allocations: 0.9427 MB / 449.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00562/0.3106, allocations: 4.131 MB / 453.6 MB, free: 12.08 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00309/0.3137, allocations: 2.255 MB / 455.9 MB, free: 10.99 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003413/0.3171, allocations: 1.951 MB / 457.8 MB, free: 10.04 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004085/0.3212, allocations: 2.245 MB / 460.1 MB, free: 8.941 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001192/0.3224, allocations: 0.5078 MB / 460.6 MB, free: 8.941 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002364/0.3248, allocations: 0.7307 MB / 461.3 MB, free: 8.863 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001325/0.3261, allocations: 1.125 MB / 462.4 MB, free: 8.121 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003673/0.3298, allocations: 2.135 MB / 464.6 MB, free: 6.688 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01011/0.3399, allocations: 6.766 MB / 471.3 MB, free: 1.797 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.3399, allocations: 1.062 kB / 471.4 MB, free: 1.797 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3399, allocations: 0 / 471.4 MB, free: 1.797 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001861/0.3401, allocations: 4 kB / 471.4 MB, free: 1.793 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.01346/0.3535, allocations: 4.521 MB / 475.9 MB, free: 14.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.3536, allocations: 12.97 kB / 475.9 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001023/0.3537, allocations: 93.95 kB / 476 MB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008276/0.3545, allocations: 458 kB / 476.4 MB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004538/0.3591, allocations: 0.8303 MB / 477.3 MB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004943/0.364, allocations: 2.467 MB / 479.7 MB, free: 12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002096/0.3642, allocations: 246.4 kB / 480 MB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006161/0.3648, allocations: 320 kB / 480.3 MB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007489/0.3723, allocations: 4.274 MB / 484.6 MB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.958e-05/0.3724, allocations: 7.938 kB / 484.6 MB, free: 7.113 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003348/0.3727, allocations: 136 kB / 484.7 MB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001468/0.3729, allocations: 146.4 kB / 484.8 MB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006395/0.3793, allocations: 3.605 MB / 488.4 MB, free: 3.219 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02206/0.4013, allocations: 13.85 MB / 0.4905 GB, free: 4.996 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007001/0.4083, allocations: 6.521 MB / 0.4969 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002495/0.4108, allocations: 1.285 MB / 0.4981 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006761/0.4176, allocations: 3.894 MB / 0.5019 GB, free: 8.312 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.701e-05/0.4176, allocations: 51.88 kB / 0.502 GB, free: 8.254 MB / 414.1 MB Notification: Performance of pre-optimization done (n=134): time 3.146e-06/0.4176, allocations: 0 / 0.502 GB, free: 8.254 MB / 414.1 MB Notification: Performance of matching and sorting (n=137): time 0.0128/0.4304, allocations: 5.919 MB / 0.5078 GB, free: 2.125 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.4305, allocations: 68.72 kB / 0.5078 GB, free: 2.047 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003/0.4335, allocations: 1.805 MB / 0.5096 GB, free: 248 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001519/0.4336, allocations: 49.7 kB / 0.5097 GB, free: 192 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001164/0.4348, allocations: 1.482 MB / 0.5111 GB, free: 14.69 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004549/0.4353, allocations: 0.4958 MB / 0.5116 GB, free: 14.19 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005063/0.4358, allocations: 323.4 kB / 0.5119 GB, free: 13.87 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.4359, allocations: 305.1 kB / 0.5122 GB, free: 13.57 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001142/0.437, allocations: 0.6793 MB / 0.5128 GB, free: 12.89 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001532/0.4386, allocations: 1.201 MB / 0.514 GB, free: 11.46 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002827/0.4414, allocations: 2.003 MB / 0.516 GB, free: 9.242 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.318e-05/0.4414, allocations: 8 kB / 0.516 GB, free: 9.234 MB / 430.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.00452/0.4459, allocations: 2.548 MB / 0.5185 GB, free: 6.645 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/0.4459, allocations: 12.62 kB / 0.5185 GB, free: 6.633 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.363e-05/0.446, allocations: 16 kB / 0.5185 GB, free: 6.617 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000994/0.447, allocations: 364.3 kB / 0.5188 GB, free: 6.246 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/0.4484, allocations: 375.4 kB / 0.5192 GB, free: 5.879 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008304/0.4567, allocations: 8.412 MB / 0.5274 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001633/0.4583, allocations: 71.97 kB / 0.5275 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001874/0.4585, allocations: 75.97 kB / 0.5276 GB, free: 12.77 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.001889/0.4604, allocations: 1.009 MB / 0.5285 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004594/0.4608, allocations: 210.6 kB / 0.5287 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004225/0.465, allocations: 2.278 MB / 0.531 GB, free: 9.195 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/0.4651, allocations: 16 kB / 0.531 GB, free: 9.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.335e-05/0.4651, allocations: 8 kB / 0.531 GB, free: 9.172 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.571e-05/0.4651, allocations: 7.969 kB / 0.531 GB, free: 9.164 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008336/0.4734, allocations: 5.068 MB / 0.5359 GB, free: 3.961 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.4734, allocations: 8 kB / 0.536 GB, free: 3.953 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008022/0.4742, allocations: 171.8 kB / 0.5361 GB, free: 3.785 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001456/0.4757, allocations: 0.5396 MB / 0.5366 GB, free: 3.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001072/0.4758, allocations: 39.92 kB / 0.5367 GB, free: 3.191 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01338/0.4892, allocations: 13.25 MB / 0.5496 GB, free: 5.105 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.4892, allocations: 0 / 0.5496 GB, free: 5.105 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005526/0.4947, allocations: 3.211 MB / 0.5528 GB, free: 1.805 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/0.4957, allocations: 443.6 kB / 0.5532 GB, free: 1.352 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002803/0.496, allocations: 28 kB / 0.5532 GB, free: 1.324 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009066/0.4969, allocations: 71.94 kB / 0.5533 GB, free: 1.254 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003037/0.4972, allocations: 101.2 kB / 0.5534 GB, free: 1.156 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.944e-05/0.4973, allocations: 43.98 kB / 0.5534 GB, free: 1.113 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001949/0.4993, allocations: 1.232 MB / 0.5546 GB, free: 15.89 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4993, allocations: 480 / 0.5546 GB, free: 15.89 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002295/0.5016, allocations: 0.5859 MB / 0.5552 GB, free: 15.3 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.005847/0.5074, allocations: 3.849 MB / 0.5589 GB, free: 11.35 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003819/0.5112, allocations: 2.279 MB / 0.5612 GB, free: 9 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.5112, allocations: 0 / 0.5612 GB, free: 9 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002656/0.5139, allocations: 1.683 MB / 0.5628 GB, free: 7.242 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003016/0.5169, allocations: 0.5493 MB / 0.5634 GB, free: 6.703 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03268/0.5496, allocations: 20.25 MB / 0.5831 GB, free: 1.723 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002388/0.552, allocations: 2.315 MB / 0.5854 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00135/0.5533, allocations: 401.2 kB / 0.5858 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00159/0.5549, allocations: 1.148 MB / 0.5869 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of SimCode: time 9.81e-07/0.5549, allocations: 0 / 0.5869 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3007/0.8556, allocations: 54.32 MB / 0.6399 GB, free: 166.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.57/14.43, allocations: 6.359 kB / 0.6399 GB, free: 166.5 MB / 0.5137 GB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat --tempDir=temp_Modelica_4_1_0_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_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: 16.900627756025642] 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.603242654004134 14.623212939 14.279525522 Calling exit ...