Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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.001367/0.001367, allocations: 101.5 kB / 21.21 MB, free: 0.6289 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.001586/0.001586, allocations: 193.5 kB / 24.49 MB, free: 3.941 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.35/1.35, allocations: 225.7 MB / 253.3 MB, free: 12.82 MB / 206.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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_4_0_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_0_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.001485/0.001485, allocations: 47.92 kB / 371.2 MB, free: 9.637 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2322, allocations: 52.18 MB / 423.4 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.03434/0.2665, allocations: 28.21 MB / 451.6 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01902/0.2856, allocations: 8.674 MB / 460.3 MB, free: 9.328 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007034/0.2926, allocations: 290.4 kB / 460.6 MB, free: 9.043 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01981/0.3124, allocations: 7.494 MB / 468.1 MB, free: 1.527 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01229/0.3247, allocations: 3.757 MB / 471.8 MB, free: 13.76 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006568/0.3313, allocations: 2.079 MB / 473.9 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01875/0.35, allocations: 13.12 MB / 487 MB, free: 14.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03169/0.3817, allocations: 14.96 MB / 0.4902 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01134/0.393, allocations: 6.748 MB / 0.4968 GB, free: 8.645 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01315/0.4062, allocations: 7.311 MB / 0.5039 GB, free: 1.309 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005473/0.4117, allocations: 1.883 MB / 0.5058 GB, free: 15.42 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006816/0.4185, allocations: 2.249 MB / 0.508 GB, free: 13.18 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006433/0.4249, allocations: 3.76 MB / 0.5116 GB, free: 9.406 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01233/0.4372, allocations: 5.534 MB / 0.5171 GB, free: 3.852 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4231/0.8603, allocations: 25.15 MB / 0.5416 GB, free: 43.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.8603, allocations: 0 / 0.5416 GB, free: 43.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.8603, allocations: 0 / 0.5416 GB, free: 43.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006556/0.861, allocations: 4.812 kB / 0.5416 GB, free: 43.36 MB / 446.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.04267/0.9037, allocations: 14.75 MB / 0.556 GB, free: 39.33 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.9037, allocations: 9.906 kB / 0.556 GB, free: 39.33 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002786/0.904, allocations: 289.4 kB / 0.5563 GB, free: 39.3 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005199/0.9092, allocations: 1.514 MB / 0.5578 GB, free: 39.19 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03577/0.945, allocations: 6.861 MB / 0.5645 GB, free: 37.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01495/0.9599, allocations: 8.132 MB / 0.5724 GB, free: 35.17 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005866/0.9605, allocations: 0.7988 MB / 0.5732 GB, free: 34.81 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004225/0.9647, allocations: 1.05 MB / 0.5742 GB, free: 34.46 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03912/1.004, allocations: 17.52 MB / 0.5913 GB, free: 19.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003676/1.004, allocations: 15.94 kB / 0.5914 GB, free: 19.56 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002954/1.007, allocations: 440.7 kB / 0.5918 GB, free: 19.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004905/1.008, allocations: 0.6275 MB / 0.5924 GB, free: 18.51 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02595/1.034, allocations: 16.3 MB / 0.6083 GB, free: 2.184 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09414/1.128, allocations: 49.23 MB / 0.6564 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02073/1.148, allocations: 10.92 MB / 0.6671 GB, free: 7.188 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006959/1.155, allocations: 3.916 MB / 0.6709 GB, free: 3.273 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0201/1.176, allocations: 9.245 MB / 0.6799 GB, free: 10.14 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.761e-05/1.176, allocations: 81.09 kB / 0.68 GB, free: 10.06 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=398): time 6.823e-06/1.176, allocations: 0 / 0.68 GB, free: 10.06 MB / 0.5138 GB Notification: Performance of matching and sorting (n=423): time 0.04612/1.222, allocations: 20.94 MB / 0.7004 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.499e-05/1.222, allocations: 120.7 kB / 0.7005 GB, free: 4.938 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007724/1.23, allocations: 4.67 MB / 0.7051 GB, free: 264 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008812/1.23, allocations: 97.7 kB / 0.7052 GB, free: 160 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003774/1.234, allocations: 4.814 MB / 0.7099 GB, free: 11.33 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001856/1.236, allocations: 1.517 MB / 0.7114 GB, free: 9.828 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001999/1.238, allocations: 1.137 MB / 0.7125 GB, free: 8.68 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001245/1.238, allocations: 305.1 kB / 0.7128 GB, free: 8.379 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004831/1.243, allocations: 2.91 MB / 0.7156 GB, free: 5.469 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006621/1.25, allocations: 4.996 MB / 0.7205 GB, free: 15.57 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01188/1.262, allocations: 8.336 MB / 0.7286 GB, free: 6.559 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.868e-05/1.262, allocations: 24 kB / 0.7287 GB, free: 6.535 MB / 0.5607 GB Notification: Performance of matching and sorting (n=764) (initialization): time 0.01831/1.28, allocations: 9.701 MB / 0.7381 GB, free: 13.22 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 7.526e-05/1.28, allocations: 33.09 kB / 0.7382 GB, free: 13.19 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001296/1.28, allocations: 67.98 kB / 0.7382 GB, free: 13.12 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004779/1.285, allocations: 1.641 MB / 0.7398 GB, free: 11.47 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005366/1.29, allocations: 1.318 MB / 0.7411 GB, free: 10.24 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.228/1.518, allocations: 17.08 MB / 0.7578 GB, free: 212.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004366/1.523, allocations: 329.5 kB / 0.7581 GB, free: 212.8 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006339/1.523, allocations: 279.7 kB / 0.7584 GB, free: 212.8 MB / 0.5763 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.006782/1.53, allocations: 3.891 MB / 0.7622 GB, free: 211.4 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00117/1.531, allocations: 0.508 MB / 0.7627 GB, free: 211.4 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01144/1.543, allocations: 7.59 MB / 0.7701 GB, free: 208.3 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-05/1.543, allocations: 42.88 kB / 0.7701 GB, free: 208.3 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.22e-05/1.543, allocations: 15.5 kB / 0.7702 GB, free: 208.3 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.595e-05/1.543, allocations: 22.64 kB / 0.7702 GB, free: 208.3 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02599/1.569, allocations: 16.4 MB / 0.7862 GB, free: 200.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.831e-05/1.569, allocations: 8 kB / 0.7862 GB, free: 200.8 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00292/1.572, allocations: 0.7274 MB / 0.7869 GB, free: 200.2 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003599/1.575, allocations: 1.549 MB / 0.7884 GB, free: 199 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003958/1.576, allocations: 99.17 kB / 0.7885 GB, free: 198.9 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01685/1.593, allocations: 20.25 MB / 0.8083 GB, free: 179.7 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.593, allocations: 8 kB / 0.8083 GB, free: 179.7 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01363/1.606, allocations: 11.26 MB / 0.8193 GB, free: 169 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002761/1.609, allocations: 1.122 MB / 0.8204 GB, free: 168.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001538/1.611, allocations: 89.62 kB / 0.8205 GB, free: 168.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003783/1.614, allocations: 232.9 kB / 0.8207 GB, free: 167.8 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009741/1.615, allocations: 351.1 kB / 0.821 GB, free: 167.5 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002895/1.616, allocations: 128 kB / 0.8212 GB, free: 167.4 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.004764/1.62, allocations: 3.169 MB / 0.8243 GB, free: 164.2 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.81e-07/1.62, allocations: 0 / 0.8243 GB, free: 164.2 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.007003/1.627, allocations: 1.861 MB / 0.8261 GB, free: 162.3 MB / 0.5763 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.01468/1.642, allocations: 12 MB / 0.8378 GB, free: 150.2 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01084/1.653, allocations: 7.806 MB / 0.8454 GB, free: 142.4 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.124e-05/1.653, allocations: 4 kB / 0.8454 GB, free: 142.4 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.006005/1.659, allocations: 4.399 MB / 0.8497 GB, free: 137.9 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005341/1.664, allocations: 1.306 MB / 0.851 GB, free: 136.6 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08776/1.752, allocations: 64.16 MB / 0.9136 GB, free: 69.67 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00667/1.759, allocations: 6.344 MB / 0.9198 GB, free: 63.27 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.004586/1.763, allocations: 1.861 MB / 0.9217 GB, free: 61.41 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004891/1.768, allocations: 3.917 MB / 0.9255 GB, free: 57.49 MB / 0.5763 GB Notification: Performance of SimCode: time 1.743e-06/1.768, allocations: 0 / 0.9255 GB, free: 57.49 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3867/2.155, allocations: 159.7 MB / 1.081 GB, free: 143.1 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.6/24.75, allocations: 7.688 kB / 1.081 GB, free: 143.1 MB / 0.5763 GB " [Timeout remaining time 635] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat --tempDir=temp_Modelica_4_0_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_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 78.28347213193774] 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.0179003769299 25.034902644 24.170817352 Calling exit ...