Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.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.001612/0.001612, allocations: 119.5 kB / 18.5 MB, free: 4.574 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.001743/0.001743, allocations: 201.6 kB / 21.45 MB, free: 1.625 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.498/1.498, allocations: 230.5 MB / 254.8 MB, free: 15.25 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.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",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.001934/0.001934, allocations: 67.83 kB / 373.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1155, allocations: 53.33 MB / 427 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01774/0.1333, allocations: 13.57 MB / 440.6 MB, free: 7.141 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01098/0.1442, allocations: 4.552 MB / 445.1 MB, free: 2.574 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003723/0.148, allocations: 95.44 kB / 445.2 MB, free: 2.48 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004353/0.1523, allocations: 1.045 MB / 446.3 MB, free: 1.43 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005524/0.1578, allocations: 1.32 MB / 447.6 MB, free: 108 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2445/0.4023, allocations: 0.8837 MB / 448.5 MB, free: 9.207 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005773/0.4081, allocations: 4.065 MB / 452.6 MB, free: 9.207 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003493/0.4116, allocations: 2.259 MB / 454.8 MB, free: 8.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003912/0.4155, allocations: 1.945 MB / 456.8 MB, free: 8.652 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004877/0.4204, allocations: 2.268 MB / 459 MB, free: 7.918 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001742/0.4221, allocations: 0.5138 MB / 459.5 MB, free: 7.914 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003184/0.4253, allocations: 0.7338 MB / 460.3 MB, free: 7.855 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001868/0.4272, allocations: 1.148 MB / 461.4 MB, free: 7.152 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004465/0.4316, allocations: 2.139 MB / 463.6 MB, free: 5.746 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009294/0.4409, allocations: 6.81 MB / 470.4 MB, free: 3.453 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.966e-06/0.4409, allocations: 4 kB / 470.4 MB, free: 3.449 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.4409, allocations: 0 / 470.4 MB, free: 3.449 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001983/0.4411, allocations: 0 / 470.4 MB, free: 3.449 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.01404/0.4552, allocations: 4.526 MB / 474.9 MB, free: 0.668 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.4552, allocations: 9.812 kB / 474.9 MB, free: 0.668 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000984/0.4562, allocations: 446.9 kB / 475.3 MB, free: 344 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005183/0.4614, allocations: 0.8497 MB / 476.2 MB, free: 15.92 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006649/0.468, allocations: 2.519 MB / 478.7 MB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003038/0.4683, allocations: 239.8 kB / 478.9 MB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001259/0.4696, allocations: 316.5 kB / 479.3 MB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0103/0.4799, allocations: 4.265 MB / 483.5 MB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.956e-05/0.48, allocations: 3.953 kB / 483.5 MB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003722/0.4803, allocations: 130 kB / 483.7 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001416/0.4805, allocations: 139.1 kB / 483.8 MB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008173/0.4887, allocations: 3.676 MB / 487.5 MB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02916/0.5178, allocations: 13.44 MB / 0.4892 GB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008444/0.5263, allocations: 6.755 MB / 0.4958 GB, free: 5.766 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003088/0.5294, allocations: 1.304 MB / 0.497 GB, free: 4.473 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007889/0.5372, allocations: 3.89 MB / 0.5008 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.174e-05/0.5373, allocations: 47.56 kB / 0.5009 GB, free: 452 kB / 398.1 MB Notification: Performance of pre-optimization done (n=124): time 3.496e-06/0.5373, allocations: 0 / 0.5009 GB, free: 452 kB / 398.1 MB Notification: Performance of matching and sorting (n=144): time 0.01594/0.5532, allocations: 6.686 MB / 0.5074 GB, free: 9.605 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.893e-05/0.5533, allocations: 64.72 kB / 0.5075 GB, free: 9.527 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003474/0.5568, allocations: 1.888 MB / 0.5093 GB, free: 7.641 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003021/0.5571, allocations: 49.7 kB / 0.5094 GB, free: 7.586 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001322/0.5584, allocations: 1.481 MB / 0.5108 GB, free: 6.098 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006498/0.559, allocations: 0.5089 MB / 0.5113 GB, free: 5.598 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005526/0.5596, allocations: 315.4 kB / 0.5116 GB, free: 5.285 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.5597, allocations: 305.1 kB / 0.5119 GB, free: 4.984 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001407/0.5611, allocations: 0.7613 MB / 0.5126 GB, free: 4.223 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0018/0.5629, allocations: 1.226 MB / 0.5138 GB, free: 2.812 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003407/0.5664, allocations: 2.106 MB / 0.5159 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.509e-05/0.5664, allocations: 4 kB / 0.5159 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.005536/0.5719, allocations: 2.667 MB / 0.5185 GB, free: 13.99 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.452e-05/0.5719, allocations: 11.94 kB / 0.5185 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.132e-05/0.572, allocations: 16.28 kB / 0.5185 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00153/0.5735, allocations: 0.5017 MB / 0.519 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001675/0.5752, allocations: 382.3 kB / 0.5194 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00966/0.5848, allocations: 6.926 MB / 0.5261 GB, free: 5.934 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001827/0.5867, allocations: 91.77 kB / 0.5262 GB, free: 5.844 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002301/0.5869, allocations: 75.92 kB / 0.5263 GB, free: 5.77 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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 (180): * Single equations (assignments): 178 * 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%), (8,30,56.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00242/0.5893, allocations: 1.051 MB / 0.5273 GB, free: 4.715 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006705/0.59, allocations: 206.7 kB / 0.5275 GB, free: 4.512 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005142/0.5951, allocations: 2.477 MB / 0.5299 GB, free: 1.969 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.186e-05/0.5952, allocations: 15.98 kB / 0.53 GB, free: 1.953 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.233e-05/0.5952, allocations: 15.94 kB / 0.53 GB, free: 1.938 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-05/0.5952, allocations: 3.984 kB / 0.53 GB, free: 1.934 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01097/0.6062, allocations: 5.535 MB / 0.5354 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.6062, allocations: 0 / 0.5354 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/0.6072, allocations: 219.9 kB / 0.5356 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001417/0.6087, allocations: 0.4961 MB / 0.5361 GB, free: 11.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001298/0.6088, allocations: 35.98 kB / 0.5361 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01266/0.6215, allocations: 11.44 MB / 0.5473 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.6215, allocations: 0 / 0.5473 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006846/0.6283, allocations: 3.567 MB / 0.5508 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001357/0.6297, allocations: 471.6 kB / 0.5512 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004496/0.6301, allocations: 35.98 kB / 0.5513 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/0.6312, allocations: 63.95 kB / 0.5513 GB, free: 11.19 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003152/0.6315, allocations: 113 kB / 0.5514 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.564e-05/0.6316, allocations: 39.98 kB / 0.5515 GB, free: 11.04 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002269/0.6339, allocations: 1.306 MB / 0.5527 GB, free: 9.746 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6339, allocations: 0 / 0.5527 GB, free: 9.746 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002879/0.6368, allocations: 0.5902 MB / 0.5533 GB, free: 9.156 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.stray.Phi.re,aimc.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 (102): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,8,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.006823/0.6436, allocations: 4.196 MB / 0.5574 GB, free: 4.863 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004464/0.6481, allocations: 2.324 MB / 0.5597 GB, free: 2.516 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.6481, allocations: 0 / 0.5597 GB, free: 2.516 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002917/0.651, allocations: 1.665 MB / 0.5613 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003057/0.654, allocations: 0.5195 MB / 0.5618 GB, free: 288 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04063/0.6947, allocations: 21.37 MB / 0.5827 GB, free: 10.32 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002799/0.6975, allocations: 2.379 MB / 0.585 GB, free: 7.906 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00159/0.6991, allocations: 417 kB / 0.5854 GB, free: 7.496 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002/0.7011, allocations: 1.167 MB / 0.5865 GB, free: 6.328 MB / 494.1 MB Notification: Performance of SimCode: time 1.162e-06/0.7011, allocations: 0 / 0.5865 GB, free: 6.328 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3428/1.044, allocations: 56.15 MB / 0.6414 GB, free: 174.9 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.11/15.16, allocations: 5.156 kB / 0.6414 GB, free: 174.9 MB / 0.5294 GB " [Timeout remaining time 645] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.91163759911433] Failed to read output from testmodel.py, exit status != 0: ['time', 'aimc.airGap.V_mrr.im', 'aimc.airGap.V_mrr.re', 'aimc.airGap.V_msr.im', 'aimc.airGap.V_msr.re', 'aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'aimc.stator.port_p.V_m.im', 'aimc.stator.port_p.V_m.re', '// aimc.stator.zeroInductor.i0', 'aimc.is[1]', 'aimc.is[2]', 'loadInertia.phi', 'loadInertia.w'] 15.279713946860284 15.301218824 14.855169996 Calling exit ...