Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.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.001167/0.001167, allocations: 105 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.001304/0.001304, allocations: 214.7 kB / 22.92 MB, free: 5.535 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.292/1.292, allocations: 230.5 MB / 256.4 MB, free: 8.434 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.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_withLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_withLosses",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.00213/0.00213, allocations: 80.05 kB / 376.1 MB, free: 4.062 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2186, allocations: 53.31 MB / 429.4 MB, free: 7.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01178/0.2303, allocations: 9.814 MB / 439.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006799/0.2371, allocations: 3.797 MB / 443.1 MB, free: 9.906 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001351/0.2385, allocations: 47.81 kB / 443.1 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002095/0.2406, allocations: 0.6989 MB / 443.8 MB, free: 9.156 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00281/0.2434, allocations: 0.9128 MB / 444.7 MB, free: 8.238 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001307/0.2447, allocations: 478.3 kB / 445.2 MB, free: 7.773 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003423/0.2481, allocations: 2.658 MB / 447.8 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001934/0.2501, allocations: 1.116 MB / 449 MB, free: 3.926 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001689/0.2517, allocations: 1.207 MB / 450.2 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002353/0.2541, allocations: 1.549 MB / 451.7 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007502/0.2548, allocations: 308 kB / 452 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00156/0.2564, allocations: 0.5776 MB / 452.6 MB, free: 288 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001486/0.2579, allocations: 1.036 MB / 453.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002304/0.2602, allocations: 1.481 MB / 455.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005045/0.2652, allocations: 4.328 MB / 459.4 MB, free: 9.406 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.2652, allocations: 0 / 459.4 MB, free: 9.406 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2653, allocations: 0 / 459.4 MB, free: 9.406 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.843e-05/0.2653, allocations: 0 / 459.4 MB, free: 9.406 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.006027/0.2714, allocations: 3.264 MB / 462.7 MB, free: 6.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.2714, allocations: 16.02 kB / 462.7 MB, free: 6.055 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004944/0.2719, allocations: 347.4 kB / 463 MB, free: 5.699 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/0.2729, allocations: 390.8 kB / 463.4 MB, free: 5.316 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002653/0.2756, allocations: 1.745 MB / 465.2 MB, free: 3.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001231/0.2757, allocations: 152.1 kB / 465.3 MB, free: 3.367 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002969/0.276, allocations: 211.9 kB / 465.5 MB, free: 3.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004181/0.2802, allocations: 2.731 MB / 468.3 MB, free: 356 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.525e-05/0.2802, allocations: 3.938 kB / 468.3 MB, free: 352 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001935/0.2804, allocations: 91.98 kB / 468.4 MB, free: 260 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001215/0.2805, allocations: 100 kB / 468.5 MB, free: 156 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003832/0.2844, allocations: 2.292 MB / 470.7 MB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01213/0.2965, allocations: 8.232 MB / 479 MB, free: 5.395 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002809/0.2993, allocations: 1.545 MB / 480.5 MB, free: 3.785 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001883/0.3012, allocations: 1.021 MB / 481.5 MB, free: 2.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002248/0.3014, allocations: 126.1 kB / 481.7 MB, free: 2.629 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.3015, allocations: 51.48 kB / 481.7 MB, free: 2.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 2.915e-06/0.3015, allocations: 0 / 481.7 MB, free: 2.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01296/0.3144, allocations: 6.488 MB / 488.2 MB, free: 11.94 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/0.3145, allocations: 64.72 kB / 488.3 MB, free: 11.87 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002905/0.3174, allocations: 2.181 MB / 490.4 MB, free: 9.641 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.749e-05/0.3175, allocations: 49.69 kB / 490.5 MB, free: 9.586 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008902/0.3184, allocations: 1.161 MB / 491.7 MB, free: 8.414 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003833/0.3187, allocations: 479.8 kB / 492.1 MB, free: 7.941 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003917/0.3191, allocations: 243.5 kB / 492.4 MB, free: 7.699 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.3193, allocations: 361.9 kB / 492.7 MB, free: 7.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001266/0.3206, allocations: 0.7574 MB / 493.5 MB, free: 6.582 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001481/0.322, allocations: 1.017 MB / 494.5 MB, free: 5.473 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002826/0.3249, allocations: 1.854 MB / 496.3 MB, free: 3.531 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.3249, allocations: 0 / 496.3 MB, free: 3.531 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004976/0.3299, allocations: 2.758 MB / 499.1 MB, free: 0.7539 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.3299, allocations: 8 kB / 499.1 MB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.3299, allocations: 11.98 kB / 499.1 MB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001904/0.3318, allocations: 0.7814 MB / 499.9 MB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/0.3329, allocations: 267.6 kB / 0.4884 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01179/0.3447, allocations: 9.61 MB / 0.4978 GB, free: 5.793 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/0.3459, allocations: 91.83 kB / 0.4979 GB, free: 5.703 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/0.346, allocations: 55.98 kB / 0.498 GB, free: 5.648 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (126): * Single equations (assignments): 122 * Array equations: 2 * 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,6,100.0%), (6,33,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001254/0.3473, allocations: 0.744 MB / 0.4987 GB, free: 4.895 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003967/0.3477, allocations: 210.6 kB / 0.4989 GB, free: 4.688 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004551/0.3522, allocations: 2.485 MB / 0.5013 GB, free: 2.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.389e-05/0.3523, allocations: 12 kB / 0.5013 GB, free: 2.168 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/0.3523, allocations: 8 kB / 0.5013 GB, free: 2.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.592e-05/0.3523, allocations: 7.969 kB / 0.5013 GB, free: 2.152 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008501/0.3608, allocations: 4.946 MB / 0.5062 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/0.3608, allocations: 160 / 0.5062 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009654/0.3618, allocations: 219.7 kB / 0.5064 GB, free: 12.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001647/0.3634, allocations: 0.6465 MB / 0.507 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.373e-05/0.3635, allocations: 39.91 kB / 0.5071 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009405/0.3729, allocations: 8.721 MB / 0.5156 GB, free: 3.066 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.3729, allocations: 12.03 kB / 0.5156 GB, free: 3.055 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00591/0.3788, allocations: 3.529 MB / 0.519 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008419/0.3797, allocations: 451.6 kB / 0.5195 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002059/0.3799, allocations: 32 kB / 0.5195 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009038/0.3808, allocations: 87.89 kB / 0.5196 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002571/0.381, allocations: 104.8 kB / 0.5197 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.828e-05/0.3811, allocations: 40.05 kB / 0.5197 GB, free: 14.76 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002008/0.3831, allocations: 1.536 MB / 0.5212 GB, free: 13.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3831, allocations: 0 / 0.5212 GB, free: 13.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00166/0.3848, allocations: 0.5274 MB / 0.5217 GB, free: 12.67 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * 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 (97): * Single equations (assignments): 91 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (1,6,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007292/0.3921, allocations: 4.457 MB / 0.5261 GB, free: 8.293 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004234/0.3963, allocations: 2.287 MB / 0.5283 GB, free: 5.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.3963, allocations: 384 / 0.5283 GB, free: 5.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002511/0.3988, allocations: 1.55 MB / 0.5298 GB, free: 4.371 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002146/0.401, allocations: 449.2 kB / 0.5303 GB, free: 3.938 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2002/0.6011, allocations: 21.17 MB / 0.5509 GB, free: 96.26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/0.6022, allocations: 1.968 MB / 0.5529 GB, free: 94.59 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009193/0.6032, allocations: 388.2 kB / 0.5532 GB, free: 94.24 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008363/0.604, allocations: 0.9824 MB / 0.5542 GB, free: 93.26 MB / 446.1 MB Notification: Performance of SimCode: time 1.062e-06/0.604, allocations: 0 / 0.5542 GB, free: 93.26 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08064/0.6846, allocations: 51.91 MB / 0.6049 GB, free: 41.85 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 20.7/21.38, allocations: 11.91 kB / 0.6049 GB, free: 41.84 MB / 446.1 MB " [Timeout remaining time 638] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_withLosses_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_withLosses.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 23.815171392001503]