Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.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_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 103.3 kB / 16.51 MB, free: 6.719 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.001215/0.001215, allocations: 190.5 kB / 17.43 MB, free: 6.062 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.728/1.728, allocations: 205.1 MB / 223.3 MB, free: 12.49 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.001393/0.001393, allocations: 43.94 kB / 279.3 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1313, allocations: 46.63 MB / 326 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.01329/0.1446, allocations: 9.556 MB / 335.5 MB, free: 11.28 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01032/0.155, allocations: 3.457 MB / 339 MB, free: 7.812 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002754/0.1578, allocations: 39.81 kB / 339 MB, free: 7.773 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00306/0.161, allocations: 0.5905 MB / 339.6 MB, free: 7.18 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004769/0.1658, allocations: 0.7383 MB / 340.3 MB, free: 6.438 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00217/0.168, allocations: 403.5 kB / 340.7 MB, free: 6.043 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005476/0.1735, allocations: 3.052 MB / 343.8 MB, free: 2.977 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002796/0.1763, allocations: 1.485 MB / 345.3 MB, free: 1.449 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002267/0.1786, allocations: 1.031 MB / 346.3 MB, free: 424 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003934/0.1826, allocations: 1.51 MB / 347.8 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001135/0.1838, allocations: 192 kB / 348 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001838/0.1856, allocations: 463.3 kB / 348.5 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001066/0.1867, allocations: 0.8645 MB / 349.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002332/0.189, allocations: 1.364 MB / 350.7 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004988/0.194, allocations: 4.143 MB / 354.8 MB, free: 7.863 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.1941, allocations: 0 / 354.8 MB, free: 7.863 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1941, allocations: 0 / 354.8 MB, free: 7.863 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001473/0.1943, allocations: 0 / 354.8 MB, free: 7.863 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.009565/0.2038, allocations: 3.15 MB / 358 MB, free: 4.645 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.752e-05/0.2039, allocations: 8.031 kB / 358 MB, free: 4.637 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.2049, allocations: 329.2 kB / 358.3 MB, free: 4.312 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003011/0.2079, allocations: 1.607 MB / 359.9 MB, free: 2.652 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001367/0.2081, allocations: 152 kB / 360.1 MB, free: 2.5 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003749/0.2085, allocations: 203.9 kB / 360.3 MB, free: 2.301 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005359/0.2139, allocations: 2.698 MB / 363 MB, free: 15.52 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.313e-05/0.214, allocations: 0 / 363 MB, free: 15.52 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000201/0.2142, allocations: 84 kB / 363 MB, free: 15.44 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001406/0.2143, allocations: 95.92 kB / 363.1 MB, free: 15.35 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004651/0.219, allocations: 2.283 MB / 365.4 MB, free: 13.06 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01719/0.2362, allocations: 8.228 MB / 373.6 MB, free: 4.633 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003761/0.24, allocations: 1.63 MB / 375.3 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0022/0.2423, allocations: 1.082 MB / 376.4 MB, free: 1.859 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004076/0.2427, allocations: 138 kB / 376.5 MB, free: 1.703 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.132e-05/0.2428, allocations: 47.5 kB / 376.5 MB, free: 1.648 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 5.681e-06/0.2429, allocations: 0 / 376.5 MB, free: 1.648 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.2404/0.4833, allocations: 6.191 MB / 382.7 MB, free: 50.22 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.4834, allocations: 64.59 kB / 382.8 MB, free: 50.16 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003561/0.4869, allocations: 2.156 MB / 385 MB, free: 49.39 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001245/0.4871, allocations: 47.3 kB / 385 MB, free: 49.34 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008326/0.4879, allocations: 1.11 MB / 386.1 MB, free: 48.49 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003687/0.4883, allocations: 453.8 kB / 386.6 MB, free: 48.14 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004249/0.4887, allocations: 243.8 kB / 386.8 MB, free: 48.03 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.4889, allocations: 368.3 kB / 387.1 MB, free: 47.7 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00142/0.4903, allocations: 0.7623 MB / 387.9 MB, free: 47.44 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001532/0.4918, allocations: 1.01 MB / 388.9 MB, free: 46.9 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00282/0.4947, allocations: 1.856 MB / 390.8 MB, free: 45.98 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.4947, allocations: 3.938 kB / 390.8 MB, free: 45.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00486/0.4996, allocations: 2.764 MB / 393.5 MB, free: 44.96 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.748e-05/0.4996, allocations: 8.25 kB / 393.6 MB, free: 44.96 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/0.4996, allocations: 6.875 kB / 393.6 MB, free: 44.96 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001895/0.5015, allocations: 0.7876 MB / 394.3 MB, free: 44.76 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009854/0.5025, allocations: 273.2 kB / 394.6 MB, free: 44.74 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008881/0.5114, allocations: 8.749 MB / 403.4 MB, free: 38.54 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/0.5131, allocations: 99.83 kB / 403.5 MB, free: 38.44 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/0.5132, allocations: 47.98 kB / 403.5 MB, free: 38.39 MB / 318.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.001281/0.5145, allocations: 0.7355 MB / 404.2 MB, free: 37.64 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003965/0.5149, allocations: 205.5 kB / 404.4 MB, free: 37.44 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003753/0.5187, allocations: 2.493 MB / 406.9 MB, free: 34.93 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.308e-05/0.5187, allocations: 18.44 kB / 407 MB, free: 34.91 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/0.5187, allocations: 4 kB / 407 MB, free: 34.91 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.5188, allocations: 11.91 kB / 407 MB, free: 34.9 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007187/0.5259, allocations: 4.961 MB / 411.9 MB, free: 29.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/0.526, allocations: 0 / 411.9 MB, free: 29.89 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009033/0.5269, allocations: 211.7 kB / 412.1 MB, free: 29.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001511/0.5284, allocations: 0.656 MB / 412.8 MB, free: 29.01 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-05/0.5285, allocations: 35.73 kB / 412.8 MB, free: 28.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00733/0.5359, allocations: 7.903 MB / 420.7 MB, free: 20.71 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5359, allocations: 0 / 420.7 MB, free: 20.71 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005753/0.5416, allocations: 3.534 MB / 424.3 MB, free: 17.13 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001324/0.543, allocations: 446.4 kB / 424.7 MB, free: 16.67 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007324/0.5437, allocations: 31.98 kB / 424.7 MB, free: 16.64 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001455/0.5452, allocations: 83.91 kB / 424.8 MB, free: 16.56 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003239/0.5455, allocations: 100.8 kB / 424.9 MB, free: 16.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/0.5457, allocations: 46.38 kB / 425 MB, free: 16.42 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.002676/0.5483, allocations: 1.515 MB / 426.5 MB, free: 14.88 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5483, allocations: 0 / 426.5 MB, free: 14.88 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002426/0.5508, allocations: 0.5246 MB / 427 MB, free: 14.36 MB / 318.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.001352/0.5521, allocations: 468.3 kB / 427.5 MB, free: 13.94 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003874/0.556, allocations: 2.373 MB / 429.8 MB, free: 11.55 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.5561, allocations: 8.125 kB / 429.8 MB, free: 11.54 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002189/0.5582, allocations: 1.586 MB / 431.4 MB, free: 9.895 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002635/0.5609, allocations: 437.7 kB / 431.9 MB, free: 9.465 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008602/0.5695, allocations: 6.137 MB / 438 MB, free: 3.293 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001851/0.5714, allocations: 1.951 MB / 439.9 MB, free: 1.312 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.00127/0.5727, allocations: 379.7 kB / 440.3 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004414/0.5731, allocations: 127.4 kB / 440.4 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of SimCode: time 1.162e-06/0.5731, allocations: 0 / 440.4 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of Templates: time 0.05759/0.6307, allocations: 28.95 MB / 469.4 MB, free: 3.828 MB / 350.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe 2>&1)