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.001546/0.001546, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001845/0.001845, allocations: 207.4 kB / 24.53 MB, free: 4.07 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.435/1.435, allocations: 230.5 MB / 258.2 MB, free: 8.004 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.001957/0.001957, allocations: 59.91 kB / 378.6 MB, free: 2.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2785, allocations: 53.41 MB / 432 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.03957/0.318, allocations: 33.71 MB / 465.7 MB, free: 4.828 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02225/0.3403, allocations: 9.275 MB / 475 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006605/0.3469, allocations: 294.4 kB / 475.3 MB, free: 11.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01979/0.3667, allocations: 8.095 MB / 483.4 MB, free: 3.125 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0133/0.38, allocations: 3.818 MB / 487.2 MB, free: 15.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00704/0.387, allocations: 2.216 MB / 489.4 MB, free: 13.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02007/0.4071, allocations: 13.26 MB / 0.4909 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03328/0.4404, allocations: 14.97 MB / 0.5055 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01421/0.4546, allocations: 6.744 MB / 0.5121 GB, free: 9.891 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01506/0.4696, allocations: 7.483 MB / 0.5194 GB, free: 2.383 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00641/0.4761, allocations: 1.879 MB / 0.5212 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008309/0.4844, allocations: 2.277 MB / 0.5235 GB, free: 14.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007232/0.4916, allocations: 3.772 MB / 0.5272 GB, free: 10.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01535/0.5069, allocations: 7.109 MB / 0.5341 GB, free: 3.312 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3089/0.8158, allocations: 25.1 MB / 0.5586 GB, free: 41.19 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.862e-06/0.8158, allocations: 1.219 kB / 0.5586 GB, free: 41.19 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.8158, allocations: 0 / 0.5586 GB, free: 41.19 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0008696/0.8167, allocations: 2.516 kB / 0.5586 GB, free: 41.19 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.05773/0.8744, allocations: 14.81 MB / 0.5731 GB, free: 34.67 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.72e-05/0.8745, allocations: 10.03 kB / 0.5731 GB, free: 34.67 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0004597/0.8749, allocations: 295.7 kB / 0.5734 GB, free: 34.64 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007855/0.8828, allocations: 1.511 MB / 0.5748 GB, free: 33.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03781/0.9206, allocations: 6.796 MB / 0.5815 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02002/0.9406, allocations: 8.185 MB / 0.5895 GB, free: 25.54 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008165/0.9414, allocations: 0.7878 MB / 0.5902 GB, free: 25.05 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006098/0.9475, allocations: 1.049 MB / 0.5913 GB, free: 24.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05018/0.9977, allocations: 17.26 MB / 0.6081 GB, free: 6.727 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000637/0.9984, allocations: 15.95 kB / 0.6081 GB, free: 6.711 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005097/1.003, allocations: 436.3 kB / 0.6086 GB, free: 6.297 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006096/1.004, allocations: 0.6427 MB / 0.6092 GB, free: 5.652 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04076/1.045, allocations: 16.34 MB / 0.6251 GB, free: 5.285 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1233/1.168, allocations: 54.04 MB / 0.6779 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02476/1.193, allocations: 11.12 MB / 0.6888 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00917/1.202, allocations: 3.969 MB / 0.6926 GB, free: 1.305 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02593/1.228, allocations: 10.35 MB / 0.7028 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.596e-05/1.228, allocations: 85.45 kB / 0.7028 GB, free: 7.004 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=398): time 5.601e-06/1.228, allocations: 0 / 0.7028 GB, free: 7.004 MB / 0.5294 GB Notification: Performance of matching and sorting (n=423): time 0.0597/1.288, allocations: 20.95 MB / 0.7233 GB, free: 1.996 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/1.288, allocations: 132.5 kB / 0.7234 GB, free: 1.848 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01244/1.3, allocations: 4.715 MB / 0.728 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001448/1.302, allocations: 93.7 kB / 0.7281 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.006279/1.308, allocations: 4.827 MB / 0.7328 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.003433/1.312, allocations: 1.515 MB / 0.7343 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005217/1.317, allocations: 1.152 MB / 0.7354 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001472/1.317, allocations: 301.1 kB / 0.7357 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006387/1.323, allocations: 2.916 MB / 0.7386 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2993/1.623, allocations: 4.949 MB / 0.7434 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0108/1.633, allocations: 8.366 MB / 0.7516 GB, free: 187.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001112/1.633, allocations: 19.59 kB / 0.7516 GB, free: 187.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=764) (initialization): time 0.01862/1.652, allocations: 9.733 MB / 0.7611 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.804e-05/1.652, allocations: 34.31 kB / 0.7611 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001232/1.652, allocations: 66.16 kB / 0.7612 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004686/1.657, allocations: 1.641 MB / 0.7628 GB, free: 183 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005578/1.662, allocations: 1.328 MB / 0.7641 GB, free: 182.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02098/1.683, allocations: 17.34 MB / 0.781 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005684/1.689, allocations: 329.6 kB / 0.7813 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00122/1.69, allocations: 289.5 kB / 0.7816 GB, free: 171.8 MB / 0.5606 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.00847/1.699, allocations: 3.889 MB / 0.7854 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00205/1.701, allocations: 0.5192 MB / 0.7859 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01351/1.714, allocations: 7.592 MB / 0.7933 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.014e-05/1.714, allocations: 44 kB / 0.7934 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.43e-05/1.715, allocations: 16 kB / 0.7934 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.056e-05/1.715, allocations: 23.36 kB / 0.7934 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03713/1.752, allocations: 17.34 MB / 0.8104 GB, free: 146.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.243e-05/1.752, allocations: 4 kB / 0.8104 GB, free: 146.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003394/1.755, allocations: 0.7377 MB / 0.8111 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004533/1.76, allocations: 1.563 MB / 0.8126 GB, free: 144.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001081/1.761, allocations: 108 kB / 0.8127 GB, free: 144 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02062/1.781, allocations: 20.49 MB / 0.8327 GB, free: 122.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.333e-06/1.781, allocations: 11.94 kB / 0.8327 GB, free: 122.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01855/1.8, allocations: 11.31 MB / 0.8438 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003474/1.803, allocations: 1.117 MB / 0.8449 GB, free: 110.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001859/1.805, allocations: 95.94 kB / 0.845 GB, free: 110.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003639/1.809, allocations: 223.8 kB / 0.8452 GB, free: 110.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001065/1.81, allocations: 351.1 kB / 0.8455 GB, free: 109.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000561/1.811, allocations: 136 kB / 0.8456 GB, free: 109.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.006301/1.817, allocations: 3.195 MB / 0.8488 GB, free: 106.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.817, allocations: 1.312 kB / 0.8488 GB, free: 106.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00892/1.826, allocations: 1.862 MB / 0.8506 GB, free: 104.6 MB / 0.5606 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.0188/1.845, allocations: 12.04 MB / 0.8623 GB, free: 92.45 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01351/1.858, allocations: 7.841 MB / 0.87 GB, free: 84.56 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.321e-05/1.858, allocations: 0 / 0.87 GB, free: 84.56 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.007091/1.865, allocations: 4.399 MB / 0.8743 GB, free: 80.07 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008272/1.873, allocations: 1.319 MB / 0.8756 GB, free: 78.78 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1338/2.007, allocations: 64.21 MB / 0.9383 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01262/2.02, allocations: 6.77 MB / 0.9449 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.007007/2.027, allocations: 1.869 MB / 0.9467 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.299/2.326, allocations: 3.947 MB / 0.9506 GB, free: 178.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.322e-06/2.326, allocations: 0 / 0.9506 GB, free: 178.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2491/2.575, allocations: 158.8 MB / 1.106 GB, free: 47.46 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.45/26.03, allocations: 7.797 kB / 1.106 GB, free: 47.46 MB / 0.5606 GB " [Timeout remaining time 634] (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: 80.01684329297859] 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'] 26.274806620029267 26.284584704 25.466167412 Calling exit ...