Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.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.AIMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 104.9 kB / 16.62 MB, free: 6.809 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.001325/0.001325, allocations: 193.9 kB / 17.55 MB, free: 5.953 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.718/1.718, allocations: 205.1 MB / 223.4 MB, free: 12.44 MB / 190.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.00119/0.00119, allocations: 51.92 kB / 279.5 MB, free: 3.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1286, allocations: 46.63 MB / 326.2 MB, free: 4.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.01415/0.1428, allocations: 11.65 MB / 337.8 MB, free: 9.062 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008706/0.1516, allocations: 3.76 MB / 341.6 MB, free: 5.285 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002381/0.154, allocations: 55.75 kB / 341.6 MB, free: 5.23 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00234/0.1564, allocations: 0.7654 MB / 342.4 MB, free: 4.461 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004009/0.1604, allocations: 0.9832 MB / 343.4 MB, free: 3.473 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.1617, allocations: 439.6 kB / 343.8 MB, free: 3.043 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005363/0.167, allocations: 4.254 MB / 348.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003679/0.1707, allocations: 3.209 MB / 351.3 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0036/0.1743, allocations: 1.904 MB / 353.2 MB, free: 9.582 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004133/0.1785, allocations: 2.39 MB / 355.6 MB, free: 7.184 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000845/0.1793, allocations: 0.4961 MB / 356.1 MB, free: 6.688 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001327/0.1807, allocations: 0.5858 MB / 356.6 MB, free: 6.102 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001381/0.1821, allocations: 1.391 MB / 358 MB, free: 4.707 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002594/0.1847, allocations: 2.213 MB / 360.2 MB, free: 2.484 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006698/0.1914, allocations: 6.492 MB / 366.7 MB, free: 11.97 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.1914, allocations: 7.938 kB / 366.7 MB, free: 11.96 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1914, allocations: 0 / 366.7 MB, free: 11.96 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001091/0.1915, allocations: 0 / 366.7 MB, free: 11.96 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.009055/0.2006, allocations: 4.294 MB / 371 MB, free: 7.602 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/0.2007, allocations: 11.89 kB / 371 MB, free: 7.59 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001212/0.2019, allocations: 444 kB / 371.5 MB, free: 7.152 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004107/0.206, allocations: 2.227 MB / 373.7 MB, free: 4.875 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001894/0.2062, allocations: 234.1 kB / 373.9 MB, free: 4.645 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004578/0.2067, allocations: 307.9 kB / 374.2 MB, free: 4.344 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2353/0.442, allocations: 4.361 MB / 378.6 MB, free: 50.04 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003426/0.4424, allocations: 5.438 kB / 378.6 MB, free: 50.04 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001333/0.4437, allocations: 133.4 kB / 378.7 MB, free: 50.04 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002089/0.444, allocations: 130.1 kB / 378.9 MB, free: 50.03 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01037/0.4543, allocations: 3.77 MB / 382.6 MB, free: 49.16 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03162/0.486, allocations: 13.55 MB / 396.2 MB, free: 41.19 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003854/0.4899, allocations: 2.901 MB / 399.1 MB, free: 39.17 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002406/0.4924, allocations: 1.687 MB / 400.8 MB, free: 38.38 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003293/0.4927, allocations: 126 kB / 400.9 MB, free: 38.27 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.632e-05/0.4928, allocations: 51.78 kB / 400.9 MB, free: 38.22 MB / 318.1 MB Notification: Performance of pre-optimization done (n=164): time 4.508e-06/0.4928, allocations: 0 / 400.9 MB, free: 38.22 MB / 318.1 MB Notification: Performance of matching and sorting (n=180): time 0.01731/0.5101, allocations: 9.21 MB / 410.2 MB, free: 29.84 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.5102, allocations: 69.41 kB / 410.2 MB, free: 29.76 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003156/0.5133, allocations: 2.357 MB / 412.6 MB, free: 27.38 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001329/0.5135, allocations: 62.23 kB / 412.6 MB, free: 27.31 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006853/0.5142, allocations: 1.465 MB / 414.1 MB, free: 25.83 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000361/0.5146, allocations: 0.6037 MB / 414.7 MB, free: 25.23 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004974/0.5151, allocations: 363.3 kB / 415.1 MB, free: 24.87 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.588e-05/0.5151, allocations: 305.1 kB / 415.4 MB, free: 24.57 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001331/0.5165, allocations: 1.129 MB / 416.5 MB, free: 23.44 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001558/0.518, allocations: 1.578 MB / 418.1 MB, free: 21.7 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003007/0.521, allocations: 2.784 MB / 420.9 MB, free: 18.74 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-05/0.5211, allocations: 4 kB / 420.9 MB, free: 18.74 MB / 318.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.005365/0.5264, allocations: 3.592 MB / 424.4 MB, free: 15.11 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.665e-05/0.5265, allocations: 12.48 kB / 424.5 MB, free: 15.1 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.384e-05/0.5265, allocations: 20 kB / 424.5 MB, free: 15.08 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001862/0.5284, allocations: 0.8017 MB / 425.3 MB, free: 14.26 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/0.53, allocations: 463.2 kB / 425.7 MB, free: 13.81 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008692/0.5387, allocations: 11.17 MB / 436.9 MB, free: 1.941 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003068/0.5418, allocations: 123.8 kB / 437 MB, free: 1.82 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003037/0.5421, allocations: 75.98 kB / 437.1 MB, free: 1.746 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 6 (switchedRheostat.booleanStep[3].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (220): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * 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): 5 systems {(2,14,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002441/0.5446, allocations: 1.091 MB / 438.2 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006336/0.5452, allocations: 241.1 kB / 438.4 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006259/0.5515, allocations: 3.301 MB / 441.7 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.071e-05/0.5515, allocations: 16 kB / 441.7 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.962e-05/0.5516, allocations: 12.7 kB / 441.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.399e-05/0.5516, allocations: 7.969 kB / 441.8 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01861/0.5702, allocations: 6.896 MB / 448.7 MB, free: 6.055 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.799e-05/0.5704, allocations: 4 kB / 448.7 MB, free: 6.051 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001419/0.5718, allocations: 291.6 kB / 449 MB, free: 5.766 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003202/0.575, allocations: 0.9399 MB / 449.9 MB, free: 4.801 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002077/0.5753, allocations: 39.98 kB / 449.9 MB, free: 4.762 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01659/0.5919, allocations: 14.6 MB / 464.5 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-06/0.5919, allocations: 7.969 kB / 464.5 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0101/0.602, allocations: 4.863 MB / 469.4 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002308/0.6044, allocations: 0.5682 MB / 470 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001186/0.6056, allocations: 36 kB / 470 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002306/0.608, allocations: 123.8 kB / 470.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006115/0.6086, allocations: 153.7 kB / 470.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001679/0.6088, allocations: 50.94 kB / 470.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.003529/0.6123, allocations: 1.629 MB / 472 MB, free: 13.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6123, allocations: 0 / 472 MB, free: 13.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.004177/0.6165, allocations: 0.6992 MB / 472.7 MB, free: 12.98 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.inertiaRotor.w,aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 7 * 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): 7 systems {(2,14,100.0%), (1,1,100.0%), (2,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.0005309/0.6171, allocations: 209.5 kB / 472.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.009232/0.6263, allocations: 4.853 MB / 477.7 MB, free: 7.824 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 9.317e-06/0.6264, allocations: 2 kB / 477.7 MB, free: 7.824 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004143/0.6305, allocations: 2.506 MB / 480.2 MB, free: 5.211 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004209/0.6347, allocations: 0.7223 MB / 480.9 MB, free: 4.488 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0171/0.6519, allocations: 8.178 MB / 489.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005349/0.6573, allocations: 2.517 MB / 491.6 MB, free: 9.734 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003117/0.6604, allocations: 0.5866 MB / 492.2 MB, free: 9.141 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005822/0.661, allocations: 159.4 kB / 492.4 MB, free: 8.984 MB / 382.1 MB Notification: Performance of SimCode: time 2.415e-06/0.6611, allocations: 4 kB / 492.4 MB, free: 8.98 MB / 382.1 MB Notification: Performance of Templates: time 0.3395/1.001, allocations: 42.06 MB / 0.5219 GB, free: 131.8 MB / 414.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe 2>&1)