Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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.001256/0.001256, allocations: 120.2 kB / 18.5 MB, free: 4.535 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.001343/0.001343, allocations: 222.2 kB / 21.46 MB, free: 1.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 230.4 MB / 254.7 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_trunk_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_trunk_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.001843/0.001843, allocations: 59.91 kB / 373.7 MB, free: 10.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1214, allocations: 53.38 MB / 427.1 MB, free: 4.652 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.2445/0.3659, allocations: 33.62 MB / 460.7 MB, free: 5.574 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02427/0.3902, allocations: 9.271 MB / 470 MB, free: 14.9 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009679/0.3998, allocations: 290 kB / 470.3 MB, free: 14.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01998/0.4198, allocations: 8.067 MB / 478.3 MB, free: 9.184 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01525/0.4351, allocations: 3.741 MB / 482.1 MB, free: 6.172 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008995/0.4441, allocations: 2.151 MB / 484.2 MB, free: 4.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02062/0.4647, allocations: 13.14 MB / 497.4 MB, free: 10.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02761/0.4923, allocations: 16.9 MB / 0.5022 GB, free: 9.395 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01141/0.5037, allocations: 6.686 MB / 0.5088 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01427/0.518, allocations: 7.464 MB / 0.516 GB, free: 11.2 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004816/0.5228, allocations: 1.879 MB / 0.5179 GB, free: 9.32 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007577/0.5304, allocations: 2.273 MB / 0.5201 GB, free: 7.051 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006161/0.5365, allocations: 3.756 MB / 0.5238 GB, free: 3.285 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01357/0.5501, allocations: 7.117 MB / 0.5307 GB, free: 12.14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03508/0.5852, allocations: 25.1 MB / 0.5552 GB, free: 2.957 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.5852, allocations: 0 / 0.5552 GB, free: 2.957 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5852, allocations: 0 / 0.5552 GB, free: 2.957 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006563/0.5858, allocations: 4 kB / 0.5552 GB, free: 2.953 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.04873/0.6346, allocations: 14.89 MB / 0.5698 GB, free: 3.93 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.6346, allocations: 12.03 kB / 0.5698 GB, free: 3.918 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003247/0.6349, allocations: 285.9 kB / 0.5701 GB, free: 3.637 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005859/0.6408, allocations: 1.518 MB / 0.5715 GB, free: 2.105 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04045/0.6813, allocations: 6.797 MB / 0.5782 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02085/0.7021, allocations: 8.161 MB / 0.5861 GB, free: 3.055 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001087/0.7032, allocations: 0.7946 MB / 0.5869 GB, free: 2.258 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00635/0.7095, allocations: 1.051 MB / 0.5879 GB, free: 1.207 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05084/0.7604, allocations: 17.26 MB / 0.6048 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006085/0.761, allocations: 15.94 kB / 0.6048 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00408/0.7651, allocations: 439.9 kB / 0.6052 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008466/0.7659, allocations: 0.6352 MB / 0.6059 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4565/1.222, allocations: 16.34 MB / 0.6218 GB, free: 144.6 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1187/1.341, allocations: 56.47 MB / 0.677 GB, free: 109.4 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02296/1.364, allocations: 30.94 MB / 0.7072 GB, free: 79.58 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006496/1.371, allocations: 3.964 MB / 0.711 GB, free: 77.52 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02013/1.391, allocations: 10.77 MB / 0.7216 GB, free: 68.51 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.205e-05/1.391, allocations: 77.81 kB / 0.7216 GB, free: 68.42 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=398): time 7.353e-06/1.391, allocations: 0 / 0.7216 GB, free: 68.42 MB / 0.5138 GB Notification: Performance of matching and sorting (n=423): time 0.04849/1.439, allocations: 21.81 MB / 0.7429 GB, free: 46.71 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.091e-05/1.439, allocations: 120.7 kB / 0.743 GB, free: 46.57 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008079/1.447, allocations: 4.709 MB / 0.7476 GB, free: 41.9 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0008252/1.448, allocations: 97.7 kB / 0.7477 GB, free: 41.8 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002382/1.451, allocations: 4.825 MB / 0.7524 GB, free: 37.06 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001628/1.452, allocations: 1.523 MB / 0.7539 GB, free: 35.56 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003141/1.455, allocations: 1.145 MB / 0.7551 GB, free: 34.4 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.179e-05/1.455, allocations: 305.1 kB / 0.7553 GB, free: 34.1 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004124/1.46, allocations: 2.912 MB / 0.7582 GB, free: 31.18 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004994/1.465, allocations: 4.953 MB / 0.763 GB, free: 25.3 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009209/1.474, allocations: 8.361 MB / 0.7712 GB, free: 16 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-05/1.474, allocations: 19.94 kB / 0.7712 GB, free: 15.98 MB / 0.5138 GB Notification: Performance of matching and sorting (n=764) (initialization): time 0.01726/1.491, allocations: 9.734 MB / 0.7807 GB, free: 6.191 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 8.968e-05/1.491, allocations: 33.19 kB / 0.7807 GB, free: 6.16 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001109/1.491, allocations: 68 kB / 0.7808 GB, free: 6.094 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00452/1.496, allocations: 1.65 MB / 0.7824 GB, free: 4.434 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005239/1.501, allocations: 1.326 MB / 0.7837 GB, free: 3.105 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02764/1.529, allocations: 17.78 MB / 0.8011 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005771/1.534, allocations: 331.7 kB / 0.8014 GB, free: 472 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001421/1.536, allocations: 284 kB / 0.8017 GB, free: 188 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.008922/1.545, allocations: 3.899 MB / 0.8055 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002116/1.547, allocations: 0.5085 MB / 0.806 GB, free: 11.76 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01855/1.565, allocations: 7.729 MB / 0.8135 GB, free: 3.93 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.653e-05/1.566, allocations: 48 kB / 0.8136 GB, free: 3.883 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.431e-05/1.566, allocations: 16 kB / 0.8136 GB, free: 3.867 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-05/1.566, allocations: 23.86 kB / 0.8136 GB, free: 3.844 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04074/1.606, allocations: 17.46 MB / 0.8307 GB, free: 2.223 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.676e-05/1.606, allocations: 8 kB / 0.8307 GB, free: 2.215 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003872/1.61, allocations: 0.7294 MB / 0.8314 GB, free: 1.484 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2403/1.851, allocations: 1.55 MB / 0.8329 GB, free: 181.5 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009758/1.852, allocations: 108.4 kB / 0.833 GB, free: 181.5 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02223/1.874, allocations: 21.22 MB / 0.8537 GB, free: 168.9 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/1.874, allocations: 6.781 kB / 0.8537 GB, free: 168.9 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01958/1.893, allocations: 11.46 MB / 0.8649 GB, free: 163.9 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002813/1.896, allocations: 1.176 MB / 0.8661 GB, free: 163.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009216/1.897, allocations: 94.03 kB / 0.8662 GB, free: 163.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002715/1.9, allocations: 223.4 kB / 0.8664 GB, free: 163.3 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000887/1.901, allocations: 337 kB / 0.8667 GB, free: 163.3 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002926/1.901, allocations: 136.5 kB / 0.8668 GB, free: 163.2 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004762/1.906, allocations: 3.194 MB / 0.8699 GB, free: 162.1 MB / 0.5607 GB Notification: Performance of sort global known variables: time 8e-08/1.906, allocations: 2.906 kB / 0.8699 GB, free: 162.1 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.008082/1.914, allocations: 1.867 MB / 0.8718 GB, free: 161.9 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.01718/1.931, allocations: 12.19 MB / 0.8837 GB, free: 156.2 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01367/1.945, allocations: 7.841 MB / 0.8913 GB, free: 153 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/1.945, allocations: 4 kB / 0.8913 GB, free: 153 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.007289/1.952, allocations: 4.396 MB / 0.8956 GB, free: 149.1 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006466/1.958, allocations: 1.32 MB / 0.8969 GB, free: 148.1 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1084/2.067, allocations: 64.05 MB / 0.9595 GB, free: 84.5 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01075/2.078, allocations: 6.782 MB / 0.9661 GB, free: 77.67 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.007244/2.085, allocations: 1.857 MB / 0.9679 GB, free: 75.81 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007295/2.092, allocations: 3.944 MB / 0.9717 GB, free: 71.86 MB / 0.5607 GB Notification: Performance of SimCode: time 1.803e-06/2.092, allocations: 4 kB / 0.9718 GB, free: 71.86 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4582/2.55, allocations: 153.6 MB / 1.122 GB, free: 144.5 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.91/24.46, allocations: 14.03 kB / 1.122 GB, free: 144.5 MB / 0.5763 GB " [Timeout remaining time 635] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize_fmu --startTime=0 --stopTime=1.5 --stepSize=1e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 78.52516532200389] 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'] 24.725971220992506 24.73638338 24.148661018 Calling exit ...