Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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.001786/0.001786, allocations: 112.1 kB / 18.49 MB, free: 4.539 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.002283/0.002283, allocations: 219 kB / 21.46 MB, free: 1.586 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.397/1.397, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 47.92 kB / 373.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09647/0.0979, allocations: 53.32 MB / 427 MB, free: 4.742 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.2049/0.3028, allocations: 33.64 MB / 460.7 MB, free: 5.719 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02176/0.3245, allocations: 9.273 MB / 470 MB, free: 15.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006832/0.3314, allocations: 289.5 kB / 470.2 MB, free: 14.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01879/0.3501, allocations: 8.076 MB / 478.3 MB, free: 9.332 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01404/0.3642, allocations: 3.743 MB / 482.1 MB, free: 6.324 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007498/0.3717, allocations: 2.147 MB / 484.2 MB, free: 4.582 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01848/0.3902, allocations: 13.15 MB / 497.4 MB, free: 10.58 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0262/0.4164, allocations: 16.89 MB / 0.5022 GB, free: 9.535 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01108/0.4274, allocations: 6.701 MB / 0.5087 GB, free: 2.816 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01437/0.4418, allocations: 7.468 MB / 0.516 GB, free: 11.32 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0054/0.4472, allocations: 1.883 MB / 0.5179 GB, free: 9.441 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006738/0.4539, allocations: 2.269 MB / 0.5201 GB, free: 7.172 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004833/0.4588, allocations: 3.76 MB / 0.5238 GB, free: 3.402 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.011/0.4698, allocations: 7.109 MB / 0.5307 GB, free: 12.27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03214/0.5019, allocations: 25.1 MB / 0.5552 GB, free: 3.086 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.377e-06/0.5019, allocations: 11.94 kB / 0.5552 GB, free: 3.074 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5019, allocations: 0 / 0.5552 GB, free: 3.074 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0007929/0.5027, allocations: 0 / 0.5552 GB, free: 3.074 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2952 * Number of variables: 2952 Notification: Performance of Generate backend data structure: time 0.04288/0.5456, allocations: 14.89 MB / 0.5698 GB, free: 4.051 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.5456, allocations: 12.03 kB / 0.5698 GB, free: 4.039 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002977/0.5459, allocations: 289.9 kB / 0.57 GB, free: 3.754 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004205/0.5501, allocations: 1.51 MB / 0.5715 GB, free: 2.23 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03804/0.5882, allocations: 6.805 MB / 0.5782 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01792/0.6061, allocations: 8.161 MB / 0.5861 GB, free: 3.172 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007383/0.6068, allocations: 0.7868 MB / 0.5869 GB, free: 2.383 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003504/0.6103, allocations: 1.051 MB / 0.5879 GB, free: 1.332 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04061/0.651, allocations: 17.26 MB / 0.6048 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005935/0.6515, allocations: 15.89 kB / 0.6048 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004044/0.6556, allocations: 444 kB / 0.6052 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008068/0.6564, allocations: 0.6274 MB / 0.6058 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3942/1.051, allocations: 16.34 MB / 0.6218 GB, free: 144.7 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08407/1.135, allocations: 56.47 MB / 0.677 GB, free: 109.5 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02035/1.155, allocations: 30.92 MB / 0.7071 GB, free: 79.75 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005406/1.16, allocations: 3.975 MB / 0.711 GB, free: 77.69 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01682/1.177, allocations: 10.77 MB / 0.7215 GB, free: 68.73 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/1.177, allocations: 81.75 kB / 0.7216 GB, free: 68.64 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=398): time 5.53e-06/1.177, allocations: 3.844 kB / 0.7216 GB, free: 68.64 MB / 0.5138 GB Notification: Performance of matching and sorting (n=423): time 0.03859/1.216, allocations: 21.8 MB / 0.7429 GB, free: 46.93 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/1.216, allocations: 120.7 kB / 0.743 GB, free: 46.8 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005066/1.221, allocations: 4.715 MB / 0.7476 GB, free: 42.12 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0004746/1.221, allocations: 93.7 kB / 0.7477 GB, free: 42.02 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.001769/1.223, allocations: 4.83 MB / 0.7524 GB, free: 37.28 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009638/1.224, allocations: 1.513 MB / 0.7539 GB, free: 35.79 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001368/1.226, allocations: 1.148 MB / 0.755 GB, free: 34.62 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 3.536e-05/1.226, allocations: 301.1 kB / 0.7553 GB, free: 34.33 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003272/1.229, allocations: 2.92 MB / 0.7582 GB, free: 31.4 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003909/1.233, allocations: 4.945 MB / 0.763 GB, free: 25.53 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00776/1.241, allocations: 8.365 MB / 0.7712 GB, free: 16.22 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.361e-05/1.241, allocations: 19.94 kB / 0.7712 GB, free: 16.2 MB / 0.5138 GB Notification: Performance of matching and sorting (n=764) (initialization): time 0.01387/1.254, allocations: 9.738 MB / 0.7807 GB, free: 6.41 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 4.905e-05/1.254, allocations: 32 kB / 0.7807 GB, free: 6.379 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.016e-05/1.255, allocations: 64 kB / 0.7808 GB, free: 6.316 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00393/1.258, allocations: 1.658 MB / 0.7824 GB, free: 4.652 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004956/1.263, allocations: 1.318 MB / 0.7837 GB, free: 3.332 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02391/1.287, allocations: 17.78 MB / 0.8011 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00461/1.292, allocations: 323.7 kB / 0.8014 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007853/1.293, allocations: 288 kB / 0.8016 GB, free: 420 kB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 296 * 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 (671): * Single equations (assignments): 667 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (7,28,61.2%), (1,1,100.0%), (14,44,39.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006259/1.299, allocations: 3.894 MB / 0.8055 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001222/1.3, allocations: 0.5124 MB / 0.806 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01409/1.314, allocations: 7.733 MB / 0.8135 GB, free: 4.148 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.241e-05/1.314, allocations: 44 kB / 0.8135 GB, free: 4.105 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-05/1.314, allocations: 20 kB / 0.8136 GB, free: 4.086 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.058e-05/1.314, allocations: 27.84 kB / 0.8136 GB, free: 4.059 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02917/1.344, allocations: 17.46 MB / 0.8306 GB, free: 2.445 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.548e-05/1.344, allocations: 4 kB / 0.8306 GB, free: 2.441 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003149/1.347, allocations: 0.738 MB / 0.8314 GB, free: 1.703 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004239/1.351, allocations: 1.545 MB / 0.8329 GB, free: 140 kB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002909/1.351, allocations: 108 kB / 0.833 GB, free: 32 kB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2186/1.57, allocations: 21.22 MB / 0.8537 GB, free: 170.7 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.658e-06/1.57, allocations: 14.5 kB / 0.8537 GB, free: 170.7 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01693/1.587, allocations: 11.45 MB / 0.8649 GB, free: 165.7 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002425/1.589, allocations: 1.174 MB / 0.866 GB, free: 165.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000855/1.59, allocations: 87.09 kB / 0.8661 GB, free: 165.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002656/1.593, allocations: 231 kB / 0.8664 GB, free: 165.1 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008678/1.594, allocations: 341.7 kB / 0.8667 GB, free: 165.1 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002986/1.594, allocations: 132.8 kB / 0.8668 GB, free: 165 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004734/1.599, allocations: 3.189 MB / 0.8699 GB, free: 163.8 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.9e-07/1.599, allocations: 3.75 kB / 0.8699 GB, free: 163.8 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.006396/1.605, allocations: 1.872 MB / 0.8717 GB, free: 163.7 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.stray.Phi.re,imc.stator.stray.Phi.im,loadInertia.phi) * 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 (364): * Single equations (assignments): 357 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (14,44,41.3%), (2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,5,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01501/1.62, allocations: 12.18 MB / 0.8836 GB, free: 158 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01061/1.631, allocations: 7.849 MB / 0.8913 GB, free: 154 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/1.631, allocations: 2.656 kB / 0.8913 GB, free: 154 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.005916/1.637, allocations: 4.394 MB / 0.8956 GB, free: 150.1 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005348/1.642, allocations: 1.309 MB / 0.8969 GB, free: 149 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08417/1.726, allocations: 64.07 MB / 0.9594 GB, free: 84.91 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005523/1.732, allocations: 6.776 MB / 0.9661 GB, free: 78.09 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.004266/1.736, allocations: 1.857 MB / 0.9679 GB, free: 76.23 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004226/1.74, allocations: 3.944 MB / 0.9717 GB, free: 72.29 MB / 0.5607 GB Notification: Performance of SimCode: time 1.443e-06/1.74, allocations: 0 / 0.9717 GB, free: 72.29 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4097/2.15, allocations: 153.6 MB / 1.122 GB, free: 144.4 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.28/25.43, allocations: 4.047 kB / 1.122 GB, free: 144.4 MB / 0.5763 GB " [Timeout remaining time 634] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize_fmu --startTime=0 --stopTime=1.5 --stepSize=1e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 79.30658090097131] Failed to read output from testmodel.py, exit status != 0: ['time', 'imc.airGap.V_mrr.im', 'imc.airGap.V_mrr.re', 'imc.airGap.V_msr.im', 'imc.airGap.V_msr.re', 'imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'imc.stator.port_p.V_m.im', 'imc.stator.port_p.V_m.re', 'imc.stator.zeroInductor.i0', 'imcQS.rotorCage.port_p.reference.gamma', 'loadInertia.phi', 'loadInertia.w', 'loadInertiaQS.phi', 'loadInertiaQS.w'] 25.648866684990935 25.657966622 25.15362321 Calling exit ...