Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_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.1_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.001581/0.001581, 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.00213/0.002131, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.798/1.798, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.001626/0.001626, allocations: 52.25 kB / 278.7 MB, free: 12.38 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.3777, allocations: 46.64 MB / 325.3 MB, free: 1.871 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.01574/0.3935, allocations: 11.76 MB / 337.1 MB, free: 8.137 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01156/0.4051, allocations: 3.8 MB / 340.9 MB, free: 4.324 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004128/0.4093, allocations: 63.69 kB / 340.9 MB, free: 4.262 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003929/0.4133, allocations: 0.8655 MB / 341.8 MB, free: 3.391 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006953/0.4203, allocations: 1.076 MB / 342.9 MB, free: 2.309 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002863/0.4232, allocations: 0.4954 MB / 343.4 MB, free: 1.812 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00882/0.432, allocations: 4.254 MB / 347.6 MB, free: 13.54 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00699/0.4391, allocations: 3.213 MB / 350.8 MB, free: 10.26 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004687/0.4438, allocations: 1.885 MB / 352.7 MB, free: 8.367 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005761/0.4496, allocations: 2.331 MB / 355.1 MB, free: 6.027 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002095/0.4517, allocations: 0.4961 MB / 355.6 MB, free: 5.531 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002912/0.4546, allocations: 0.5858 MB / 356.1 MB, free: 4.945 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002759/0.4574, allocations: 1.395 MB / 357.5 MB, free: 3.547 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005635/0.4631, allocations: 2.209 MB / 359.7 MB, free: 1.328 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00943/0.4725, allocations: 6.488 MB / 366.2 MB, free: 10.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.091e-05/0.4726, allocations: 7.938 kB / 366.2 MB, free: 10.81 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.337e-06/0.4726, allocations: 0 / 366.2 MB, free: 10.81 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002123/0.4728, allocations: 0 / 366.2 MB, free: 10.81 MB / 302.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.0123/0.4851, allocations: 4.283 MB / 370.5 MB, free: 6.461 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.287e-05/0.4852, allocations: 11.89 kB / 370.5 MB, free: 6.449 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001625/0.4868, allocations: 440.1 kB / 371 MB, free: 6.016 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004738/0.4916, allocations: 2.235 MB / 373.2 MB, free: 3.73 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002266/0.4918, allocations: 234.1 kB / 373.4 MB, free: 3.5 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000511/0.4924, allocations: 303.9 kB / 373.7 MB, free: 3.203 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009213/0.5016, allocations: 4.369 MB / 378.1 MB, free: 14.74 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.847e-05/0.5017, allocations: 8 kB / 378.1 MB, free: 14.73 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003232/0.502, allocations: 128 kB / 378.2 MB, free: 14.61 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001626/0.5022, allocations: 134 kB / 378.4 MB, free: 14.48 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007265/0.5095, allocations: 3.775 MB / 382.1 MB, free: 10.69 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02555/0.5351, allocations: 13.54 MB / 395.7 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004503/0.5396, allocations: 2.903 MB / 398.6 MB, free: 9.723 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003092/0.5428, allocations: 1.692 MB / 400.3 MB, free: 8.031 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004043/0.5432, allocations: 126.4 kB / 400.4 MB, free: 7.891 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.922e-05/0.5433, allocations: 55.88 kB / 400.5 MB, free: 7.824 MB / 334.1 MB Notification: Performance of pre-optimization done (n=164): time 4.929e-06/0.5433, allocations: 0 / 400.5 MB, free: 7.824 MB / 334.1 MB Notification: Performance of matching and sorting (n=180): time 0.02325/0.5666, allocations: 9.203 MB / 409.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.071e-05/0.5667, allocations: 77.33 kB / 409.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005296/0.572, allocations: 2.361 MB / 412.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003196/0.5723, allocations: 57.7 kB / 412.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001227/0.5736, allocations: 1.458 MB / 413.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008046/0.5744, allocations: 0.6085 MB / 414.2 MB, free: 9.762 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007427/0.5752, allocations: 367.3 kB / 414.6 MB, free: 9.395 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.5753, allocations: 309 kB / 414.9 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002033/0.5773, allocations: 1.128 MB / 416 MB, free: 7.961 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002422/0.5798, allocations: 1.567 MB / 417.6 MB, free: 6.223 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004287/0.5841, allocations: 2.78 MB / 420.3 MB, free: 3.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.341e-05/0.5841, allocations: 7.938 kB / 420.4 MB, free: 3.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006706/0.5908, allocations: 3.592 MB / 423.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.752e-05/0.5909, allocations: 8 kB / 424 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.92e-05/0.5909, allocations: 19.94 kB / 424 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002225/0.5931, allocations: 0.8063 MB / 424.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001778/0.5949, allocations: 463.2 kB / 425.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01177/0.6067, allocations: 11.17 MB / 436.4 MB, free: 2.461 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00279/0.6096, allocations: 123.8 kB / 436.5 MB, free: 2.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002222/0.6098, allocations: 83.86 kB / 436.6 MB, free: 2.258 MB / 366.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.002865/0.6127, allocations: 1.087 MB / 437.7 MB, free: 1.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007685/0.6134, allocations: 248.9 kB / 437.9 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005943/0.6194, allocations: 3.305 MB / 441.2 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.58e-05/0.6194, allocations: 16 kB / 441.3 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/0.6195, allocations: 4 kB / 441.3 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.006e-05/0.6195, allocations: 11.97 kB / 441.3 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01329/0.6328, allocations: 6.888 MB / 448.2 MB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.268e-05/0.6329, allocations: 8.062 kB / 448.2 MB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001351/0.6342, allocations: 295.6 kB / 448.5 MB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002726/0.637, allocations: 0.9197 MB / 449.4 MB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001948/0.6372, allocations: 39.98 kB / 449.4 MB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2345/0.8716, allocations: 14.6 MB / 464 MB, free: 103.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.88e-06/0.8717, allocations: 2.469 kB / 464 MB, free: 103.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007487/0.8792, allocations: 4.86 MB / 468.9 MB, free: 101.4 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001284/0.8805, allocations: 0.5638 MB / 469.4 MB, free: 101.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003471/0.8809, allocations: 37.61 kB / 469.5 MB, free: 101.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/0.8821, allocations: 119.6 kB / 469.6 MB, free: 101.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003873/0.8825, allocations: 157 kB / 469.7 MB, free: 101.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001038/0.8826, allocations: 47.78 kB / 469.8 MB, free: 101.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002/0.8846, allocations: 1.635 MB / 471.4 MB, free: 100.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.8846, allocations: 0 / 471.4 MB, free: 100.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001836/0.8865, allocations: 0.709 MB / 472.1 MB, free: 100.4 MB / 382.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.0003699/0.8868, allocations: 216.1 kB / 472.3 MB, free: 100.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00702/0.8939, allocations: 4.847 MB / 477.2 MB, free: 97.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.8939, allocations: 4 kB / 477.2 MB, free: 97.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00287/0.8968, allocations: 2.509 MB / 479.7 MB, free: 94.83 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003133/0.8999, allocations: 0.7114 MB / 480.4 MB, free: 94.22 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01037/0.9103, allocations: 6.829 MB / 487.2 MB, free: 87.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001753/0.9121, allocations: 2.521 MB / 489.8 MB, free: 84.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002074/0.9142, allocations: 0.5905 MB / 490.4 MB, free: 84.28 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005233/0.9147, allocations: 155.4 kB / 490.5 MB, free: 84.12 MB / 382.1 MB Notification: Performance of SimCode: time 1.222e-06/0.9148, allocations: 0 / 490.5 MB, free: 84.12 MB / 382.1 MB Notification: Performance of Templates: time 0.06133/0.9761, allocations: 42.18 MB / 0.5202 GB, free: 41.91 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe 2>&1)