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.0008861/0.0008861, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001142/0.001142, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.677/1.677, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.0005045/0.0005046, allocations: 16 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2921, allocations: 47.57 MB / 326.5 MB, free: 1.293 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.01069/0.3028, allocations: 8.503 MB / 335 MB, free: 10.65 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00786/0.3107, allocations: 3.278 MB / 338.3 MB, free: 7.602 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001952/0.3127, allocations: 35.81 kB / 338.3 MB, free: 7.566 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00223/0.3149, allocations: 0.5359 MB / 338.8 MB, free: 7.027 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003188/0.3181, allocations: 0.7032 MB / 339.5 MB, free: 6.32 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001473/0.3196, allocations: 323.5 kB / 339.8 MB, free: 6.004 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004029/0.3237, allocations: 2.736 MB / 342.6 MB, free: 3.254 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002431/0.3261, allocations: 1.28 MB / 343.9 MB, free: 1.941 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002002/0.3281, allocations: 0.9221 MB / 344.8 MB, free: 1.016 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002848/0.331, allocations: 1.323 MB / 346.1 MB, free: 15.69 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000891/0.3319, allocations: 140 kB / 346.2 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001611/0.3335, allocations: 343.6 kB / 346.6 MB, free: 15.21 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001377/0.3349, allocations: 0.7905 MB / 347.4 MB, free: 14.42 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001217/0.3361, allocations: 0.5081 MB / 347.9 MB, free: 13.91 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004253/0.3404, allocations: 3.385 MB / 351.3 MB, free: 10.51 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.3404, allocations: 4 kB / 351.3 MB, free: 10.51 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3404, allocations: 0 / 351.3 MB, free: 10.51 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001204/0.3406, allocations: 0 / 351.3 MB, free: 10.51 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.005667/0.3462, allocations: 2.714 MB / 354 MB, free: 7.727 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.723e-05/0.3463, allocations: 12.03 kB / 354 MB, free: 7.715 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008107/0.3471, allocations: 324.3 kB / 354.3 MB, free: 7.395 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002554/0.3497, allocations: 1.526 MB / 355.8 MB, free: 5.816 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001317/0.3498, allocations: 160 kB / 356 MB, free: 5.656 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003287/0.3502, allocations: 207.9 kB / 356.2 MB, free: 5.453 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004811/0.355, allocations: 2.686 MB / 358.9 MB, free: 2.688 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.162e-05/0.3551, allocations: 7.906 kB / 358.9 MB, free: 2.68 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001917/0.3553, allocations: 87.94 kB / 359 MB, free: 2.594 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001169/0.3554, allocations: 99.92 kB / 359.1 MB, free: 2.496 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004108/0.3595, allocations: 2.291 MB / 361.4 MB, free: 208 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01313/0.3726, allocations: 8.26 MB / 369.6 MB, free: 7.742 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002835/0.3755, allocations: 1.628 MB / 371.2 MB, free: 6.055 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0018/0.3773, allocations: 1.112 MB / 372.4 MB, free: 4.945 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002668/0.3776, allocations: 130 kB / 372.5 MB, free: 4.797 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.3777, allocations: 47.56 kB / 372.5 MB, free: 4.742 MB / 302.1 MB Notification: Performance of pre-optimization done (n=116): time 3.176e-06/0.3777, allocations: 0 / 372.5 MB, free: 4.742 MB / 302.1 MB Notification: Performance of matching and sorting (n=132): time 0.01266/0.3904, allocations: 6.257 MB / 378.8 MB, free: 14.38 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.3904, allocations: 64.72 kB / 378.9 MB, free: 14.31 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003119/0.3936, allocations: 2.148 MB / 381 MB, free: 12.11 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001379/0.3937, allocations: 45.7 kB / 381 MB, free: 12.06 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008634/0.3946, allocations: 1.108 MB / 382.2 MB, free: 10.94 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003811/0.395, allocations: 461.3 kB / 382.6 MB, free: 10.48 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.823e-05/0.3951, allocations: 28 kB / 382.6 MB, free: 10.46 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.3952, allocations: 357.9 kB / 383 MB, free: 10.1 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001257/0.3965, allocations: 0.7652 MB / 383.7 MB, free: 9.336 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001405/0.3979, allocations: 1.025 MB / 384.8 MB, free: 8.223 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/0.3993, allocations: 0.8964 MB / 385.7 MB, free: 7.324 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.3993, allocations: 8 kB / 385.7 MB, free: 7.316 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004933/0.4043, allocations: 2.773 MB / 388.4 MB, free: 4.523 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.4043, allocations: 8 kB / 388.5 MB, free: 4.516 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/0.4043, allocations: 4 kB / 388.5 MB, free: 4.512 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001828/0.4062, allocations: 0.7892 MB / 389.3 MB, free: 3.719 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/0.4072, allocations: 283.5 kB / 389.5 MB, free: 3.441 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01097/0.4182, allocations: 8.739 MB / 398.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001586/0.4198, allocations: 95.89 kB / 398.4 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/0.42, allocations: 47.98 kB / 398.4 MB, free: 10.29 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(6,88.9%) 33} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001472/0.4214, allocations: 0.7433 MB / 399.1 MB, free: 9.535 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003465/0.4218, allocations: 209.5 kB / 399.4 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004315/0.4261, allocations: 2.5 MB / 401.9 MB, free: 6.809 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.409e-05/0.4261, allocations: 16 kB / 401.9 MB, free: 6.793 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.4262, allocations: 8 kB / 401.9 MB, free: 6.785 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.479e-05/0.4262, allocations: 11.97 kB / 401.9 MB, free: 6.773 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008309/0.4345, allocations: 4.96 MB / 406.9 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.762e-06/0.4345, allocations: 0 / 406.9 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009638/0.4355, allocations: 228 kB / 407.1 MB, free: 1.496 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001584/0.4371, allocations: 0.6472 MB / 407.7 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.233e-05/0.4372, allocations: 31.97 kB / 407.8 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008869/0.4461, allocations: 7.914 MB / 415.7 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.4461, allocations: 8.016 kB / 415.7 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006298/0.4524, allocations: 3.558 MB / 419.2 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001004/0.4534, allocations: 446.5 kB / 419.7 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002215/0.4537, allocations: 27.98 kB / 419.7 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008519/0.4545, allocations: 95.84 kB / 419.8 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002841/0.4548, allocations: 108.8 kB / 419.9 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.275e-05/0.4549, allocations: 35.98 kB / 419.9 MB, free: 4.148 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002456/0.4574, allocations: 1.512 MB / 421.4 MB, free: 2.613 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4574, allocations: 0 / 421.4 MB, free: 2.613 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002023/0.4594, allocations: 0.5274 MB / 422 MB, free: 2.086 MB / 350.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 (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 6,(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001062/0.4605, allocations: 418.3 kB / 422.4 MB, free: 1.676 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004044/0.4645, allocations: 2.384 MB / 424.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.4646, allocations: 5.25 kB / 424.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002509/0.4671, allocations: 1.616 MB / 426.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001923/0.469, allocations: 426.5 kB / 426.8 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008491/0.4775, allocations: 6.016 MB / 432.8 MB, free: 7.105 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00164/0.4792, allocations: 1.955 MB / 434.8 MB, free: 5.113 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001129/0.4803, allocations: 379.7 kB / 435.1 MB, free: 4.738 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003481/0.4807, allocations: 127.4 kB / 435.3 MB, free: 4.613 MB / 366.1 MB Notification: Performance of SimCode: time 2.324e-06/0.4807, allocations: 0 / 435.3 MB, free: 4.613 MB / 366.1 MB Notification: Performance of Templates: time 0.2292/0.7098, allocations: 27.69 MB / 463 MB, free: 104.5 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)