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.001161/0.001161, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001114/0.001114, allocations: 177.3 kB / 15.95 MB, free: 216 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.738/1.738, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.0005125/0.0005126, allocations: 10.81 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3291, allocations: 47.58 MB / 326.5 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.01068/0.3399, allocations: 7.813 MB / 334.3 MB, free: 11.42 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009007/0.3489, allocations: 3.336 MB / 337.6 MB, free: 8.355 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001357/0.3503, allocations: 35.81 kB / 337.6 MB, free: 8.32 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001893/0.3522, allocations: 0.552 MB / 338.2 MB, free: 7.766 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002445/0.3547, allocations: 0.6932 MB / 338.9 MB, free: 7.07 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.3558, allocations: 311.4 kB / 339.2 MB, free: 6.766 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002691/0.3585, allocations: 1.739 MB / 340.9 MB, free: 5.02 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001651/0.3601, allocations: 1.28 MB / 342.2 MB, free: 3.707 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001318/0.3615, allocations: 0.8446 MB / 343.1 MB, free: 2.859 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00131/0.3628, allocations: 1.101 MB / 344.2 MB, free: 1.754 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002193/0.363, allocations: 132 kB / 344.3 MB, free: 1.625 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007266/0.3637, allocations: 335.6 kB / 344.6 MB, free: 1.297 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007651/0.3645, allocations: 0.7829 MB / 345.4 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004599/0.365, allocations: 0.5159 MB / 345.9 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002966/0.368, allocations: 3.35 MB / 349.3 MB, free: 12.63 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.368, allocations: 0 / 349.3 MB, free: 12.63 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.368, allocations: 0 / 349.3 MB, free: 12.63 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.621e-05/0.368, allocations: 0 / 349.3 MB, free: 12.63 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.00496/0.373, allocations: 2.714 MB / 352 MB, free: 9.848 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/0.3731, allocations: 8.031 kB / 352 MB, free: 9.84 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007513/0.3738, allocations: 320.3 kB / 352.3 MB, free: 9.523 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002809/0.3767, allocations: 1.553 MB / 353.8 MB, free: 7.918 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/0.3768, allocations: 152 kB / 354 MB, free: 7.766 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002991/0.3771, allocations: 207.9 kB / 354.2 MB, free: 7.562 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004232/0.3813, allocations: 2.663 MB / 356.9 MB, free: 4.82 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.41e-05/0.3814, allocations: 7.906 kB / 356.9 MB, free: 4.812 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000197/0.3816, allocations: 83.95 kB / 356.9 MB, free: 4.73 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001162/0.3817, allocations: 95.92 kB / 357 MB, free: 4.637 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003823/0.3856, allocations: 2.268 MB / 359.3 MB, free: 2.367 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01461/0.4002, allocations: 8.193 MB / 367.5 MB, free: 9.973 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003026/0.4033, allocations: 1.592 MB / 369.1 MB, free: 8.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003021/0.4036, allocations: 131.3 kB / 369.2 MB, free: 8.176 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.044e-05/0.4037, allocations: 43.56 kB / 369.3 MB, free: 8.125 MB / 302.1 MB Notification: Performance of pre-optimization done (n=116): time 4.839e-06/0.4037, allocations: 0 / 369.3 MB, free: 8.125 MB / 302.1 MB Notification: Performance of matching and sorting (n=132): time 0.0145/0.4182, allocations: 6.461 MB / 375.7 MB, free: 1.523 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.856e-05/0.4183, allocations: 64.72 kB / 375.8 MB, free: 1.449 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00349/0.4218, allocations: 2.105 MB / 377.9 MB, free: 15.3 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001265/0.4219, allocations: 53.64 kB / 377.9 MB, free: 15.24 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001351/0.4233, allocations: 1.1 MB / 379 MB, free: 14.12 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006004/0.4239, allocations: 461.4 kB / 379.5 MB, free: 13.67 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.418e-05/0.424, allocations: 24 kB / 379.5 MB, free: 13.64 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0003514/0.4243, allocations: 361.9 kB / 379.9 MB, free: 13.29 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001437/0.4258, allocations: 0.7574 MB / 380.6 MB, free: 12.53 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001461/0.4273, allocations: 1.006 MB / 381.6 MB, free: 11.43 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001435/0.4287, allocations: 0.8847 MB / 382.5 MB, free: 10.54 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.4287, allocations: 11.89 kB / 382.5 MB, free: 10.53 MB / 318.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.005352/0.4341, allocations: 2.772 MB / 385.3 MB, free: 7.742 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.4341, allocations: 8 kB / 385.3 MB, free: 7.734 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/0.4341, allocations: 8 kB / 385.3 MB, free: 7.727 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001923/0.4361, allocations: 0.8133 MB / 386.1 MB, free: 6.906 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/0.4371, allocations: 271.6 kB / 386.4 MB, free: 6.641 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01239/0.4495, allocations: 9.29 MB / 395.7 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/0.4512, allocations: 99.95 kB / 395.8 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/0.4514, allocations: 51.98 kB / 395.8 MB, free: 12.92 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (124): * Single equations (assignments): 120 * 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%) 36} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001578/0.4529, allocations: 0.7394 MB / 396.6 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003813/0.4533, allocations: 197.6 kB / 396.8 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00457/0.4579, allocations: 2.512 MB / 399.3 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-05/0.4579, allocations: 12 kB / 399.3 MB, free: 9.434 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.458, allocations: 8 kB / 399.3 MB, free: 9.426 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.458, allocations: 7.922 kB / 399.3 MB, free: 9.418 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008501/0.4665, allocations: 4.902 MB / 404.2 MB, free: 4.422 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.4665, allocations: 0 / 404.2 MB, free: 4.422 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009716/0.4675, allocations: 211.7 kB / 404.4 MB, free: 4.215 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001764/0.4693, allocations: 0.6773 MB / 405.1 MB, free: 3.527 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.7e-05/0.4694, allocations: 35.97 kB / 405.1 MB, free: 3.492 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009437/0.4789, allocations: 8.335 MB / 413.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.4789, allocations: 4.031 kB / 413.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006208/0.4851, allocations: 3.618 MB / 417.1 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001275/0.4864, allocations: 442.4 kB / 417.5 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002352/0.4866, allocations: 28 kB / 417.5 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009081/0.4876, allocations: 100.2 kB / 417.6 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000278/0.4878, allocations: 100.8 kB / 417.7 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.304e-05/0.488, allocations: 39.98 kB / 417.8 MB, free: 6.316 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002185/0.4901, allocations: 1.476 MB / 419.3 MB, free: 4.816 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4902, allocations: 4 kB / 419.3 MB, free: 4.812 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001882/0.492, allocations: 0.5195 MB / 419.8 MB, free: 4.293 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 (94): * Single equations (assignments): 88 * 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%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001063/0.4931, allocations: 420.2 kB / 420.2 MB, free: 3.879 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004609/0.4977, allocations: 2.396 MB / 422.6 MB, free: 1.457 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/0.4978, allocations: 0 / 422.6 MB, free: 1.457 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002783/0.5005, allocations: 1.651 MB / 424.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001976/0.5025, allocations: 410.4 kB / 424.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009291/0.5118, allocations: 6.008 MB / 430.7 MB, free: 9.285 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001787/0.5137, allocations: 2.01 MB / 432.7 MB, free: 7.242 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001396/0.5151, allocations: 375.6 kB / 433 MB, free: 6.871 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003402/0.5154, allocations: 127.4 kB / 433.2 MB, free: 6.75 MB / 366.1 MB Notification: Performance of SimCode: time 1.232e-06/0.5154, allocations: 3.938 kB / 433.2 MB, free: 6.746 MB / 366.1 MB Notification: Performance of Templates: time 0.2637/0.7792, allocations: 26.97 MB / 460.1 MB, free: 110.9 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: