Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.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_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001534/0.001534, 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.001934/0.001934, allocations: 196.4 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.715/1.715, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.001994/0.001994, allocations: 55.92 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3022, allocations: 46.64 MB / 325.3 MB, free: 1.852 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.0107/0.313, allocations: 8.865 MB / 334.2 MB, free: 10.84 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006458/0.3195, allocations: 2.91 MB / 337.1 MB, free: 8.113 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008393/0.3203, allocations: 35.88 kB / 337.1 MB, free: 8.078 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001453/0.3218, allocations: 0.5913 MB / 337.7 MB, free: 7.484 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001888/0.3237, allocations: 0.73 MB / 338.5 MB, free: 6.75 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006307/0.3244, allocations: 323.5 kB / 338.8 MB, free: 6.434 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002471/0.3269, allocations: 2.397 MB / 341.2 MB, free: 4.023 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002132/0.329, allocations: 1.71 MB / 342.9 MB, free: 2.27 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001526/0.3305, allocations: 1.063 MB / 343.9 MB, free: 1.203 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001609/0.3322, allocations: 1.339 MB / 345.3 MB, free: 15.86 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003642/0.3325, allocations: 280 kB / 345.6 MB, free: 15.59 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006963/0.3332, allocations: 367.8 kB / 345.9 MB, free: 15.23 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008437/0.3341, allocations: 0.8025 MB / 346.7 MB, free: 14.42 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001363/0.3355, allocations: 1.256 MB / 348 MB, free: 13.16 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003381/0.3389, allocations: 3.645 MB / 351.6 MB, free: 9.504 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3389, allocations: 0 / 351.6 MB, free: 9.504 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3389, allocations: 0 / 351.6 MB, free: 9.504 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.768e-05/0.3389, allocations: 0 / 351.6 MB, free: 9.504 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.004764/0.3437, allocations: 2.583 MB / 354.2 MB, free: 6.863 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.3438, allocations: 11.89 kB / 354.2 MB, free: 6.852 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006293/0.3444, allocations: 254.1 kB / 354.5 MB, free: 6.602 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00204/0.3464, allocations: 1.299 MB / 355.8 MB, free: 5.246 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/0.3466, allocations: 135.9 kB / 355.9 MB, free: 5.113 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002679/0.3469, allocations: 192 kB / 356.1 MB, free: 4.926 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003832/0.3507, allocations: 2.406 MB / 358.5 MB, free: 2.484 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.191e-05/0.3508, allocations: 11.97 kB / 358.5 MB, free: 2.473 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001767/0.3509, allocations: 72 kB / 358.6 MB, free: 2.402 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.975e-05/0.351, allocations: 91.44 kB / 358.7 MB, free: 2.312 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00334/0.3544, allocations: 2.012 MB / 360.7 MB, free: 304 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01095/0.3654, allocations: 7.452 MB / 368.1 MB, free: 8.637 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001858/0.3672, allocations: 1.276 MB / 369.4 MB, free: 7.297 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001648/0.3689, allocations: 0.9042 MB / 370.3 MB, free: 6.383 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002631/0.3692, allocations: 126 kB / 370.4 MB, free: 6.242 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.3692, allocations: 43.5 kB / 370.5 MB, free: 6.188 MB / 302.1 MB Notification: Performance of pre-optimization done (n=84): time 2.394e-06/0.3692, allocations: 3.938 kB / 370.5 MB, free: 6.184 MB / 302.1 MB Notification: Performance of matching and sorting (n=100): time 0.009592/0.3788, allocations: 5.005 MB / 375.5 MB, free: 1.062 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/0.3789, allocations: 60.41 kB / 375.5 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002015/0.3809, allocations: 1.372 MB / 376.9 MB, free: 15.61 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.618e-05/0.381, allocations: 45.7 kB / 376.9 MB, free: 15.56 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006799/0.3817, allocations: 0.9047 MB / 377.9 MB, free: 14.64 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002845/0.382, allocations: 343 kB / 378.2 MB, free: 14.3 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000345/0.3824, allocations: 218.8 kB / 378.4 MB, free: 14.08 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.3825, allocations: 349.9 kB / 378.7 MB, free: 13.73 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/0.3835, allocations: 0.635 MB / 379.4 MB, free: 13.1 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001233/0.3848, allocations: 0.922 MB / 380.3 MB, free: 12.05 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002322/0.3871, allocations: 1.645 MB / 381.9 MB, free: 10.29 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.3871, allocations: 4 kB / 381.9 MB, free: 10.29 MB / 318.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.00431/0.3914, allocations: 2.388 MB / 384.3 MB, free: 7.883 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/0.3915, allocations: 8 kB / 384.3 MB, free: 7.875 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/0.3915, allocations: 12.25 kB / 384.4 MB, free: 7.863 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001857/0.3934, allocations: 0.7158 MB / 385.1 MB, free: 7.141 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008692/0.3943, allocations: 235.7 kB / 385.3 MB, free: 6.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01158/0.4059, allocations: 8.753 MB / 394.1 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/0.4074, allocations: 83.84 kB / 394.1 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001817/0.4076, allocations: 48 kB / 394.2 MB, free: 13.75 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (114): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001368/0.4089, allocations: 0.6301 MB / 394.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000569/0.4095, allocations: 146.2 kB / 395 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004263/0.4138, allocations: 1.897 MB / 396.9 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.523e-05/0.4138, allocations: 11.98 kB / 396.9 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.627e-05/0.4138, allocations: 4 kB / 396.9 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.4139, allocations: 3.984 kB / 396.9 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008227/0.4221, allocations: 4.014 MB / 400.9 MB, free: 6.922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.385e-06/0.4221, allocations: 4 kB / 400.9 MB, free: 6.918 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008205/0.423, allocations: 187.7 kB / 401.1 MB, free: 6.734 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001288/0.4243, allocations: 462.9 kB / 401.5 MB, free: 6.27 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001144/0.4244, allocations: 31.98 kB / 401.6 MB, free: 6.238 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006903/0.4313, allocations: 6.688 MB / 408.2 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.4313, allocations: 0 / 408.2 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00462/0.4359, allocations: 2.786 MB / 411 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001006/0.437, allocations: 351.3 kB / 411.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000443/0.4374, allocations: 27.98 kB / 411.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.4384, allocations: 67.92 kB / 411.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000245/0.4387, allocations: 84.81 kB / 411.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-05/0.4388, allocations: 24 kB / 411.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001738/0.4405, allocations: 0.9582 MB / 412.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4405, allocations: 4 kB / 412.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001859/0.4424, allocations: 431.9 kB / 413 MB, free: 10.34 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (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) * 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 (84): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 3 systems {(2,12,100.0%), (1,1,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.0004226/0.4428, allocations: 179 kB / 413.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0043/0.4471, allocations: 2.38 MB / 415.5 MB, free: 7.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.4472, allocations: 0 / 415.5 MB, free: 7.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002247/0.4494, allocations: 1.347 MB / 416.9 MB, free: 6.344 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002115/0.4516, allocations: 388.8 kB / 417.2 MB, free: 5.965 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008265/0.4598, allocations: 4.033 MB / 421.3 MB, free: 1.875 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00248/0.4623, allocations: 1.696 MB / 423 MB, free: 148 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001528/0.4639, allocations: 304.1 kB / 423.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004293/0.4643, allocations: 99.42 kB / 423.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of SimCode: time 1.363e-06/0.4644, allocations: 0 / 423.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of Templates: time 0.05425/0.5186, allocations: 24.04 MB / 447.4 MB, free: 7.664 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1)