Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.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_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 90.19 kB / 16.65 MB, free: 6.59 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.00141/0.001411, allocations: 182.9 kB / 17.56 MB, free: 6.203 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.983/1.983, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.0005072/0.0005073, allocations: 12 kB / 280.7 MB, free: 3.398 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1007, allocations: 47.58 MB / 328.3 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.01029/0.111, allocations: 8.306 MB / 336.6 MB, free: 11.4 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006824/0.1179, allocations: 2.856 MB / 339.5 MB, free: 8.527 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001732/0.1197, allocations: 35.81 kB / 339.5 MB, free: 8.492 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002136/0.1218, allocations: 0.5325 MB / 340.1 MB, free: 7.957 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003048/0.1249, allocations: 0.6528 MB / 340.7 MB, free: 7.301 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.1261, allocations: 287.7 kB / 341 MB, free: 7.02 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004764/0.1308, allocations: 2.775 MB / 343.8 MB, free: 4.23 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002836/0.1337, allocations: 1.398 MB / 345.2 MB, free: 2.789 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00191/0.1356, allocations: 0.8168 MB / 346 MB, free: 1.969 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00257/0.1382, allocations: 1.163 MB / 347.1 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007499/0.139, allocations: 127.9 kB / 347.3 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00129/0.1403, allocations: 219.8 kB / 347.5 MB, free: 472 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001004/0.1413, allocations: 0.6229 MB / 348.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001542/0.1429, allocations: 1.082 MB / 349.2 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003598/0.1465, allocations: 3.445 MB / 352.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.1465, allocations: 0 / 352.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.1465, allocations: 0 / 352.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.396e-05/0.1466, allocations: 4 kB / 352.6 MB, free: 11.28 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.004674/0.1513, allocations: 2.189 MB / 354.8 MB, free: 9.035 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.1513, allocations: 15.97 kB / 354.8 MB, free: 9.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006902/0.152, allocations: 258.1 kB / 355.1 MB, free: 8.766 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002095/0.1541, allocations: 1.307 MB / 356.4 MB, free: 7.402 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/0.1542, allocations: 132 kB / 356.5 MB, free: 7.273 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002965/0.1546, allocations: 192 kB / 356.7 MB, free: 7.086 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004108/0.1587, allocations: 2.413 MB / 359.1 MB, free: 4.637 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.074e-05/0.1587, allocations: 7.906 kB / 359.1 MB, free: 4.629 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000165/0.1589, allocations: 72 kB / 359.2 MB, free: 4.559 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-05/0.159, allocations: 87.5 kB / 359.3 MB, free: 4.473 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003639/0.1627, allocations: 2.036 MB / 361.3 MB, free: 2.434 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0129/0.1756, allocations: 7.506 MB / 368.8 MB, free: 10.72 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002002/0.1776, allocations: 1.276 MB / 370.1 MB, free: 9.383 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00167/0.1793, allocations: 0.912 MB / 371 MB, free: 8.465 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002594/0.1796, allocations: 118.1 kB / 371.1 MB, free: 8.332 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.269e-05/0.1796, allocations: 47.56 kB / 371.2 MB, free: 8.273 MB / 318.1 MB Notification: Performance of pre-optimization done (n=84): time 4.188e-06/0.1797, allocations: 0 / 371.2 MB, free: 8.273 MB / 318.1 MB Notification: Performance of matching and sorting (n=100): time 0.009747/0.1894, allocations: 5.043 MB / 376.2 MB, free: 3.117 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.1895, allocations: 64.41 kB / 376.3 MB, free: 3.043 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002188/0.1917, allocations: 1.38 MB / 377.7 MB, free: 1.656 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001042/0.1918, allocations: 41.7 kB / 377.7 MB, free: 1.609 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007449/0.1926, allocations: 0.8931 MB / 378.6 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000342/0.1929, allocations: 350.9 kB / 378.9 MB, free: 364 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001551/0.1931, allocations: 101.7 kB / 379 MB, free: 256 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.2262/0.4193, allocations: 353.8 kB / 379.4 MB, free: 50.63 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001742/0.4211, allocations: 0.638 MB / 380 MB, free: 50.63 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001233/0.4223, allocations: 0.9361 MB / 381 MB, free: 50.31 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002685/0.425, allocations: 1.657 MB / 382.6 MB, free: 49.94 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.425, allocations: 2.312 kB / 382.6 MB, free: 49.94 MB / 318.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004739/0.4298, allocations: 2.407 MB / 385 MB, free: 49.14 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.152e-05/0.4298, allocations: 9.906 kB / 385 MB, free: 49.14 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.202e-05/0.4298, allocations: 9.531 kB / 385.1 MB, free: 49.14 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002067/0.4319, allocations: 0.7128 MB / 385.8 MB, free: 48.96 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009454/0.4329, allocations: 244.3 kB / 386 MB, free: 48.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01131/0.4442, allocations: 8.027 MB / 394 MB, free: 44.28 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/0.4457, allocations: 91.52 kB / 394.1 MB, free: 44.26 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/0.4459, allocations: 44.62 kB / 394.2 MB, free: 44.25 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (114): * Single equations (assignments): 112 * 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%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001551/0.4474, allocations: 0.6242 MB / 394.8 MB, free: 43.9 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003927/0.4478, allocations: 142.3 kB / 394.9 MB, free: 43.9 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003085/0.4509, allocations: 1.913 MB / 396.8 MB, free: 43.14 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.4509, allocations: 11.75 kB / 396.9 MB, free: 43.14 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.4509, allocations: 3.938 kB / 396.9 MB, free: 43.14 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.451, allocations: 3.656 kB / 396.9 MB, free: 43.14 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00559/0.4566, allocations: 4.034 MB / 400.9 MB, free: 41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.4566, allocations: 3.625 kB / 400.9 MB, free: 41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007238/0.4573, allocations: 182.5 kB / 401.1 MB, free: 40.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00104/0.4584, allocations: 477.5 kB / 401.5 MB, free: 40.7 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-05/0.4584, allocations: 27.77 kB / 401.6 MB, free: 40.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004482/0.4629, allocations: 6.151 MB / 407.7 MB, free: 34.21 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.463, allocations: 4 kB / 407.7 MB, free: 34.2 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003626/0.4666, allocations: 2.796 MB / 410.5 MB, free: 31.39 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006467/0.4673, allocations: 363.2 kB / 410.9 MB, free: 31.02 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00017/0.4674, allocations: 20 kB / 410.9 MB, free: 31 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007026/0.4681, allocations: 83.91 kB / 411 MB, free: 30.91 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001897/0.4683, allocations: 80.77 kB / 411.1 MB, free: 30.84 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.411e-05/0.4684, allocations: 31.98 kB / 411.1 MB, free: 30.8 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001231/0.4696, allocations: 0.9504 MB / 412 MB, free: 29.85 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.302e-06/0.4697, allocations: 0 / 412 MB, free: 29.85 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001488/0.4711, allocations: 445.8 kB / 412.5 MB, free: 29.43 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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],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 (84): * Single equations (assignments): 80 * 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.0003806/0.4715, allocations: 176.5 kB / 412.6 MB, free: 29.25 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003396/0.4749, allocations: 2.014 MB / 414.7 MB, free: 27.21 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.475, allocations: 4 kB / 414.7 MB, free: 27.21 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00179/0.4768, allocations: 1.351 MB / 416 MB, free: 25.8 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002229/0.479, allocations: 357.4 kB / 416.4 MB, free: 25.45 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006728/0.4858, allocations: 4.991 MB / 421.4 MB, free: 20.41 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00113/0.4869, allocations: 1.689 MB / 423 MB, free: 18.7 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0009927/0.4879, allocations: 312 kB / 423.3 MB, free: 18.39 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002555/0.4882, allocations: 99.41 kB / 423.4 MB, free: 18.29 MB / 318.1 MB Notification: Performance of SimCode: time 1.242e-06/0.4882, allocations: 0 / 423.4 MB, free: 18.29 MB / 318.1 MB Notification: Performance of Templates: time 0.03639/0.5246, allocations: 22.69 MB / 446.1 MB, free: 11.58 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1)