Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 107.7 kB / 16.92 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001997/0.001997, allocations: 191.3 kB / 17.85 MB, free: 5.176 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.857/1.857, allocations: 205.1 MB / 223.7 MB, free: 12.36 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 55.92 kB / 280 MB, free: 3.172 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1645, allocations: 46.62 MB / 326.6 MB, free: 4.477 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.0158/0.1803, allocations: 9.638 MB / 336.3 MB, free: 10.79 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01062/0.191, allocations: 3.07 MB / 339.3 MB, free: 7.699 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003737/0.1949, allocations: 43.81 kB / 339.4 MB, free: 7.656 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003662/0.1986, allocations: 0.617 MB / 340 MB, free: 7.035 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005146/0.2038, allocations: 0.7453 MB / 340.7 MB, free: 6.285 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001909/0.2058, allocations: 383.4 kB / 341.1 MB, free: 5.91 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005462/0.2112, allocations: 2.448 MB / 343.6 MB, free: 3.445 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003521/0.2148, allocations: 1.711 MB / 345.3 MB, free: 1.695 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003411/0.2183, allocations: 1.082 MB / 346.4 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002909/0.2212, allocations: 1.308 MB / 347.7 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006096/0.2218, allocations: 283.9 kB / 347.9 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001159/0.223, allocations: 363.9 kB / 348.3 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009753/0.224, allocations: 0.7869 MB / 349.1 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002329/0.2264, allocations: 1.268 MB / 350.4 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004801/0.2312, allocations: 3.602 MB / 354 MB, free: 8.988 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.075e-05/0.2312, allocations: 0 / 354 MB, free: 8.988 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.878e-06/0.2312, allocations: 0 / 354 MB, free: 8.988 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001302/0.2314, allocations: 0 / 354 MB, free: 8.988 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.007755/0.2391, allocations: 2.583 MB / 356.5 MB, free: 6.348 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.984e-05/0.2392, allocations: 15.89 kB / 356.6 MB, free: 6.332 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000884/0.2401, allocations: 258.1 kB / 356.8 MB, free: 6.078 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002414/0.2425, allocations: 1.26 MB / 358.1 MB, free: 4.762 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001085/0.2427, allocations: 140.2 kB / 358.2 MB, free: 4.625 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002948/0.243, allocations: 200 kB / 358.4 MB, free: 4.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004742/0.2477, allocations: 2.422 MB / 360.8 MB, free: 1.969 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.788e-05/0.2478, allocations: 11.84 kB / 360.8 MB, free: 1.957 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001949/0.2481, allocations: 76 kB / 360.9 MB, free: 1.883 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001218/0.2482, allocations: 91.67 kB / 361 MB, free: 1.793 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003763/0.252, allocations: 1.962 MB / 363 MB, free: 15.83 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01429/0.2663, allocations: 7.851 MB / 370.8 MB, free: 7.734 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001822/0.2681, allocations: 1.224 MB / 372 MB, free: 6.465 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00179/0.2699, allocations: 0.9323 MB / 373 MB, free: 5.527 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002739/0.2702, allocations: 130.1 kB / 373.1 MB, free: 5.383 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.046e-05/0.2703, allocations: 39.56 kB / 373.1 MB, free: 5.332 MB / 318.1 MB Notification: Performance of pre-optimization done (n=95): time 3.838e-06/0.2703, allocations: 0 / 373.1 MB, free: 5.332 MB / 318.1 MB Notification: Performance of matching and sorting (n=111): time 0.2651/0.5354, allocations: 5.873 MB / 379 MB, free: 52.21 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.944e-05/0.5355, allocations: 65.2 kB / 379.1 MB, free: 52.15 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002983/0.5385, allocations: 1.301 MB / 380.4 MB, free: 51.67 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002255/0.5387, allocations: 46.73 kB / 380.4 MB, free: 51.62 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008108/0.5396, allocations: 0.9185 MB / 381.3 MB, free: 51.18 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000338/0.5399, allocations: 390.6 kB / 381.7 MB, free: 50.92 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004643/0.5404, allocations: 250 kB / 382 MB, free: 50.8 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.5405, allocations: 360.2 kB / 382.3 MB, free: 50.48 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001104/0.5416, allocations: 0.6413 MB / 383 MB, free: 50.25 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00126/0.5429, allocations: 1.005 MB / 384 MB, free: 49.59 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002595/0.5455, allocations: 1.729 MB / 385.7 MB, free: 48.59 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.859e-06/0.5455, allocations: 3.25 kB / 385.7 MB, free: 48.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004461/0.55, allocations: 2.249 MB / 387.9 MB, free: 47.7 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.14e-05/0.55, allocations: 11.41 kB / 388 MB, free: 47.7 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.917e-05/0.5501, allocations: 9.875 kB / 388 MB, free: 47.7 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001453/0.5515, allocations: 0.4892 MB / 388.4 MB, free: 47.53 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/0.5528, allocations: 308 kB / 388.7 MB, free: 47.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006998/0.5598, allocations: 7.123 MB / 395.9 MB, free: 41.92 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/0.5615, allocations: 80.48 kB / 396 MB, free: 41.9 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/0.5616, allocations: 58.92 kB / 396 MB, free: 41.89 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 3 systems {(2,12,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001505/0.5631, allocations: 0.6069 MB / 396.6 MB, free: 41.52 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005373/0.5637, allocations: 145.9 kB / 396.8 MB, free: 41.45 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003986/0.5677, allocations: 1.974 MB / 398.7 MB, free: 40.64 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.5677, allocations: 11.48 kB / 398.7 MB, free: 40.64 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.5677, allocations: 11.88 kB / 398.8 MB, free: 40.63 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.5677, allocations: 7.641 kB / 398.8 MB, free: 40.63 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006061/0.5738, allocations: 4.123 MB / 402.9 MB, free: 38.42 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.5738, allocations: 3.875 kB / 402.9 MB, free: 38.42 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007285/0.5745, allocations: 187.5 kB / 403.1 MB, free: 38.37 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001221/0.5758, allocations: 0.5409 MB / 403.6 MB, free: 38.07 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-05/0.5759, allocations: 31.23 kB / 403.6 MB, free: 38.05 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006231/0.5821, allocations: 8.765 MB / 412.4 MB, free: 29.42 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.5821, allocations: 4.031 kB / 412.4 MB, free: 29.41 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003747/0.5859, allocations: 2.853 MB / 415.3 MB, free: 26.5 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006586/0.5866, allocations: 355.2 kB / 415.6 MB, free: 26.14 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000195/0.5868, allocations: 27.98 kB / 415.6 MB, free: 26.11 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000758/0.5875, allocations: 63.92 kB / 415.7 MB, free: 26.05 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002311/0.5878, allocations: 89.77 kB / 415.8 MB, free: 25.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.351e-05/0.5878, allocations: 31.98 kB / 415.8 MB, free: 25.93 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001145/0.589, allocations: 0.8956 MB / 416.7 MB, free: 25.03 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.589, allocations: 0 / 416.7 MB, free: 25.03 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001595/0.5906, allocations: 438.6 kB / 417.1 MB, free: 24.61 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (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,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,1,100.0%), (2,8,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.0003472/0.5909, allocations: 182.7 kB / 417.3 MB, free: 24.42 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003613/0.5946, allocations: 2.569 MB / 419.9 MB, free: 21.79 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.5946, allocations: 0 / 419.9 MB, free: 21.79 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001851/0.5964, allocations: 1.503 MB / 421.4 MB, free: 20.21 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001905/0.5984, allocations: 425.8 kB / 421.8 MB, free: 19.81 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006132/0.6045, allocations: 4.139 MB / 426 MB, free: 15.63 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009714/0.6055, allocations: 1.646 MB / 427.6 MB, free: 13.95 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0009097/0.6064, allocations: 328.7 kB / 427.9 MB, free: 13.62 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002378/0.6067, allocations: 99.42 kB / 428 MB, free: 13.52 MB / 318.1 MB Notification: Performance of SimCode: time 1.122e-06/0.6067, allocations: 4 kB / 428 MB, free: 13.52 MB / 318.1 MB Notification: Performance of Templates: time 0.04183/0.6485, allocations: 23.71 MB / 451.7 MB, free: 5.812 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1)