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_DOL.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.001189/0.001189, 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.00128/0.00128, allocations: 215.4 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.295/1.295, 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.Electrical.Machines.Examples.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL",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.001783/0.001783, allocations: 75.81 kB / 376.1 MB, free: 4.086 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2236, allocations: 53.31 MB / 429.4 MB, free: 7.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01065/0.2343, allocations: 9.513 MB / 438.9 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005246/0.2395, allocations: 3.065 MB / 442 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008856/0.2404, allocations: 51.75 kB / 442 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001406/0.2418, allocations: 0.6678 MB / 442.7 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00185/0.2437, allocations: 0.804 MB / 443.5 MB, free: 9.254 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000698/0.2444, allocations: 375.3 kB / 443.9 MB, free: 8.887 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002816/0.2472, allocations: 2.676 MB / 446.6 MB, free: 6.203 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001464/0.2486, allocations: 1.159 MB / 447.7 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001494/0.2501, allocations: 1.203 MB / 448.9 MB, free: 3.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002135/0.2523, allocations: 1.537 MB / 450.5 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004316/0.2527, allocations: 311.9 kB / 450.8 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000767/0.2535, allocations: 411.8 kB / 451.2 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008751/0.2543, allocations: 0.8998 MB / 452.1 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001523/0.2559, allocations: 1.408 MB / 453.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004085/0.2599, allocations: 4.118 MB / 457.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.26, allocations: 0 / 457.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.26, allocations: 0 / 457.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.227e-05/0.26, allocations: 0 / 457.6 MB, free: 11.07 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.00574/0.2658, allocations: 2.94 MB / 460.5 MB, free: 8.062 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.2658, allocations: 12.02 kB / 460.5 MB, free: 8.051 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004175/0.2662, allocations: 295.5 kB / 460.8 MB, free: 7.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009628/0.2672, allocations: 335.1 kB / 461.2 MB, free: 7.422 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00254/0.2697, allocations: 1.552 MB / 462.7 MB, free: 5.812 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001336/0.2699, allocations: 156.2 kB / 462.9 MB, free: 5.656 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000319/0.2702, allocations: 211.9 kB / 463.1 MB, free: 5.449 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004254/0.2744, allocations: 2.736 MB / 465.8 MB, free: 2.625 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.934e-05/0.2745, allocations: 7.953 kB / 465.8 MB, free: 2.617 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000183/0.2747, allocations: 84 kB / 465.9 MB, free: 2.535 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-05/0.2748, allocations: 91.94 kB / 466 MB, free: 2.445 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003761/0.2785, allocations: 2.322 MB / 468.3 MB, free: 124 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01202/0.2905, allocations: 8.343 MB / 476.7 MB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002064/0.2926, allocations: 1.698 MB / 478.3 MB, free: 5.719 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00184/0.2944, allocations: 1.014 MB / 479.4 MB, free: 4.707 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002192/0.2947, allocations: 130 kB / 479.5 MB, free: 4.559 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.2947, allocations: 47.56 kB / 479.5 MB, free: 4.504 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.826e-06/0.2947, allocations: 0 / 479.5 MB, free: 4.504 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01255/0.3072, allocations: 6.239 MB / 485.8 MB, free: 14.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.3073, allocations: 64.41 kB / 485.8 MB, free: 14.08 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002097/0.3094, allocations: 1.529 MB / 487.4 MB, free: 12.54 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.452e-05/0.3095, allocations: 45.7 kB / 487.4 MB, free: 12.49 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007798/0.3103, allocations: 1.013 MB / 488.4 MB, free: 11.46 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003525/0.3106, allocations: 440.3 kB / 488.9 MB, free: 11.03 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003963/0.311, allocations: 247.5 kB / 489.1 MB, free: 10.79 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.3112, allocations: 357.9 kB / 489.4 MB, free: 10.43 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00116/0.3123, allocations: 0.7339 MB / 490.2 MB, free: 9.695 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001387/0.3137, allocations: 1.052 MB / 491.2 MB, free: 8.516 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002608/0.3163, allocations: 1.89 MB / 493.1 MB, free: 6.492 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.3163, allocations: 0 / 493.1 MB, free: 6.492 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004/0.3203, allocations: 2.358 MB / 495.5 MB, free: 4.113 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.3204, allocations: 10.97 kB / 495.5 MB, free: 4.105 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.3204, allocations: 8 kB / 495.5 MB, free: 4.098 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009426/0.3213, allocations: 407.5 kB / 495.9 MB, free: 3.688 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/0.3225, allocations: 331.5 kB / 496.2 MB, free: 3.363 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005253/0.3278, allocations: 5.067 MB / 0.4895 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/0.329, allocations: 95.8 kB / 0.4896 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.3291, allocations: 56 kB / 0.4897 GB, free: 13.87 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001175/0.3303, allocations: 0.712 MB / 0.4904 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003176/0.3306, allocations: 174.9 kB / 0.4905 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00365/0.3342, allocations: 2.133 MB / 0.4926 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.3342, allocations: 12 kB / 0.4926 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.3342, allocations: 4 kB / 0.4926 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-05/0.3343, allocations: 3.984 kB / 0.4926 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007933/0.3422, allocations: 4.566 MB / 0.4971 GB, free: 6.133 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.3422, allocations: 0 / 0.4971 GB, free: 6.133 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009602/0.3432, allocations: 219.7 kB / 0.4973 GB, free: 5.918 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001223/0.3444, allocations: 471 kB / 0.4978 GB, free: 5.445 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-05/0.3445, allocations: 27.98 kB / 0.4978 GB, free: 5.418 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006514/0.351, allocations: 6.685 MB / 0.5043 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.351, allocations: 4.094 kB / 0.5043 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004818/0.3558, allocations: 3.185 MB / 0.5074 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007599/0.3566, allocations: 403.9 kB / 0.5078 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001924/0.3568, allocations: 31.98 kB / 0.5078 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007857/0.3575, allocations: 71.92 kB / 0.5079 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000227/0.3578, allocations: 112.7 kB / 0.508 GB, free: 10.44 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.597e-05/0.3578, allocations: 35.98 kB / 0.5081 GB, free: 10.4 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001432/0.3593, allocations: 1.056 MB / 0.5091 GB, free: 9.348 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3593, allocations: 0 / 0.5091 GB, free: 9.348 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00131/0.3606, allocations: 459.9 kB / 0.5095 GB, free: 8.898 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * 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,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005175/0.3658, allocations: 3.831 MB / 0.5133 GB, free: 5 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00349/0.3693, allocations: 2.196 MB / 0.5154 GB, free: 2.734 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.3693, allocations: 4.5 kB / 0.5154 GB, free: 2.73 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002197/0.3715, allocations: 1.437 MB / 0.5168 GB, free: 1.23 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001921/0.3734, allocations: 456.8 kB / 0.5173 GB, free: 0.793 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02493/0.3983, allocations: 17.49 MB / 0.5343 GB, free: 14.73 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001527/0.3998, allocations: 1.834 MB / 0.5361 GB, free: 12.86 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001044/0.4009, allocations: 393.6 kB / 0.5365 GB, free: 12.47 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00105/0.4019, allocations: 0.8 MB / 0.5373 GB, free: 11.67 MB / 462.1 MB Notification: Performance of SimCode: time 1.232e-06/0.4019, allocations: 0 / 0.5373 GB, free: 11.67 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2515/0.6534, allocations: 43.89 MB / 0.5802 GB, free: 97.42 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.58/19.23, allocations: 7.266 kB / 0.5802 GB, free: 97.42 MB / 462.1 MB " [Timeout remaining time 641] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.459050047000346]