Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_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.1_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.001859/0.001858, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001865/0.001865, allocations: 192.2 kB / 16.25 MB, free: 6.625 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.844/1.844, allocations: 205.1 MB / 222.1 MB, free: 4.75 MB / 174.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.001519/0.001519, allocations: 47.94 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3447, allocations: 46.62 MB / 324.9 MB, free: 1.953 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.01348/0.3583, allocations: 9.552 MB / 334.4 MB, free: 10.43 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009694/0.3681, allocations: 3.442 MB / 337.8 MB, free: 7.07 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003925/0.3721, allocations: 35.88 kB / 337.9 MB, free: 7.035 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004026/0.3762, allocations: 0.5983 MB / 338.5 MB, free: 6.434 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005288/0.3816, allocations: 0.7384 MB / 339.2 MB, free: 5.691 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002408/0.384, allocations: 403.5 kB / 339.6 MB, free: 5.297 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.006175/0.3902, allocations: 2.674 MB / 342.3 MB, free: 2.609 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003776/0.394, allocations: 1.822 MB / 344.1 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003089/0.3971, allocations: 1.183 MB / 345.3 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003597/0.4008, allocations: 1.588 MB / 346.9 MB, free: 13.96 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001374/0.4022, allocations: 308 kB / 347.2 MB, free: 13.66 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002749/0.4049, allocations: 0.5581 MB / 347.7 MB, free: 13.1 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002665/0.4076, allocations: 0.9817 MB / 348.7 MB, free: 12.12 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00493/0.4126, allocations: 1.489 MB / 350.2 MB, free: 10.62 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008473/0.4211, allocations: 4.229 MB / 354.4 MB, free: 6.379 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.247e-06/0.4212, allocations: 0 / 354.4 MB, free: 6.379 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.397e-06/0.4212, allocations: 0 / 354.4 MB, free: 6.379 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.000179/0.4214, allocations: 7.938 kB / 354.4 MB, free: 6.371 MB / 286.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.00937/0.4308, allocations: 3.15 MB / 357.6 MB, free: 3.152 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.447e-05/0.4308, allocations: 15.89 kB / 357.6 MB, free: 3.137 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.4319, allocations: 325.2 kB / 357.9 MB, free: 2.816 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003221/0.4352, allocations: 1.607 MB / 359.5 MB, free: 1.156 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001394/0.4353, allocations: 152 kB / 359.7 MB, free: 1.004 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003422/0.4357, allocations: 203.9 kB / 359.9 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005314/0.441, allocations: 2.702 MB / 362.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.862e-05/0.4411, allocations: 4 kB / 362.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001893/0.4413, allocations: 80 kB / 362.7 MB, free: 13.94 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001329/0.4414, allocations: 95.92 kB / 362.8 MB, free: 13.85 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004403/0.4458, allocations: 2.28 MB / 365 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01615/0.462, allocations: 8.232 MB / 373.3 MB, free: 3.133 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003127/0.4652, allocations: 1.624 MB / 374.9 MB, free: 1.449 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001992/0.4672, allocations: 1.085 MB / 376 MB, free: 372 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003016/0.4676, allocations: 126 kB / 376.1 MB, free: 224 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.323e-05/0.4676, allocations: 51.5 kB / 376.2 MB, free: 164 kB / 302.1 MB Notification: Performance of pre-optimization done (n=116): time 4.889e-06/0.4676, allocations: 0 / 376.2 MB, free: 164 kB / 302.1 MB Notification: Performance of matching and sorting (n=132): time 0.01371/0.4814, allocations: 6.214 MB / 382.4 MB, free: 9.84 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.292e-05/0.4815, allocations: 68.72 kB / 382.4 MB, free: 9.758 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003306/0.4848, allocations: 2.156 MB / 384.6 MB, free: 7.555 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003275/0.4852, allocations: 49.7 kB / 384.6 MB, free: 7.5 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008811/0.486, allocations: 1.104 MB / 385.7 MB, free: 6.383 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005359/0.4866, allocations: 461.2 kB / 386.2 MB, free: 5.926 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005048/0.4871, allocations: 239.5 kB / 386.4 MB, free: 5.684 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002128/0.4873, allocations: 353.9 kB / 386.8 MB, free: 5.332 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001385/0.4887, allocations: 0.7691 MB / 387.5 MB, free: 4.562 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001509/0.4902, allocations: 1.009 MB / 388.6 MB, free: 3.465 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002804/0.4931, allocations: 1.865 MB / 390.4 MB, free: 1.512 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.4931, allocations: 3.938 kB / 390.4 MB, free: 1.508 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005506/0.4986, allocations: 2.765 MB / 393.2 MB, free: 14.73 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.313e-05/0.4987, allocations: 4 kB / 393.2 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.374e-05/0.4987, allocations: 8 kB / 393.2 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00217/0.5009, allocations: 0.7965 MB / 394 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/0.5021, allocations: 271.6 kB / 394.3 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0125/0.5147, allocations: 9.589 MB / 403.9 MB, free: 3.781 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00195/0.5167, allocations: 99.89 kB / 403.9 MB, free: 3.684 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001829/0.5169, allocations: 47.98 kB / 404 MB, free: 3.637 MB / 334.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.001513/0.5184, allocations: 0.7473 MB / 404.7 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005547/0.519, allocations: 201.5 kB / 404.9 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00461/0.5236, allocations: 2.488 MB / 407.4 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.32e-05/0.5236, allocations: 16 kB / 407.4 MB, free: 152 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/0.5237, allocations: 7.938 kB / 407.5 MB, free: 144 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.809e-05/0.5237, allocations: 11.91 kB / 407.5 MB, free: 132 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009568/0.5333, allocations: 4.94 MB / 412.4 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.225e-05/0.5333, allocations: 3.938 kB / 412.4 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/0.5344, allocations: 211.9 kB / 412.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001932/0.5364, allocations: 0.6627 MB / 413.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001595/0.5365, allocations: 43.94 kB / 413.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01038/0.5469, allocations: 8.688 MB / 422 MB, free: 1.059 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.547, allocations: 0 / 422 MB, free: 1.059 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007057/0.5541, allocations: 3.53 MB / 425.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001307/0.5554, allocations: 450.4 kB / 426 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003431/0.5558, allocations: 28 kB / 426 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/0.5569, allocations: 87.89 kB / 426.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003655/0.5573, allocations: 104.8 kB / 426.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/0.5574, allocations: 35.98 kB / 426.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002596/0.56, allocations: 1.523 MB / 427.8 MB, free: 11.22 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.56, allocations: 0 / 427.8 MB, free: 11.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002784/0.5628, allocations: 0.5236 MB / 428.3 MB, free: 10.7 MB / 366.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.0014/0.5642, allocations: 463.5 kB / 428.7 MB, free: 10.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006137/0.5704, allocations: 2.861 MB / 431.6 MB, free: 7.355 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/0.5704, allocations: 4.312 kB / 431.6 MB, free: 7.352 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002756/0.5732, allocations: 1.597 MB / 433.2 MB, free: 5.691 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002813/0.576, allocations: 446.1 kB / 433.6 MB, free: 5.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01092/0.587, allocations: 6.133 MB / 439.8 MB, free: 15.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00219/0.5892, allocations: 1.947 MB / 441.7 MB, free: 13.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00163/0.5909, allocations: 391.7 kB / 442.1 MB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000423/0.5913, allocations: 127.4 kB / 442.2 MB, free: 12.57 MB / 382.1 MB Notification: Performance of SimCode: time 1.333e-06/0.5913, allocations: 0 / 442.2 MB, free: 12.57 MB / 382.1 MB Notification: Performance of Templates: time 0.332/0.9233, allocations: 30.04 MB / 472.2 MB, free: 103.9 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe 2>&1)