Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.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.001853/0.001853, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002392/0.002392, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.475/1.475, allocations: 230.6 MB / 258.3 MB, free: 8.062 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-beta.om/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_Inverter,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 60.95 kB / 378.6 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2823, allocations: 53.38 MB / 432 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.02638/0.3087, allocations: 21.69 MB / 453.7 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0171/0.3258, allocations: 6.839 MB / 460.5 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005373/0.3312, allocations: 171.2 kB / 460.7 MB, free: 10.08 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01762/0.3488, allocations: 6.923 MB / 467.6 MB, free: 3.141 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01114/0.36, allocations: 2.886 MB / 470.5 MB, free: 252 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005291/0.3652, allocations: 1.609 MB / 472.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01575/0.381, allocations: 9.182 MB / 481.3 MB, free: 5.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02037/0.4014, allocations: 11.06 MB / 492.3 MB, free: 10.22 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008196/0.4096, allocations: 4.769 MB / 497.1 MB, free: 5.441 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00962/0.4192, allocations: 5.237 MB / 0.4906 GB, free: 192 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004074/0.4232, allocations: 1.356 MB / 0.4919 GB, free: 14.83 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005593/0.4288, allocations: 1.707 MB / 0.4935 GB, free: 13.12 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003724/0.4326, allocations: 2.619 MB / 0.4961 GB, free: 10.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008479/0.441, allocations: 4.966 MB / 0.501 GB, free: 5.516 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02246/0.4635, allocations: 18.26 MB / 0.5188 GB, free: 3.199 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.4635, allocations: 0 / 0.5188 GB, free: 3.199 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4635, allocations: 0 / 0.5188 GB, free: 3.199 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004546/0.464, allocations: 0 / 0.5188 GB, free: 3.199 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2107 * Number of variables: 2107 Notification: Performance of Generate backend data structure: time 0.03359/0.4975, allocations: 10.66 MB / 0.5292 GB, free: 8.453 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.4976, allocations: 11.97 kB / 0.5292 GB, free: 8.441 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00403/0.5016, allocations: 1.086 MB / 0.5303 GB, free: 7.344 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03338/0.535, allocations: 5.903 MB / 0.536 GB, free: 1.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2629/0.7979, allocations: 5.767 MB / 0.5417 GB, free: 86.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005365/0.7985, allocations: 0.5558 MB / 0.5422 GB, free: 85.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003531/0.802, allocations: 0.7322 MB / 0.5429 GB, free: 85.61 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03045/0.8324, allocations: 12.89 MB / 0.5555 GB, free: 80.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002496/0.8327, allocations: 13.91 kB / 0.5555 GB, free: 80.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001866/0.8346, allocations: 309.8 kB / 0.5558 GB, free: 80.15 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004127/0.835, allocations: 497.6 kB / 0.5563 GB, free: 80.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02316/0.8581, allocations: 12.62 MB / 0.5686 GB, free: 70 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06157/0.9197, allocations: 40.54 MB / 0.6082 GB, free: 29.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01183/0.9315, allocations: 8.606 MB / 0.6166 GB, free: 21.85 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003955/0.9355, allocations: 2.922 MB / 0.6195 GB, free: 18.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003584/0.9358, allocations: 125.1 kB / 0.6196 GB, free: 18.83 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.572e-05/0.9359, allocations: 73.78 kB / 0.6197 GB, free: 18.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=410): time 5.35e-06/0.9359, allocations: 0 / 0.6197 GB, free: 18.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=415): time 0.03342/0.9693, allocations: 16.94 MB / 0.6362 GB, free: 1.926 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.126e-05/0.9694, allocations: 94.67 kB / 0.6363 GB, free: 1.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004546/0.9739, allocations: 2.84 MB / 0.6391 GB, free: 14.97 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007127/0.9746, allocations: 93.7 kB / 0.6392 GB, free: 14.87 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00261/0.9772, allocations: 3.152 MB / 0.6422 GB, free: 11.71 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001986/0.9792, allocations: 1.464 MB / 0.6437 GB, free: 10.26 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001621/0.9808, allocations: 0.9505 MB / 0.6446 GB, free: 9.301 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.981, allocations: 305.1 kB / 0.6449 GB, free: 9 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004214/0.9852, allocations: 2.505 MB / 0.6473 GB, free: 6.488 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005734/0.9909, allocations: 4.117 MB / 0.6514 GB, free: 1.648 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01118/1.002, allocations: 7.206 MB / 0.6584 GB, free: 9.723 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-05/1.002, allocations: 12 kB / 0.6584 GB, free: 9.711 MB / 478.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01604/1.018, allocations: 8.029 MB / 0.6662 GB, free: 1.656 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.862e-05/1.018, allocations: 26.03 kB / 0.6663 GB, free: 1.633 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.333e-05/1.018, allocations: 55.97 kB / 0.6663 GB, free: 1.578 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003755/1.022, allocations: 1.236 MB / 0.6675 GB, free: 348 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004819/1.027, allocations: 1.127 MB / 0.6686 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01786/1.045, allocations: 11.05 MB / 0.6794 GB, free: 3.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003937/1.049, allocations: 271.8 kB / 0.6797 GB, free: 3.664 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008092/1.05, allocations: 232 kB / 0.6799 GB, free: 3.438 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 228 * 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 (590): * Single equations (assignments): 588 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006145/1.056, allocations: 2.952 MB / 0.6828 GB, free: 484 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001085/1.057, allocations: 373.7 kB / 0.6831 GB, free: 108 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01284/1.07, allocations: 6.663 MB / 0.6897 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-05/1.07, allocations: 44 kB / 0.6897 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.742e-05/1.07, allocations: 8 kB / 0.6897 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.525e-05/1.07, allocations: 19.92 kB / 0.6897 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02814/1.098, allocations: 14.87 MB / 0.7042 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.011e-05/1.098, allocations: 8.031 kB / 0.7043 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003244/1.101, allocations: 0.7567 MB / 0.705 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003525/1.105, allocations: 1.128 MB / 0.7061 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004516/1.105, allocations: 99.97 kB / 0.7062 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01495/1.12, allocations: 9.957 MB / 0.7159 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.206e-06/1.12, allocations: 8 kB / 0.7159 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01759/1.138, allocations: 10.03 MB / 0.7257 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002615/1.14, allocations: 0.884 MB / 0.7266 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000746/1.141, allocations: 83.95 kB / 0.7267 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002245/1.143, allocations: 199.8 kB / 0.7268 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007596/1.144, allocations: 319.1 kB / 0.7272 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002911/1.144, allocations: 132 kB / 0.7273 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003395/1.148, allocations: 1.959 MB / 0.7292 GB, free: 480 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/1.148, allocations: 0 / 0.7292 GB, free: 480 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005597/1.153, allocations: 1.391 MB / 0.7305 GB, free: 15.07 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 3 (aimc.inertiaRotor.w,voltageSource.plug_p.reference.gamma,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 (398): * Single equations (assignments): 396 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01844/1.172, allocations: 10.73 MB / 0.741 GB, free: 4.207 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.2528/1.425, allocations: 6.489 MB / 0.7474 GB, free: 191 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.141e-05/1.425, allocations: 1.094 kB / 0.7474 GB, free: 191 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006305/1.431, allocations: 3.322 MB / 0.7506 GB, free: 190.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004094/1.435, allocations: 0.8376 MB / 0.7514 GB, free: 190.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06894/1.504, allocations: 47.2 MB / 0.7975 GB, free: 155.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004187/1.508, allocations: 5.081 MB / 0.8025 GB, free: 150.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004039/1.512, allocations: 1.614 MB / 0.8041 GB, free: 148.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003333/1.515, allocations: 2.682 MB / 0.8067 GB, free: 145.8 MB / 0.545 GB Notification: Performance of SimCode: time 1.132e-06/1.515, allocations: 0 / 0.8067 GB, free: 145.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1587/1.674, allocations: 116.2 MB / 0.9202 GB, free: 30.12 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.26/19.93, allocations: 21.88 kB / 0.9202 GB, free: 30.1 MB / 0.545 GB " [Timeout remaining time 640] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.59585837693885] Failed to read output from testmodel.py, exit status != 0: ['time', 'aimc.wMechanical', 'currentQuasiRMSSensor.I'] 20.07581036956981 20.085310049 19.619307252 Calling exit ...