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.001062/0.001063, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.0009289/0.0009291, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.036/2.036, allocations: 205.4 MB / 222.1 MB, free: 5.367 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.0004414/0.0004414, allocations: 12 kB / 278.9 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3156, allocations: 47.59 MB / 326.5 MB, free: 1.461 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.01259/0.3283, allocations: 8.491 MB / 335 MB, free: 10.83 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009571/0.338, allocations: 3.275 MB / 338.3 MB, free: 7.684 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002074/0.3401, allocations: 43.81 kB / 338.3 MB, free: 7.641 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001909/0.342, allocations: 0.5359 MB / 338.8 MB, free: 7.102 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003084/0.3451, allocations: 0.6954 MB / 339.5 MB, free: 6.402 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001676/0.3468, allocations: 327.5 kB / 339.8 MB, free: 6.082 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005042/0.3519, allocations: 2.74 MB / 342.6 MB, free: 3.328 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00231/0.3542, allocations: 1.276 MB / 343.9 MB, free: 2.02 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002367/0.3566, allocations: 0.9221 MB / 344.8 MB, free: 1.094 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003535/0.3601, allocations: 1.327 MB / 346.1 MB, free: 15.76 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004627/0.3606, allocations: 136 kB / 346.2 MB, free: 15.63 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001294/0.3619, allocations: 339.6 kB / 346.6 MB, free: 15.3 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009749/0.3629, allocations: 0.7982 MB / 347.4 MB, free: 14.5 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009352/0.3638, allocations: 0.5042 MB / 347.9 MB, free: 13.98 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003626/0.3675, allocations: 3.385 MB / 351.3 MB, free: 10.59 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.3675, allocations: 0 / 351.3 MB, free: 10.59 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.11e-06/0.3675, allocations: 3.984 kB / 351.3 MB, free: 10.59 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.00017/0.3677, allocations: 0 / 351.3 MB, free: 10.59 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.006599/0.3743, allocations: 2.714 MB / 354 MB, free: 7.805 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.3744, allocations: 8.031 kB / 354 MB, free: 7.797 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/0.3754, allocations: 324.3 kB / 354.3 MB, free: 7.477 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002958/0.3784, allocations: 1.537 MB / 355.8 MB, free: 5.887 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/0.3785, allocations: 152 kB / 356 MB, free: 5.734 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000334/0.3789, allocations: 203.9 kB / 356.2 MB, free: 5.535 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005196/0.3841, allocations: 2.69 MB / 358.9 MB, free: 2.766 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.436e-05/0.3841, allocations: 7.906 kB / 358.9 MB, free: 2.758 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001869/0.3843, allocations: 83.95 kB / 359 MB, free: 2.676 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001237/0.3845, allocations: 95.92 kB / 359.1 MB, free: 2.582 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004234/0.3887, allocations: 2.291 MB / 361.4 MB, free: 296 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01434/0.4031, allocations: 8.271 MB / 369.6 MB, free: 7.816 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002814/0.4059, allocations: 1.636 MB / 371.3 MB, free: 6.121 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001925/0.4079, allocations: 1.104 MB / 372.4 MB, free: 5.02 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002851/0.4082, allocations: 122.1 kB / 372.5 MB, free: 4.879 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/0.4082, allocations: 47.5 kB / 372.5 MB, free: 4.824 MB / 302.1 MB Notification: Performance of pre-optimization done (n=116): time 3.938e-06/0.4083, allocations: 0 / 372.5 MB, free: 4.824 MB / 302.1 MB Notification: Performance of matching and sorting (n=132): time 0.01307/0.4213, allocations: 6.268 MB / 378.8 MB, free: 14.45 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/0.4214, allocations: 64.72 kB / 378.9 MB, free: 14.38 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003409/0.4249, allocations: 2.145 MB / 381 MB, free: 12.19 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002217/0.4251, allocations: 49.7 kB / 381.1 MB, free: 12.13 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000983/0.4261, allocations: 1.1 MB / 382.2 MB, free: 11.02 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004283/0.4265, allocations: 461.3 kB / 382.6 MB, free: 10.56 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.897e-05/0.4266, allocations: 27.98 kB / 382.6 MB, free: 10.54 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.4268, allocations: 357.9 kB / 383 MB, free: 10.18 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001319/0.4281, allocations: 0.773 MB / 383.8 MB, free: 9.406 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001464/0.4296, allocations: 1.021 MB / 384.8 MB, free: 8.297 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/0.4311, allocations: 0.8965 MB / 385.7 MB, free: 7.398 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.4311, allocations: 0 / 385.7 MB, free: 7.398 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005303/0.4364, allocations: 2.777 MB / 388.4 MB, free: 4.602 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.415e-05/0.4364, allocations: 8 kB / 388.5 MB, free: 4.594 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.4365, allocations: 11.98 kB / 388.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00198/0.4384, allocations: 0.7812 MB / 389.3 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/0.4395, allocations: 283.5 kB / 389.5 MB, free: 3.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01249/0.452, allocations: 8.731 MB / 398.3 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001773/0.4538, allocations: 103.8 kB / 398.4 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002699/0.4541, allocations: 55.94 kB / 398.4 MB, free: 10.36 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.002228/0.4564, allocations: 0.7395 MB / 399.2 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007838/0.4572, allocations: 201.5 kB / 399.4 MB, free: 9.41 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005785/0.463, allocations: 2.516 MB / 401.9 MB, free: 6.875 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.261e-05/0.463, allocations: 15.98 kB / 401.9 MB, free: 6.859 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.436e-05/0.4631, allocations: 8 kB / 401.9 MB, free: 6.852 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.489e-05/0.4631, allocations: 3.984 kB / 401.9 MB, free: 6.848 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01118/0.4743, allocations: 4.952 MB / 406.8 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.652e-05/0.4743, allocations: 4.156 kB / 406.9 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001188/0.4755, allocations: 223.9 kB / 407.1 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002023/0.4776, allocations: 0.6433 MB / 407.7 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001839/0.4778, allocations: 43.92 kB / 407.8 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01154/0.4893, allocations: 7.914 MB / 415.7 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/0.4894, allocations: 8.062 kB / 415.7 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007475/0.4969, allocations: 3.558 MB / 419.2 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001314/0.4982, allocations: 446.5 kB / 419.7 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005525/0.4988, allocations: 32 kB / 419.7 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/0.5001, allocations: 91.89 kB / 419.8 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003861/0.5005, allocations: 104.8 kB / 419.9 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001143/0.5006, allocations: 39.98 kB / 419.9 MB, free: 4.223 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.003191/0.5038, allocations: 1.504 MB / 421.4 MB, free: 2.695 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5038, allocations: 0 / 421.4 MB, free: 2.695 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002697/0.5065, allocations: 0.5235 MB / 422 MB, free: 2.172 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.001325/0.5079, allocations: 426.1 kB / 422.4 MB, free: 1.754 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00489/0.5128, allocations: 2.393 MB / 424.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.5128, allocations: 4.125 kB / 424.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002901/0.5157, allocations: 1.609 MB / 426.4 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003344/0.5191, allocations: 430.5 kB / 426.8 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0123/0.5314, allocations: 6.016 MB / 432.8 MB, free: 7.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003804/0.5353, allocations: 1.955 MB / 434.8 MB, free: 5.188 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00239/0.5377, allocations: 383.7 kB / 435.1 MB, free: 4.809 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008894/0.5386, allocations: 127.4 kB / 435.3 MB, free: 4.684 MB / 366.1 MB Notification: Performance of SimCode: time 2.505e-06/0.5387, allocations: 0 / 435.3 MB, free: 4.684 MB / 366.1 MB Notification: Performance of Templates: time 0.2835/0.8222, allocations: 27.69 MB / 463 MB, free: 103.7 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)