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.001278/0.001278, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.001352/0.001352, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.426/1.426, allocations: 230.5 MB / 254.7 MB, free: 15.01 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.001894/0.001894, allocations: 67.83 kB / 373.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1127, allocations: 53.32 MB / 426.9 MB, free: 4.844 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.2209/0.3337, allocations: 13.56 MB / 440.5 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007507/0.3412, allocations: 4.561 MB / 445 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002054/0.3432, allocations: 79.44 kB / 445.1 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002812/0.346, allocations: 1.036 MB / 446.1 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004264/0.3503, allocations: 1.312 MB / 447.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002455/0.3528, allocations: 0.8947 MB / 448.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006591/0.3594, allocations: 4.064 MB / 452.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003282/0.3626, allocations: 2.258 MB / 454.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00363/0.3663, allocations: 1.916 MB / 456.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004228/0.3705, allocations: 2.269 MB / 458.9 MB, free: 9.855 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009537/0.3715, allocations: 0.509 MB / 459.4 MB, free: 9.855 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001969/0.3734, allocations: 0.734 MB / 460.1 MB, free: 9.773 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001385/0.3748, allocations: 1.148 MB / 461.2 MB, free: 9.031 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003242/0.378, allocations: 2.141 MB / 463.4 MB, free: 7.586 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00904/0.3871, allocations: 6.808 MB / 470.2 MB, free: 2.773 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.3871, allocations: 0 / 470.2 MB, free: 2.773 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3871, allocations: 0 / 470.2 MB, free: 2.773 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001883/0.3873, allocations: 0.9062 kB / 470.2 MB, free: 2.773 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.0144/0.4017, allocations: 4.534 MB / 474.7 MB, free: 15.67 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.4017, allocations: 9.625 kB / 474.7 MB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007401/0.4025, allocations: 449.3 kB / 475.2 MB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004589/0.4071, allocations: 0.8434 MB / 476 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005642/0.4127, allocations: 2.515 MB / 478.5 MB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00021/0.4129, allocations: 233.8 kB / 478.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006359/0.4135, allocations: 326 kB / 479.1 MB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007581/0.4211, allocations: 4.258 MB / 483.3 MB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.898e-05/0.4212, allocations: 7.938 kB / 483.3 MB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003287/0.4215, allocations: 128 kB / 483.5 MB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001431/0.4217, allocations: 146.2 kB / 483.6 MB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006355/0.428, allocations: 3.665 MB / 487.3 MB, free: 4.434 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02463/0.4527, allocations: 13.45 MB / 0.489 GB, free: 6.645 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007287/0.4599, allocations: 6.76 MB / 0.4956 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002518/0.4625, allocations: 1.304 MB / 0.4969 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0078/0.4703, allocations: 3.893 MB / 0.5007 GB, free: 9.656 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.122e-05/0.4703, allocations: 47.56 kB / 0.5007 GB, free: 9.598 MB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 3.136e-06/0.4703, allocations: 0 / 0.5007 GB, free: 9.598 MB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.01534/0.4857, allocations: 6.686 MB / 0.5072 GB, free: 2.719 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.4857, allocations: 64.72 kB / 0.5073 GB, free: 2.641 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003866/0.4896, allocations: 1.896 MB / 0.5092 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001648/0.4897, allocations: 45.7 kB / 0.5092 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001283/0.491, allocations: 1.471 MB / 0.5106 GB, free: 15.21 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005372/0.4916, allocations: 0.519 MB / 0.5111 GB, free: 14.68 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006298/0.4922, allocations: 311.5 kB / 0.5114 GB, free: 14.38 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.4923, allocations: 301.1 kB / 0.5117 GB, free: 14.08 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001397/0.4937, allocations: 0.7624 MB / 0.5125 GB, free: 13.32 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001839/0.4955, allocations: 1.22 MB / 0.5137 GB, free: 11.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003484/0.499, allocations: 2.115 MB / 0.5157 GB, free: 9.602 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.235e-05/0.499, allocations: 7.938 kB / 0.5157 GB, free: 9.594 MB / 430.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.005363/0.5044, allocations: 2.664 MB / 0.5183 GB, free: 6.918 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.204e-05/0.5044, allocations: 8.281 kB / 0.5183 GB, free: 6.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.654e-05/0.5045, allocations: 23.98 kB / 0.5184 GB, free: 6.887 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001526/0.506, allocations: 0.4978 MB / 0.5189 GB, free: 6.383 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001517/0.5075, allocations: 383.4 kB / 0.5192 GB, free: 6.008 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01007/0.5176, allocations: 6.931 MB / 0.526 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001678/0.5193, allocations: 83.84 kB / 0.5261 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001996/0.5195, allocations: 68 kB / 0.5261 GB, free: 14.65 MB / 446.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.00239/0.5219, allocations: 1.052 MB / 0.5272 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006425/0.5225, allocations: 206.7 kB / 0.5274 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005205/0.5277, allocations: 2.484 MB / 0.5298 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.896e-05/0.5277, allocations: 23.92 kB / 0.5298 GB, free: 10.81 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.697e-05/0.5277, allocations: 8 kB / 0.5298 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.838e-05/0.5278, allocations: 7.969 kB / 0.5298 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01316/0.5409, allocations: 5.526 MB / 0.5352 GB, free: 5.137 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/0.5409, allocations: 0 / 0.5352 GB, free: 5.137 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001122/0.5421, allocations: 219.9 kB / 0.5354 GB, free: 4.922 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001414/0.5435, allocations: 0.4919 MB / 0.5359 GB, free: 4.414 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001244/0.5436, allocations: 35.98 kB / 0.5359 GB, free: 4.379 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01253/0.5561, allocations: 11.43 MB / 0.5471 GB, free: 8.25 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.5561, allocations: 3.938 kB / 0.5471 GB, free: 8.246 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006578/0.5627, allocations: 3.567 MB / 0.5506 GB, free: 4.582 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001629/0.5643, allocations: 471.6 kB / 0.551 GB, free: 4.102 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007326/0.5651, allocations: 28 kB / 0.5511 GB, free: 4.074 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001467/0.5665, allocations: 79.88 kB / 0.5512 GB, free: 3.996 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000305/0.5668, allocations: 101.2 kB / 0.5512 GB, free: 3.898 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001179/0.567, allocations: 43.98 kB / 0.5513 GB, free: 3.855 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002836/0.5698, allocations: 1.302 MB / 0.5526 GB, free: 2.562 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5698, allocations: 0 / 0.5526 GB, free: 2.562 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003122/0.5729, allocations: 0.5937 MB / 0.5531 GB, free: 1.969 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.006778/0.5797, allocations: 4.197 MB / 0.5572 GB, free: 13.67 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004467/0.5842, allocations: 2.324 MB / 0.5595 GB, free: 11.32 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.5842, allocations: 0.9375 kB / 0.5595 GB, free: 11.32 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002738/0.5869, allocations: 1.66 MB / 0.5611 GB, free: 9.598 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00306/0.59, allocations: 0.5312 MB / 0.5616 GB, free: 9.078 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04103/0.631, allocations: 21.36 MB / 0.5825 GB, free: 3.109 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003168/0.6342, allocations: 2.379 MB / 0.5848 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001548/0.6357, allocations: 417 kB / 0.5852 GB, free: 296 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001822/0.6375, allocations: 1.167 MB / 0.5864 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of SimCode: time 1.192e-06/0.6375, allocations: 0 / 0.5864 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3192/0.9567, allocations: 56.16 MB / 0.6412 GB, free: 164.7 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.01/14.96, allocations: 6.438 kB / 0.6412 GB, free: 164.7 MB / 0.5137 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 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.499264992773533] 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.082504444755614 15.099562652 14.709064614 Calling exit ...