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.001557/0.001557, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001641/0.001641, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.395/1.395, allocations: 230.6 MB / 258.3 MB, free: 7.773 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.00147/0.00147, allocations: 43.92 kB / 378.5 MB, free: 2.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2443, allocations: 53.36 MB / 431.9 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.03548/0.2798, allocations: 28.76 MB / 460.7 MB, free: 9.754 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01852/0.2983, allocations: 8.924 MB / 469.6 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005386/0.3037, allocations: 290.4 kB / 469.9 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01887/0.3226, allocations: 7.523 MB / 477.4 MB, free: 8.977 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01323/0.3358, allocations: 3.761 MB / 481.2 MB, free: 5.199 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006471/0.3423, allocations: 2.124 MB / 483.3 MB, free: 3.082 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.018/0.3603, allocations: 13.27 MB / 496.5 MB, free: 5.773 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02889/0.3892, allocations: 14.98 MB / 0.4995 GB, free: 6.641 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01152/0.4007, allocations: 6.756 MB / 0.5061 GB, free: 15.87 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01247/0.4131, allocations: 7.487 MB / 0.5134 GB, free: 8.355 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005217/0.4184, allocations: 1.883 MB / 0.5153 GB, free: 6.473 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006892/0.4252, allocations: 2.265 MB / 0.5175 GB, free: 4.207 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005862/0.4311, allocations: 3.76 MB / 0.5212 GB, free: 448 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01102/0.4421, allocations: 5.545 MB / 0.5266 GB, free: 10.87 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2413/0.6834, allocations: 25.2 MB / 0.5512 GB, free: 43.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.6834, allocations: 0 / 0.5512 GB, free: 43.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.6834, allocations: 0 / 0.5512 GB, free: 43.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005475/0.684, allocations: 0 / 0.5512 GB, free: 43.16 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.04047/0.7245, allocations: 14.82 MB / 0.5657 GB, free: 36.64 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.7245, allocations: 11.28 kB / 0.5657 GB, free: 36.64 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002594/0.7248, allocations: 289.5 kB / 0.566 GB, free: 36.62 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004707/0.7295, allocations: 1.507 MB / 0.5674 GB, free: 36.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03646/0.7659, allocations: 6.807 MB / 0.5741 GB, free: 33.62 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01642/0.7823, allocations: 8.189 MB / 0.5821 GB, free: 28.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005286/0.7829, allocations: 0.7864 MB / 0.5828 GB, free: 28.53 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004413/0.7873, allocations: 1.046 MB / 0.5839 GB, free: 28.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04141/0.8287, allocations: 17.56 MB / 0.601 GB, free: 12.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004313/0.8291, allocations: 19.94 kB / 0.601 GB, free: 12.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003271/0.8324, allocations: 435.9 kB / 0.6014 GB, free: 11.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005256/0.8329, allocations: 0.6314 MB / 0.6021 GB, free: 11.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03177/0.8647, allocations: 16.35 MB / 0.618 GB, free: 10.72 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1003/0.965, allocations: 49.39 MB / 0.6663 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02144/0.9865, allocations: 11.02 MB / 0.677 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007912/0.9944, allocations: 3.955 MB / 0.6809 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01976/1.014, allocations: 9.333 MB / 0.69 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.114e-05/1.014, allocations: 81.8 kB / 0.6901 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=398): time 6.592e-06/1.014, allocations: 0 / 0.6901 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of matching and sorting (n=423): time 0.04868/1.063, allocations: 20.97 MB / 0.7106 GB, free: 13.2 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.317e-05/1.063, allocations: 120.7 kB / 0.7107 GB, free: 13.06 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007701/1.071, allocations: 4.711 MB / 0.7153 GB, free: 8.344 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008041/1.072, allocations: 93.7 kB / 0.7154 GB, free: 8.246 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004055/1.076, allocations: 4.826 MB / 0.7201 GB, free: 3.406 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00192/1.077, allocations: 1.521 MB / 0.7216 GB, free: 1.906 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002194/1.08, allocations: 1.152 MB / 0.7227 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001272/1.08, allocations: 303.9 kB / 0.723 GB, free: 456 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004988/1.085, allocations: 2.912 MB / 0.7258 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007073/1.092, allocations: 5 MB / 0.7307 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01374/1.106, allocations: 8.365 MB / 0.7389 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.836e-05/1.106, allocations: 16 kB / 0.7389 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=764) (initialization): time 0.02045/1.126, allocations: 9.737 MB / 0.7484 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.942e-05/1.126, allocations: 32.41 kB / 0.7484 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001499/1.126, allocations: 68 kB / 0.7485 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004966/1.131, allocations: 1.638 MB / 0.7501 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005633/1.137, allocations: 1.326 MB / 0.7514 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2427/1.38, allocations: 17.09 MB / 0.7681 GB, free: 201.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004878/1.385, allocations: 329.3 kB / 0.7684 GB, free: 201.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001003/1.386, allocations: 287.8 kB / 0.7687 GB, free: 201.1 MB / 0.5762 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.006446/1.392, allocations: 3.889 MB / 0.7725 GB, free: 199.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001161/1.393, allocations: 0.519 MB / 0.773 GB, free: 199.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01171/1.405, allocations: 7.583 MB / 0.7804 GB, free: 196.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.43e-05/1.405, allocations: 42.41 kB / 0.7804 GB, free: 196.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-05/1.405, allocations: 19.44 kB / 0.7804 GB, free: 196.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.457e-05/1.405, allocations: 26.02 kB / 0.7805 GB, free: 196.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0256/1.431, allocations: 16.47 MB / 0.7965 GB, free: 186.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.646e-05/1.431, allocations: 4 kB / 0.7965 GB, free: 186.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00291/1.433, allocations: 0.7314 MB / 0.7972 GB, free: 185.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003665/1.437, allocations: 1.537 MB / 0.7988 GB, free: 184.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005414/1.438, allocations: 108 kB / 0.7989 GB, free: 184.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01786/1.456, allocations: 20.25 MB / 0.8186 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/1.456, allocations: 11.94 kB / 0.8186 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01554/1.471, allocations: 11.31 MB / 0.8297 GB, free: 154.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002913/1.474, allocations: 1.122 MB / 0.8308 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001093/1.475, allocations: 84 kB / 0.8309 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002777/1.478, allocations: 229.3 kB / 0.8311 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007875/1.479, allocations: 355 kB / 0.8314 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002955/1.479, allocations: 136 kB / 0.8315 GB, free: 152.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004381/1.483, allocations: 3.19 MB / 0.8347 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/1.483, allocations: 0 / 0.8347 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006929/1.49, allocations: 1.868 MB / 0.8365 GB, free: 147.5 MB / 0.5762 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.01473/1.505, allocations: 12.04 MB / 0.8482 GB, free: 135.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01201/1.517, allocations: 7.837 MB / 0.8559 GB, free: 127.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.349e-05/1.517, allocations: 3.688 kB / 0.8559 GB, free: 127.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006664/1.524, allocations: 4.397 MB / 0.8602 GB, free: 123 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007394/1.531, allocations: 1.312 MB / 0.8615 GB, free: 121.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1003/1.631, allocations: 64.19 MB / 0.9242 GB, free: 54.74 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009481/1.641, allocations: 6.353 MB / 0.9304 GB, free: 48.34 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004951/1.646, allocations: 1.862 MB / 0.9322 GB, free: 46.47 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005387/1.651, allocations: 3.94 MB / 0.936 GB, free: 42.53 MB / 0.5762 GB Notification: Performance of SimCode: time 1.403e-06/1.651, allocations: 8 kB / 0.936 GB, free: 42.52 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4204/2.072, allocations: 160.7 MB / 1.093 GB, free: 119.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.9/23.97, allocations: 0 / 1.093 GB, free: 119.9 MB / 0.5762 GB " [Timeout remaining time 636] (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: 77.70545556594152] 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.21547847893089 24.224832523 23.538879385 Calling exit ...