Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.0009549/0.0009551, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.001468/0.001468, allocations: 168.7 kB / 15.95 MB, free: 204 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.006/2.006, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.0008416/0.0008421, allocations: 12 kB / 278.9 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3598/0.3607, allocations: 47.6 MB / 326.5 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.0114/0.3721, allocations: 10.4 MB / 336.9 MB, free: 9.074 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009188/0.3814, allocations: 3.611 MB / 340.5 MB, free: 5.453 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003107/0.3845, allocations: 59.62 kB / 340.6 MB, free: 5.395 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003621/0.3882, allocations: 0.6834 MB / 341.2 MB, free: 4.707 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00535/0.3935, allocations: 0.9324 MB / 342.2 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001651/0.3952, allocations: 315.5 kB / 342.5 MB, free: 3.461 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.006315/0.4015, allocations: 4.378 MB / 346.9 MB, free: 15.06 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004684/0.4062, allocations: 2.201 MB / 349.1 MB, free: 12.82 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004093/0.4104, allocations: 1.412 MB / 350.5 MB, free: 11.41 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004443/0.4148, allocations: 1.915 MB / 352.4 MB, free: 9.484 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001398/0.4163, allocations: 216 kB / 352.6 MB, free: 9.273 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001876/0.4181, allocations: 291.8 kB / 352.9 MB, free: 8.988 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002112/0.4203, allocations: 1.051 MB / 353.9 MB, free: 7.934 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002169/0.4225, allocations: 0.7498 MB / 354.7 MB, free: 7.176 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006547/0.429, allocations: 5.286 MB / 360 MB, free: 1.879 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/0.4291, allocations: 4 kB / 360 MB, free: 1.875 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.4291, allocations: 0 / 360 MB, free: 1.875 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0002539/0.4293, allocations: 0 / 360 MB, free: 1.875 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.009841/0.4392, allocations: 3.675 MB / 363.7 MB, free: 14.13 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/0.4393, allocations: 8.031 kB / 363.7 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002228/0.4415, allocations: 447 kB / 364.1 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007277/0.4488, allocations: 2.153 MB / 366.3 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003083/0.4492, allocations: 226.2 kB / 366.5 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001269/0.4504, allocations: 308 kB / 366.8 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01373/0.4642, allocations: 4.354 MB / 371.1 MB, free: 6.516 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000169/0.4644, allocations: 15.83 kB / 371.1 MB, free: 6.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009568/0.4654, allocations: 124 kB / 371.3 MB, free: 6.379 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001928/0.4656, allocations: 130 kB / 371.4 MB, free: 6.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008367/0.474, allocations: 3.775 MB / 375.2 MB, free: 2.465 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02425/0.4982, allocations: 13.62 MB / 388.8 MB, free: 4.48 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003889/0.5022, allocations: 2.892 MB / 391.7 MB, free: 1.43 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002942/0.5052, allocations: 1.7 MB / 393.4 MB, free: 15.72 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002996/0.5055, allocations: 134.4 kB / 393.5 MB, free: 15.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.765e-05/0.5056, allocations: 51.88 kB / 393.6 MB, free: 15.51 MB / 334.1 MB Notification: Performance of pre-optimization done (n=164): time 3.396e-06/0.5056, allocations: 0 / 393.6 MB, free: 15.51 MB / 334.1 MB Notification: Performance of matching and sorting (n=180): time 0.02137/0.5269, allocations: 9.277 MB / 402.8 MB, free: 6.004 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.885e-05/0.5271, allocations: 69.41 kB / 402.9 MB, free: 5.922 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005705/0.5328, allocations: 2.338 MB / 405.2 MB, free: 3.555 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003488/0.5332, allocations: 57.7 kB / 405.3 MB, free: 3.492 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001563/0.5348, allocations: 1.466 MB / 406.8 MB, free: 2.008 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001013/0.5358, allocations: 0.6084 MB / 407.4 MB, free: 1.391 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002403/0.5361, allocations: 40 kB / 407.4 MB, free: 1.352 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002727/0.5363, allocations: 389.8 kB / 407.8 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002093/0.5384, allocations: 1.12 MB / 408.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002413/0.5409, allocations: 1.578 MB / 410.5 MB, free: 14.1 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002464/0.5433, allocations: 1.341 MB / 411.8 MB, free: 12.76 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.448e-05/0.5434, allocations: 4 kB / 411.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006823/0.5502, allocations: 3.592 MB / 415.4 MB, free: 9.129 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.978e-05/0.5503, allocations: 8.5 kB / 415.4 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.162e-05/0.5503, allocations: 20 kB / 415.5 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002078/0.5524, allocations: 0.7902 MB / 416.2 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001777/0.5542, allocations: 463.3 kB / 416.7 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01086/0.5651, allocations: 10.28 MB / 427 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002298/0.5674, allocations: 131.9 kB / 427.1 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004878/0.5679, allocations: 72 kB / 427.2 MB, free: 12.69 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 (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 initialization (220): * Single equations (assignments): 213 * 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: 5 * 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: 5 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003301/0.5713, allocations: 1.098 MB / 428.3 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001001/0.5723, allocations: 252.9 kB / 428.5 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006711/0.579, allocations: 3.301 MB / 431.8 MB, free: 7.988 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.928e-05/0.579, allocations: 16 kB / 431.8 MB, free: 7.973 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.338e-05/0.5791, allocations: 15.94 kB / 431.9 MB, free: 7.957 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.262e-05/0.5791, allocations: 7.969 kB / 431.9 MB, free: 7.949 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01649/0.5956, allocations: 6.9 MB / 438.8 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-05/0.5957, allocations: 7.938 kB / 438.8 MB, free: 0.918 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00139/0.5971, allocations: 295.6 kB / 439.1 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002669/0.5998, allocations: 0.9158 MB / 440 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001945/0.6, allocations: 51.95 kB / 440 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01778/0.6178, allocations: 13.44 MB / 453.5 MB, free: 1.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.6178, allocations: 3.953 kB / 453.5 MB, free: 1.266 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2189/0.8367, allocations: 4.868 MB / 458.3 MB, free: 108.1 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001634/0.8384, allocations: 0.5699 MB / 458.9 MB, free: 108 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008843/0.8393, allocations: 35.69 kB / 458.9 MB, free: 108 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001754/0.8411, allocations: 133.5 kB / 459.1 MB, free: 108 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004681/0.8416, allocations: 157.1 kB / 459.2 MB, free: 108 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001891/0.8418, allocations: 49.47 kB / 459.3 MB, free: 108 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003418/0.8452, allocations: 1.614 MB / 460.9 MB, free: 107.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8452, allocations: 0 / 460.9 MB, free: 107.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003246/0.8485, allocations: 0.7028 MB / 461.6 MB, free: 107.3 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 (linear and non-linear blocks): 1 * Torn equation systems: 7 * 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: 7 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004563/0.8489, allocations: 169.9 kB / 461.8 MB, free: 107.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004811/0.8538, allocations: 3.582 MB / 465.3 MB, free: 105.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/0.8538, allocations: 7.812 kB / 465.3 MB, free: 105.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003161/0.857, allocations: 2.513 MB / 467.9 MB, free: 104.1 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003584/0.8606, allocations: 0.6886 MB / 468.5 MB, free: 103.9 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/0.8713, allocations: 7.957 MB / 476.5 MB, free: 98.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001822/0.8732, allocations: 2.517 MB / 479 MB, free: 95.87 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002038/0.8752, allocations: 0.5943 MB / 479.6 MB, free: 95.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005536/0.8758, allocations: 155.4 kB / 479.8 MB, free: 95.12 MB / 382.1 MB Notification: Performance of SimCode: time 1.222e-06/0.8758, allocations: 4 kB / 479.8 MB, free: 95.12 MB / 382.1 MB Notification: Performance of Templates: time 0.07296/0.9488, allocations: 38.85 MB / 0.5065 GB, free: 56.22 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe 2>&1)