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.001207/0.001207, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001518/0.001519, allocations: 195.9 kB / 16.53 MB, free: 6.664 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.664/1.664, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.001507/0.001507, allocations: 55.91 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3768/0.3784, allocations: 46.64 MB / 325.3 MB, free: 1.848 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.01355/0.392, allocations: 9.638 MB / 335 MB, free: 10.22 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007406/0.3994, allocations: 3.054 MB / 338 MB, free: 7.195 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001529/0.401, allocations: 43.81 kB / 338.1 MB, free: 7.152 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002027/0.4031, allocations: 0.6287 MB / 338.7 MB, free: 6.52 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00295/0.406, allocations: 0.7453 MB / 339.4 MB, free: 5.77 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.4071, allocations: 371.5 kB / 339.8 MB, free: 5.406 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003443/0.4105, allocations: 2.452 MB / 342.3 MB, free: 2.938 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002269/0.4128, allocations: 1.727 MB / 344 MB, free: 1.172 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001924/0.4148, allocations: 1.071 MB / 345 MB, free: 100 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001748/0.4165, allocations: 1.312 MB / 346.4 MB, free: 14.78 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003816/0.4169, allocations: 280 kB / 346.6 MB, free: 14.5 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008638/0.4178, allocations: 371.7 kB / 347 MB, free: 14.14 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008445/0.4186, allocations: 0.7791 MB / 347.8 MB, free: 13.36 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001807/0.4205, allocations: 1.264 MB / 349 MB, free: 12.09 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004672/0.4251, allocations: 3.606 MB / 352.6 MB, free: 8.477 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.036e-05/0.4252, allocations: 0 / 352.6 MB, free: 8.477 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.607e-06/0.4252, allocations: 0 / 352.6 MB, free: 8.477 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001062/0.4253, allocations: 0 / 352.6 MB, free: 8.477 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.00719/0.4325, allocations: 2.583 MB / 355.2 MB, free: 5.836 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.289e-05/0.4326, allocations: 15.89 kB / 355.2 MB, free: 5.82 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008849/0.4335, allocations: 262 kB / 355.5 MB, free: 5.562 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002536/0.436, allocations: 1.26 MB / 356.8 MB, free: 4.246 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001481/0.4362, allocations: 144.1 kB / 356.9 MB, free: 4.105 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000342/0.4365, allocations: 204 kB / 357.1 MB, free: 3.906 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004712/0.4413, allocations: 2.415 MB / 359.5 MB, free: 1.453 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.118e-05/0.4414, allocations: 7.906 kB / 359.5 MB, free: 1.445 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002046/0.4416, allocations: 76 kB / 359.6 MB, free: 1.371 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000129/0.4417, allocations: 87.69 kB / 359.7 MB, free: 1.285 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003829/0.4455, allocations: 1.959 MB / 361.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0131/0.4587, allocations: 7.855 MB / 369.5 MB, free: 7.227 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001729/0.4604, allocations: 1.231 MB / 370.7 MB, free: 5.949 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001714/0.4622, allocations: 0.941 MB / 371.7 MB, free: 5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002737/0.4625, allocations: 122 kB / 371.8 MB, free: 4.863 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.788e-05/0.4625, allocations: 47.56 kB / 371.8 MB, free: 4.805 MB / 302.1 MB Notification: Performance of pre-optimization done (n=95): time 3.647e-06/0.4625, allocations: 0 / 371.8 MB, free: 4.805 MB / 302.1 MB Notification: Performance of matching and sorting (n=111): time 0.01276/0.4753, allocations: 5.864 MB / 377.7 MB, free: 14.8 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.4754, allocations: 68.41 kB / 377.8 MB, free: 14.72 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001906/0.4773, allocations: 1.309 MB / 379.1 MB, free: 13.41 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001069/0.4774, allocations: 45.7 kB / 379.1 MB, free: 13.36 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006934/0.4781, allocations: 0.9121 MB / 380 MB, free: 12.43 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003686/0.4785, allocations: 390.4 kB / 380.4 MB, free: 12.04 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004821/0.479, allocations: 251.4 kB / 380.7 MB, free: 11.79 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002768/0.4793, allocations: 357.9 kB / 381 MB, free: 11.43 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001052/0.4803, allocations: 0.6403 MB / 381.6 MB, free: 10.79 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001229/0.4816, allocations: 1.004 MB / 382.7 MB, free: 9.637 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002381/0.484, allocations: 1.727 MB / 384.4 MB, free: 7.762 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-06/0.484, allocations: 4 kB / 384.4 MB, free: 7.758 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004296/0.4883, allocations: 2.253 MB / 386.6 MB, free: 5.477 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.64e-05/0.4884, allocations: 12.31 kB / 386.6 MB, free: 5.465 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.249e-05/0.4884, allocations: 16 kB / 386.7 MB, free: 5.449 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001385/0.4898, allocations: 495.9 kB / 387.1 MB, free: 4.949 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/0.4909, allocations: 303.5 kB / 387.4 MB, free: 4.652 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008491/0.4994, allocations: 7.128 MB / 394.6 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001703/0.5012, allocations: 79.92 kB / 394.6 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/0.5013, allocations: 64.05 kB / 394.7 MB, free: 12.96 MB / 334.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 (idealOpener.control,idealCloser.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 (not torn): 2 * 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): 2 systems {(2,100.0%), (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%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001457/0.5028, allocations: 0.6026 MB / 395.3 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000414/0.5032, allocations: 146.2 kB / 395.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003813/0.507, allocations: 1.964 MB / 397.4 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.507, allocations: 12 kB / 397.4 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/0.507, allocations: 4 kB / 397.4 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.531e-05/0.5071, allocations: 11.91 kB / 397.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007764/0.5148, allocations: 4.132 MB / 401.6 MB, free: 5.969 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.5149, allocations: 0 / 401.6 MB, free: 5.969 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008274/0.5157, allocations: 191.7 kB / 401.8 MB, free: 5.781 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001457/0.5172, allocations: 0.5429 MB / 402.3 MB, free: 5.223 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.565e-05/0.5173, allocations: 35.92 kB / 402.3 MB, free: 5.188 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009204/0.5265, allocations: 8.754 MB / 411.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.5265, allocations: 7.938 kB / 411.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005028/0.5315, allocations: 2.853 MB / 414 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008988/0.5325, allocations: 351.2 kB / 414.3 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001935/0.5327, allocations: 31.92 kB / 414.3 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007684/0.5334, allocations: 75.92 kB / 414.4 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002415/0.5337, allocations: 84.81 kB / 414.5 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.905e-05/0.5338, allocations: 32 kB / 414.5 MB, free: 8.359 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001528/0.5353, allocations: 0.8839 MB / 415.4 MB, free: 7.473 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5353, allocations: 4 kB / 415.4 MB, free: 7.469 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001832/0.5371, allocations: 436 kB / 415.8 MB, free: 7.043 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 (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,1,100.0%), (2,8,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00039/0.5375, allocations: 191.7 kB / 416 MB, free: 6.848 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004164/0.5417, allocations: 2.568 MB / 418.6 MB, free: 4.195 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.5417, allocations: 0.6875 kB / 418.6 MB, free: 4.195 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002159/0.5439, allocations: 1.502 MB / 420.1 MB, free: 2.621 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001681/0.5456, allocations: 405.3 kB / 420.5 MB, free: 2.223 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006369/0.552, allocations: 4.157 MB / 424.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001347/0.5533, allocations: 1.654 MB / 426.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0009595/0.5543, allocations: 320.8 kB / 426.6 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002649/0.5546, allocations: 103.4 kB / 426.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.5546, allocations: 0 / 426.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of Templates: time 0.0434/0.598, allocations: 23.7 MB / 450.4 MB, free: 4.172 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)