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.001418/0.001418, allocations: 105.8 kB / 19.74 MB, free: 2.566 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.001518/0.001518, allocations: 221.1 kB / 22.92 MB, free: 5.531 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.288/1.288, allocations: 230.5 MB / 256.4 MB, free: 8.43 MB / 206.1 MB " [Timeout remaining time 179] 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.001765/0.001765, allocations: 59.84 kB / 376.1 MB, free: 4.074 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.1936, allocations: 53.33 MB / 429.4 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01488/0.2085, allocations: 13.61 MB / 443 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006921/0.2154, allocations: 4.561 MB / 447.6 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007271/0.2161, allocations: 79.69 kB / 447.7 MB, free: 5.074 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001925/0.218, allocations: 1.036 MB / 448.7 MB, free: 4.035 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002349/0.2204, allocations: 1.321 MB / 450 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001613/0.222, allocations: 0.8993 MB / 450.9 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003876/0.2259, allocations: 4.078 MB / 455 MB, free: 13.72 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002125/0.228, allocations: 1.78 MB / 456.8 MB, free: 11.86 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002164/0.2302, allocations: 1.912 MB / 458.7 MB, free: 9.945 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002917/0.2331, allocations: 2.273 MB / 461 MB, free: 7.664 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006593/0.2337, allocations: 0.5117 MB / 461.5 MB, free: 7.152 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001182/0.2349, allocations: 0.7263 MB / 462.2 MB, free: 6.426 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009589/0.2359, allocations: 1.149 MB / 463.4 MB, free: 5.273 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002017/0.2379, allocations: 2.139 MB / 465.5 MB, free: 3.125 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006116/0.244, allocations: 6.809 MB / 472.3 MB, free: 12.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.244, allocations: 7.984 kB / 472.3 MB, free: 12.28 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.244, allocations: 0 / 472.3 MB, free: 12.28 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.391e-05/0.2441, allocations: 0 / 472.3 MB, free: 12.28 MB / 382.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.009131/0.2532, allocations: 4.522 MB / 476.8 MB, free: 7.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.2532, allocations: 11.97 kB / 476.9 MB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005457/0.2538, allocations: 447.1 kB / 477.3 MB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004133/0.2579, allocations: 0.8417 MB / 478.1 MB, free: 6.375 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00372/0.2616, allocations: 2.523 MB / 480.7 MB, free: 3.797 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002202/0.2619, allocations: 238.4 kB / 480.9 MB, free: 3.562 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000459/0.2623, allocations: 319.9 kB / 481.2 MB, free: 3.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006332/0.2686, allocations: 4.269 MB / 485.5 MB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.779e-05/0.2687, allocations: 3.953 kB / 485.5 MB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002892/0.269, allocations: 128 kB / 485.6 MB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00014/0.2691, allocations: 142.2 kB / 485.7 MB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00572/0.2748, allocations: 3.663 MB / 489.4 MB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01804/0.2929, allocations: 13.45 MB / 0.4911 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006832/0.2997, allocations: 6.761 MB / 0.4977 GB, free: 5.504 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002202/0.3019, allocations: 1.312 MB / 0.4989 GB, free: 4.195 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005566/0.3075, allocations: 3.885 MB / 0.5027 GB, free: 172 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/0.3075, allocations: 47.56 kB / 0.5028 GB, free: 112 kB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 2.765e-06/0.3075, allocations: 0 / 0.5028 GB, free: 112 kB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.01309/0.3206, allocations: 6.682 MB / 0.5093 GB, free: 9.234 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/0.3207, allocations: 68.66 kB / 0.5094 GB, free: 9.152 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002906/0.3236, allocations: 1.896 MB / 0.5112 GB, free: 7.258 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.777e-05/0.3237, allocations: 49.7 kB / 0.5113 GB, free: 7.203 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001173/0.3248, allocations: 1.475 MB / 0.5127 GB, free: 5.715 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004202/0.3253, allocations: 0.5151 MB / 0.5132 GB, free: 5.195 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004882/0.3257, allocations: 303.5 kB / 0.5135 GB, free: 4.895 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.3259, allocations: 309.1 kB / 0.5138 GB, free: 4.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001224/0.3271, allocations: 0.7613 MB / 0.5145 GB, free: 3.828 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001556/0.3286, allocations: 1.224 MB / 0.5157 GB, free: 2.414 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002915/0.3316, allocations: 2.111 MB / 0.5178 GB, free: 116 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/0.3316, allocations: 4 kB / 0.5178 GB, free: 112 kB / 430.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.00448/0.336, allocations: 2.664 MB / 0.5204 GB, free: 13.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.3361, allocations: 12 kB / 0.5204 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.127e-05/0.3361, allocations: 12 kB / 0.5204 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001302/0.3374, allocations: 0.5058 MB / 0.5209 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001393/0.3388, allocations: 379.5 kB / 0.5213 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008475/0.3473, allocations: 6.935 MB / 0.5281 GB, free: 5.309 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/0.3484, allocations: 79.84 kB / 0.5281 GB, free: 5.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/0.3485, allocations: 68 kB / 0.5282 GB, free: 5.164 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.001516/0.35, allocations: 1.048 MB / 0.5292 GB, free: 4.105 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000337/0.3504, allocations: 210.8 kB / 0.5294 GB, free: 3.898 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004197/0.3546, allocations: 2.488 MB / 0.5319 GB, free: 1.348 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.605e-05/0.3546, allocations: 19.94 kB / 0.5319 GB, free: 1.328 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/0.3546, allocations: 4 kB / 0.5319 GB, free: 1.324 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.69e-05/0.3546, allocations: 15.97 kB / 0.5319 GB, free: 1.309 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008416/0.363, allocations: 5.522 MB / 0.5373 GB, free: 11.65 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.014e-06/0.363, allocations: 4 kB / 0.5373 GB, free: 11.64 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009654/0.364, allocations: 219.7 kB / 0.5375 GB, free: 11.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001274/0.3653, allocations: 0.4922 MB / 0.538 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001049/0.3654, allocations: 31.98 kB / 0.538 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1711/0.5365, allocations: 11.43 MB / 0.5492 GB, free: 112.2 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.5365, allocations: 3.547 kB / 0.5492 GB, free: 112.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00497/0.5414, allocations: 3.567 MB / 0.5527 GB, free: 111.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006934/0.5421, allocations: 472.3 kB / 0.5531 GB, free: 111.4 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002107/0.5424, allocations: 32.62 kB / 0.5531 GB, free: 111.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008388/0.5432, allocations: 65.14 kB / 0.5532 GB, free: 111.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002321/0.5434, allocations: 115.2 kB / 0.5533 GB, free: 111.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.91e-05/0.5435, allocations: 40.08 kB / 0.5534 GB, free: 111.4 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001516/0.545, allocations: 1.302 MB / 0.5546 GB, free: 110.9 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.545, allocations: 0.7188 kB / 0.5546 GB, free: 110.9 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001777/0.5468, allocations: 0.5919 MB / 0.5552 GB, free: 110.8 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.004426/0.5512, allocations: 4.191 MB / 0.5593 GB, free: 108.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003151/0.5544, allocations: 2.325 MB / 0.5616 GB, free: 107.6 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.5544, allocations: 0 / 0.5616 GB, free: 107.6 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001834/0.5562, allocations: 1.67 MB / 0.5632 GB, free: 106.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001854/0.5581, allocations: 0.5171 MB / 0.5637 GB, free: 106.4 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02245/0.5805, allocations: 21.39 MB / 0.5846 GB, free: 88.53 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001313/0.5818, allocations: 2.388 MB / 0.5869 GB, free: 86.11 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009731/0.5828, allocations: 421 kB / 0.5873 GB, free: 85.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009932/0.5838, allocations: 1.159 MB / 0.5885 GB, free: 84.54 MB / 462.1 MB Notification: Performance of SimCode: time 6.81e-07/0.5838, allocations: 0 / 0.5885 GB, free: 84.54 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08529/0.6691, allocations: 56.3 MB / 0.6434 GB, free: 28.71 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.49, allocations: 15.89 kB / 0.6435 GB, free: 28.7 MB / 462.1 MB " [Timeout remaining time 647] (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 --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: 14.747442838001007]