Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001122/0.001122, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008301/0.008301, allocations: 168.9 kB / 16.26 MB, free: 6.652 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.795/1.795, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.0004941/0.0004942, allocations: 12 kB / 279.5 MB, free: 12.49 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3053, allocations: 47.58 MB / 327 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.01156/0.3169, allocations: 9.024 MB / 336.1 MB, free: 10.27 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008794/0.3257, allocations: 3.423 MB / 339.5 MB, free: 6.883 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001749/0.3275, allocations: 35.81 kB / 339.5 MB, free: 6.848 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001864/0.3294, allocations: 0.5867 MB / 340.1 MB, free: 6.258 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003046/0.3325, allocations: 0.7461 MB / 340.9 MB, free: 5.508 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001202/0.3337, allocations: 403.4 kB / 341.2 MB, free: 5.113 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004215/0.3379, allocations: 3.044 MB / 344.3 MB, free: 2.055 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00196/0.3399, allocations: 1.485 MB / 345.8 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001632/0.3415, allocations: 0.9179 MB / 346.7 MB, free: 15.61 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001936/0.3435, allocations: 1.362 MB / 348.1 MB, free: 14.24 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000264/0.3438, allocations: 140 kB / 348.2 MB, free: 14.1 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009762/0.3447, allocations: 407.5 kB / 348.6 MB, free: 13.7 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000754/0.3455, allocations: 0.7942 MB / 349.4 MB, free: 12.91 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001405/0.3469, allocations: 1.287 MB / 350.7 MB, free: 11.61 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004194/0.3511, allocations: 4.021 MB / 354.7 MB, free: 7.57 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.3512, allocations: 4 kB / 354.7 MB, free: 7.566 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.3512, allocations: 0 / 354.7 MB, free: 7.566 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.345e-05/0.3513, allocations: 0 / 354.7 MB, free: 7.566 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.005626/0.3569, allocations: 2.687 MB / 357.4 MB, free: 4.812 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.357, allocations: 12.03 kB / 357.4 MB, free: 4.801 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009064/0.3579, allocations: 325.2 kB / 357.7 MB, free: 4.48 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003319/0.3612, allocations: 1.603 MB / 359.3 MB, free: 2.824 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001295/0.3614, allocations: 156 kB / 359.5 MB, free: 2.668 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003433/0.3617, allocations: 207.9 kB / 359.7 MB, free: 2.465 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005142/0.3669, allocations: 2.71 MB / 362.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.878e-05/0.367, allocations: 3.906 kB / 362.4 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002013/0.3672, allocations: 87.94 kB / 362.5 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001473/0.3673, allocations: 95.92 kB / 362.6 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004707/0.372, allocations: 2.303 MB / 364.9 MB, free: 13.19 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01607/0.3881, allocations: 8.271 MB / 373.1 MB, free: 4.715 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003188/0.3914, allocations: 1.634 MB / 374.8 MB, free: 3.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002065/0.3935, allocations: 1.11 MB / 375.9 MB, free: 1.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003996/0.3939, allocations: 130.1 kB / 376 MB, free: 1.762 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.592e-05/0.394, allocations: 51.5 kB / 376.1 MB, free: 1.703 MB / 302.1 MB Notification: Performance of pre-optimization done (n=116): time 4.509e-06/0.394, allocations: 4 kB / 376.1 MB, free: 1.699 MB / 302.1 MB Notification: Performance of matching and sorting (n=132): time 0.01483/0.4088, allocations: 6.28 MB / 382.3 MB, free: 11.32 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.4089, allocations: 64.72 kB / 382.4 MB, free: 11.24 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003194/0.4121, allocations: 2.16 MB / 384.6 MB, free: 9.031 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001195/0.4122, allocations: 49.69 kB / 384.6 MB, free: 8.977 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008845/0.4131, allocations: 1.1 MB / 385.7 MB, free: 7.863 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003979/0.4135, allocations: 461.3 kB / 386.2 MB, free: 7.406 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002067/0.4138, allocations: 113.7 kB / 386.3 MB, free: 7.289 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.4139, allocations: 357.9 kB / 386.6 MB, free: 6.934 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001287/0.4152, allocations: 0.773 MB / 387.4 MB, free: 6.16 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001452/0.4167, allocations: 1.025 MB / 388.4 MB, free: 5.047 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002914/0.4196, allocations: 1.885 MB / 390.3 MB, free: 3.074 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.665e-06/0.4196, allocations: 4 kB / 390.3 MB, free: 3.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005347/0.425, allocations: 2.788 MB / 393.1 MB, free: 268 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/0.425, allocations: 8 kB / 393.1 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.425, allocations: 8 kB / 393.1 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002045/0.4271, allocations: 0.7814 MB / 393.9 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/0.4282, allocations: 279.6 kB / 394.2 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01204/0.4403, allocations: 8.75 MB / 402.9 MB, free: 6.164 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001877/0.4422, allocations: 107.8 kB / 403 MB, free: 6.059 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001555/0.4424, allocations: 55.98 kB / 403.1 MB, free: 6.004 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.001707/0.4441, allocations: 0.7395 MB / 403.8 MB, free: 5.254 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005083/0.4446, allocations: 197.7 kB / 404 MB, free: 5.059 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0052/0.4498, allocations: 2.535 MB / 406.6 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.93e-05/0.4499, allocations: 12 kB / 406.6 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/0.4499, allocations: 8 kB / 406.6 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-05/0.4499, allocations: 7.969 kB / 406.6 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009074/0.459, allocations: 4.964 MB / 411.5 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/0.459, allocations: 8.031 kB / 411.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009833/0.46, allocations: 223.6 kB / 411.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001813/0.4618, allocations: 0.6471 MB / 412.4 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001114/0.462, allocations: 43.91 kB / 412.5 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009193/0.4712, allocations: 7.917 MB / 420.4 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.4712, allocations: 4.031 kB / 420.4 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006749/0.478, allocations: 3.573 MB / 424 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001256/0.4793, allocations: 450.4 kB / 424.4 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002109/0.4795, allocations: 27.98 kB / 424.4 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009474/0.4804, allocations: 96.05 kB / 424.5 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003102/0.4808, allocations: 104.8 kB / 424.6 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.495e-05/0.4809, allocations: 35.98 kB / 424.7 MB, free: 15.81 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002343/0.4832, allocations: 1.519 MB / 426.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.4832, allocations: 0 / 426.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002251/0.4855, allocations: 0.5195 MB / 426.7 MB, free: 13.75 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.001252/0.4867, allocations: 462.6 kB / 427.1 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004411/0.4912, allocations: 2.399 MB / 429.5 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.4912, allocations: 0 / 429.5 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00264/0.4938, allocations: 1.625 MB / 431.2 MB, free: 9.184 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002639/0.4965, allocations: 426.3 kB / 431.6 MB, free: 8.762 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009306/0.5058, allocations: 6.272 MB / 437.9 MB, free: 2.445 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00164/0.5075, allocations: 1.947 MB / 439.8 MB, free: 472 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001426/0.5089, allocations: 395.7 kB / 440.2 MB, free: 72 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003838/0.5093, allocations: 127.4 kB / 440.3 MB, free: 15.95 MB / 382.1 MB Notification: Performance of SimCode: time 1.263e-06/0.5093, allocations: 4 kB / 440.3 MB, free: 15.94 MB / 382.1 MB Notification: Performance of Templates: time 0.2835/0.7928, allocations: 28.38 MB / 468.7 MB, free: 106.1 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe 2>&1)