Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.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_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009114/0.0009114, allocations: 91.77 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.001012/0.001012, 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 2.169/2.169, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.0006226/0.0006226, allocations: 12 kB / 278.9 MB, free: 12.8 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3179, allocations: 47.58 MB / 326.5 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.0113/0.3293, allocations: 8.531 MB / 335 MB, free: 10.73 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008081/0.3375, allocations: 2.883 MB / 337.9 MB, free: 8.059 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002454/0.34, allocations: 39.81 kB / 337.9 MB, free: 8.02 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001926/0.3419, allocations: 0.5009 MB / 338.4 MB, free: 7.516 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003422/0.3454, allocations: 0.6369 MB / 339.1 MB, free: 6.875 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001459/0.3469, allocations: 235.7 kB / 339.3 MB, free: 6.645 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004565/0.3515, allocations: 2.498 MB / 341.8 MB, free: 4.129 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002903/0.3544, allocations: 1.2 MB / 343 MB, free: 2.898 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002124/0.3565, allocations: 0.8248 MB / 343.8 MB, free: 2.07 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002828/0.3594, allocations: 1.093 MB / 344.9 MB, free: 0.9727 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008184/0.3602, allocations: 124 kB / 345 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001387/0.3616, allocations: 191.9 kB / 345.2 MB, free: 0.6641 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00127/0.3629, allocations: 0.5957 MB / 345.8 MB, free: 68 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001786/0.3647, allocations: 452.6 kB / 346.3 MB, free: 15.61 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004997/0.3697, allocations: 2.91 MB / 349.2 MB, free: 12.7 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.106e-06/0.3698, allocations: 0 / 349.2 MB, free: 12.7 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.608e-06/0.3698, allocations: 0 / 349.2 MB, free: 12.7 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001337/0.3699, allocations: 3.938 kB / 349.2 MB, free: 12.7 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.005404/0.3753, allocations: 2.205 MB / 351.4 MB, free: 10.43 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/0.3754, allocations: 8.031 kB / 351.4 MB, free: 10.43 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001301/0.3767, allocations: 265.1 kB / 351.7 MB, free: 10.16 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003948/0.3807, allocations: 1.217 MB / 352.9 MB, free: 8.891 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001849/0.3809, allocations: 143.7 kB / 353 MB, free: 8.75 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006544/0.3816, allocations: 199.9 kB / 353.2 MB, free: 8.555 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005879/0.3875, allocations: 2.407 MB / 355.6 MB, free: 6.109 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.054e-05/0.3876, allocations: 7.844 kB / 355.6 MB, free: 6.102 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002289/0.3879, allocations: 76 kB / 355.7 MB, free: 6.027 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001487/0.388, allocations: 91.69 kB / 355.8 MB, free: 5.938 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004786/0.3928, allocations: 1.962 MB / 357.7 MB, free: 3.973 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01675/0.4096, allocations: 7.883 MB / 365.6 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001974/0.4117, allocations: 1.224 MB / 366.9 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001814/0.4135, allocations: 0.9518 MB / 367.8 MB, free: 9.625 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00029/0.4138, allocations: 114.1 kB / 367.9 MB, free: 9.496 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001165/0.4139, allocations: 47.52 kB / 368 MB, free: 9.438 MB / 302.1 MB Notification: Performance of pre-optimization done (n=95): time 1.96e-05/0.414, allocations: 0 / 368 MB, free: 9.438 MB / 302.1 MB Notification: Performance of matching and sorting (n=111): time 0.01448/0.4285, allocations: 5.93 MB / 373.9 MB, free: 3.371 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.874e-05/0.4286, allocations: 68.34 kB / 374 MB, free: 3.293 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002541/0.4311, allocations: 1.29 MB / 375.2 MB, free: 1.996 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002134/0.4314, allocations: 45.7 kB / 375.3 MB, free: 1.945 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009068/0.4323, allocations: 0.916 MB / 376.2 MB, free: 1.016 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004137/0.4327, allocations: 398.4 kB / 376.6 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.3e-05/0.4328, allocations: 24 kB / 376.6 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.433, allocations: 365.9 kB / 377 MB, free: 240 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001044/0.434, allocations: 0.6286 MB / 377.6 MB, free: 15.6 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001252/0.4353, allocations: 1.008 MB / 378.6 MB, free: 14.44 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/0.4365, allocations: 0.7798 MB / 379.4 MB, free: 13.66 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.798e-06/0.4365, allocations: 7.953 kB / 379.4 MB, free: 13.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.0042/0.4407, allocations: 2.245 MB / 381.6 MB, free: 11.39 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.604e-05/0.4408, allocations: 8 kB / 381.7 MB, free: 11.38 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.613e-05/0.4408, allocations: 12 kB / 381.7 MB, free: 11.37 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00125/0.4421, allocations: 488.1 kB / 382.1 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.4432, allocations: 303.5 kB / 382.4 MB, free: 10.58 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007291/0.4505, allocations: 6.531 MB / 389 MB, free: 3.652 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/0.4522, allocations: 91.88 kB / 389.1 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001434/0.4523, allocations: 67.86 kB / 389.1 MB, free: 3.496 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(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,(2,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00141/0.4537, allocations: 0.6028 MB / 389.7 MB, free: 2.883 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004474/0.4542, allocations: 146.2 kB / 389.9 MB, free: 2.738 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003535/0.4577, allocations: 1.969 MB / 391.8 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-05/0.4578, allocations: 12 kB / 391.9 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.4578, allocations: 4 kB / 391.9 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/0.4578, allocations: 3.984 kB / 391.9 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007925/0.4657, allocations: 4.136 MB / 396 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/0.4658, allocations: 7.953 kB / 396 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008167/0.4666, allocations: 184.1 kB / 396.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001412/0.468, allocations: 0.5387 MB / 396.7 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.956e-05/0.4682, allocations: 27.98 kB / 396.8 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008459/0.4766, allocations: 8.018 MB / 404.8 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.079e-05/0.4767, allocations: 11.92 kB / 404.8 MB, free: 3.145 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005011/0.4817, allocations: 2.853 MB / 407.6 MB, free: 236 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001066/0.4828, allocations: 355.3 kB / 408 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002331/0.483, allocations: 31.98 kB / 408 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007335/0.4838, allocations: 71.94 kB / 408.1 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002604/0.484, allocations: 88.66 kB / 408.2 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-05/0.4841, allocations: 27.98 kB / 408.2 MB, free: 15.65 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001488/0.4856, allocations: 0.8799 MB / 409.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4856, allocations: 4.312 kB / 409.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002071/0.4877, allocations: 440 kB / 409.5 MB, free: 14.33 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 8,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004188/0.4881, allocations: 143.1 kB / 409.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00387/0.492, allocations: 2.233 MB / 411.9 MB, free: 11.87 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/0.4921, allocations: 8 kB / 411.9 MB, free: 11.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002364/0.4944, allocations: 1.506 MB / 413.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002598/0.4971, allocations: 389 kB / 413.8 MB, free: 9.906 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009568/0.5067, allocations: 4.925 MB / 418.7 MB, free: 4.922 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001544/0.5083, allocations: 1.646 MB / 420.3 MB, free: 3.242 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001462/0.5098, allocations: 320.8 kB / 420.7 MB, free: 2.922 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000327/0.5101, allocations: 95.42 kB / 420.8 MB, free: 2.832 MB / 350.1 MB Notification: Performance of SimCode: time 4.939e-06/0.5101, allocations: 0 / 420.8 MB, free: 2.832 MB / 350.1 MB Notification: Performance of Templates: time 0.05159/0.5617, allocations: 21.86 MB / 442.6 MB, free: 12.93 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1)