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.001271/0.001271, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001322/0.001322, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.381/1.381, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.001453/0.001453, allocations: 43.94 kB / 378.6 MB, free: 3.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2482, allocations: 53.36 MB / 432 MB, free: 6.84 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.0392/0.2874, allocations: 33.71 MB / 465.7 MB, free: 4.984 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01936/0.3068, allocations: 9.277 MB / 475 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006453/0.3132, allocations: 294.4 kB / 475.2 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02033/0.3336, allocations: 8.102 MB / 483.3 MB, free: 3.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01198/0.3455, allocations: 3.821 MB / 487.2 MB, free: 15.43 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006337/0.3519, allocations: 2.208 MB / 489.4 MB, free: 13.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01922/0.3711, allocations: 13.26 MB / 0.4909 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03117/0.4023, allocations: 14.98 MB / 0.5055 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01245/0.4147, allocations: 6.752 MB / 0.5121 GB, free: 10.03 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01494/0.4297, allocations: 7.491 MB / 0.5194 GB, free: 2.512 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005928/0.4356, allocations: 1.879 MB / 0.5212 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007608/0.4432, allocations: 2.277 MB / 0.5235 GB, free: 14.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006452/0.4496, allocations: 3.764 MB / 0.5271 GB, free: 10.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01305/0.4627, allocations: 7.113 MB / 0.5341 GB, free: 3.445 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2511/0.7138, allocations: 25.1 MB / 0.5586 GB, free: 41.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.7138, allocations: 0 / 0.5586 GB, free: 41.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.7138, allocations: 0 / 0.5586 GB, free: 41.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006976/0.7145, allocations: 0.8125 kB / 0.5586 GB, free: 41.32 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.04634/0.7609, allocations: 14.81 MB / 0.5731 GB, free: 34.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.7609, allocations: 11.09 kB / 0.5731 GB, free: 34.8 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000261/0.7612, allocations: 286.9 kB / 0.5733 GB, free: 34.78 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005637/0.7668, allocations: 1.521 MB / 0.5748 GB, free: 34.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0371/0.8039, allocations: 6.791 MB / 0.5815 GB, free: 30.99 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01512/0.819, allocations: 8.187 MB / 0.5895 GB, free: 25.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005699/0.8196, allocations: 0.7857 MB / 0.5902 GB, free: 25.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004396/0.824, allocations: 1.053 MB / 0.5912 GB, free: 24.56 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03998/0.864, allocations: 17.26 MB / 0.6081 GB, free: 7.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004611/0.8644, allocations: 15.94 kB / 0.6081 GB, free: 7.254 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003897/0.8683, allocations: 443.5 kB / 0.6085 GB, free: 6.836 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005183/0.8688, allocations: 0.6314 MB / 0.6092 GB, free: 6.199 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03298/0.9018, allocations: 16.34 MB / 0.6251 GB, free: 5.832 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09739/0.9992, allocations: 54.05 MB / 0.6779 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02151/1.021, allocations: 11.13 MB / 0.6888 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006788/1.028, allocations: 3.958 MB / 0.6926 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02105/1.049, allocations: 10.35 MB / 0.7027 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.148e-05/1.049, allocations: 81.81 kB / 0.7028 GB, free: 7.547 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=398): time 4.919e-06/1.049, allocations: 0 / 0.7028 GB, free: 7.547 MB / 0.5294 GB Notification: Performance of matching and sorting (n=423): time 0.05055/1.099, allocations: 20.97 MB / 0.7233 GB, free: 2.523 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.738e-05/1.099, allocations: 124.7 kB / 0.7234 GB, free: 2.379 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009329/1.109, allocations: 4.71 MB / 0.728 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007679/1.109, allocations: 97.7 kB / 0.7281 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.004187/1.114, allocations: 4.821 MB / 0.7328 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002211/1.116, allocations: 1.522 MB / 0.7343 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003595/1.119, allocations: 1.148 MB / 0.7354 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001259/1.119, allocations: 301.1 kB / 0.7357 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00595/1.125, allocations: 2.923 MB / 0.7386 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2325/1.358, allocations: 4.944 MB / 0.7434 GB, free: 192.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009562/1.368, allocations: 8.369 MB / 0.7516 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001047/1.368, allocations: 23.47 kB / 0.7516 GB, free: 189.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=764) (initialization): time 0.01568/1.383, allocations: 9.73 MB / 0.7611 GB, free: 186 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.135e-05/1.383, allocations: 31.25 kB / 0.7611 GB, free: 186 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.01e-05/1.383, allocations: 71.25 kB / 0.7612 GB, free: 186 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003954/1.387, allocations: 1.643 MB / 0.7628 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004687/1.392, allocations: 1.323 MB / 0.7641 GB, free: 185.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01856/1.411, allocations: 17.35 MB / 0.781 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005242/1.416, allocations: 321.5 kB / 0.7813 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009334/1.417, allocations: 291.2 kB / 0.7816 GB, free: 173.9 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.005628/1.423, allocations: 3.892 MB / 0.7854 GB, free: 170.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001087/1.424, allocations: 0.5155 MB / 0.7859 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0113/1.435, allocations: 7.589 MB / 0.7933 GB, free: 164 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.598e-05/1.435, allocations: 44 kB / 0.7934 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.303e-05/1.435, allocations: 16 kB / 0.7934 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.747e-05/1.435, allocations: 24.31 kB / 0.7934 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02588/1.461, allocations: 17.36 MB / 0.8104 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.571e-05/1.461, allocations: 4 kB / 0.8104 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002806/1.464, allocations: 0.7294 MB / 0.8111 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003565/1.467, allocations: 1.555 MB / 0.8126 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004378/1.468, allocations: 117.8 kB / 0.8127 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01724/1.485, allocations: 20.49 MB / 0.8327 GB, free: 124.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/1.485, allocations: 11.94 kB / 0.8327 GB, free: 124.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01533/1.5, allocations: 11.3 MB / 0.8438 GB, free: 112.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003053/1.503, allocations: 1.121 MB / 0.8449 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001281/1.505, allocations: 91.73 kB / 0.8449 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003127/1.508, allocations: 227.8 kB / 0.8452 GB, free: 111.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008968/1.509, allocations: 347.2 kB / 0.8455 GB, free: 111.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004186/1.509, allocations: 139.9 kB / 0.8456 GB, free: 111 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005692/1.515, allocations: 3.19 MB / 0.8487 GB, free: 107.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.72e-07/1.515, allocations: 1.203 kB / 0.8487 GB, free: 107.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.008989/1.524, allocations: 1.862 MB / 0.8506 GB, free: 105.9 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.01732/1.541, allocations: 12.05 MB / 0.8623 GB, free: 93.72 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01164/1.553, allocations: 7.837 MB / 0.87 GB, free: 85.84 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.096e-06/1.553, allocations: 4.062 kB / 0.87 GB, free: 85.84 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006469/1.559, allocations: 4.393 MB / 0.8743 GB, free: 81.35 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007277/1.566, allocations: 1.321 MB / 0.8756 GB, free: 80.07 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09298/1.659, allocations: 64.2 MB / 0.9383 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008378/1.668, allocations: 6.778 MB / 0.9449 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004674/1.672, allocations: 1.861 MB / 0.9467 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00478/1.677, allocations: 3.944 MB / 0.9505 GB, free: 472 kB / 0.5606 GB Notification: Performance of SimCode: time 8.81e-07/1.677, allocations: 4 kB / 0.9506 GB, free: 468 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4037/2.081, allocations: 158.8 MB / 1.106 GB, free: 60.77 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.95/24.04, allocations: 15.81 kB / 1.106 GB, free: 60.76 MB / 0.5606 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.62998417997733] 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.282329344016034 24.291689953 23.575450938 Calling exit ...