Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.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_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 96.55 kB / 16.3 MB, free: 6.461 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.001273/0.001273, allocations: 177.6 kB / 17.19 MB, free: 6.344 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.813/1.813, allocations: 205.4 MB / 223.3 MB, free: 13.18 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.0005111/0.0005111, allocations: 19.28 kB / 280.1 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1014, allocations: 47.57 MB / 327.7 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.008169/0.1096, allocations: 7.563 MB / 335.3 MB, free: 12.5 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006198/0.1158, allocations: 2.925 MB / 338.2 MB, free: 9.566 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001961/0.1178, allocations: 39.81 kB / 338.2 MB, free: 9.527 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001979/0.1198, allocations: 0.5209 MB / 338.8 MB, free: 9.004 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002536/0.1224, allocations: 0.6503 MB / 339.4 MB, free: 8.352 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000719/0.1231, allocations: 223.8 kB / 339.6 MB, free: 8.133 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003101/0.1262, allocations: 1.727 MB / 341.3 MB, free: 6.398 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001661/0.1279, allocations: 1.335 MB / 342.7 MB, free: 5.031 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001398/0.1293, allocations: 0.8251 MB / 343.5 MB, free: 4.203 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001383/0.1307, allocations: 1.058 MB / 344.6 MB, free: 3.141 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002185/0.131, allocations: 136 kB / 344.7 MB, free: 3.008 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005527/0.1315, allocations: 199.9 kB / 344.9 MB, free: 2.812 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006447/0.1322, allocations: 0.6348 MB / 345.5 MB, free: 2.176 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004909/0.1327, allocations: 0.4926 MB / 346 MB, free: 1.676 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002728/0.1354, allocations: 3.23 MB / 349.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.1354, allocations: 0 / 349.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1354, allocations: 0 / 349.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.829e-05/0.1355, allocations: 0 / 349.3 MB, free: 14.43 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.004523/0.14, allocations: 2.421 MB / 351.7 MB, free: 11.95 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.1401, allocations: 11.97 kB / 351.7 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006377/0.1407, allocations: 296.7 kB / 352 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002388/0.1431, allocations: 1.398 MB / 353.4 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/0.1433, allocations: 148 kB / 353.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002748/0.1435, allocations: 203.9 kB / 353.7 MB, free: 9.844 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004141/0.1477, allocations: 2.705 MB / 356.4 MB, free: 7.051 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.905e-05/0.1478, allocations: 11.84 kB / 356.4 MB, free: 7.039 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000175/0.1479, allocations: 91.98 kB / 356.5 MB, free: 6.949 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001062/0.1481, allocations: 95.92 kB / 356.6 MB, free: 6.855 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003623/0.1517, allocations: 2.33 MB / 358.9 MB, free: 4.523 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01202/0.1637, allocations: 8.415 MB / 367.4 MB, free: 11.87 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001975/0.1657, allocations: 1.775 MB / 369.1 MB, free: 9.98 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002162/0.166, allocations: 118.9 kB / 369.3 MB, free: 9.848 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.166, allocations: 47.56 kB / 369.3 MB, free: 9.793 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 2.534e-06/0.166, allocations: 3.938 kB / 369.3 MB, free: 9.789 MB / 318.1 MB Notification: Performance of matching and sorting (n=120): time 0.01204/0.1781, allocations: 6.2 MB / 375.5 MB, free: 3.488 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/0.1781, allocations: 68.36 kB / 375.6 MB, free: 3.41 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002069/0.1802, allocations: 1.461 MB / 377 MB, free: 1.938 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000105/0.1803, allocations: 53.7 kB / 377.1 MB, free: 1.879 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006655/0.181, allocations: 0.9834 MB / 378.1 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00032/0.1814, allocations: 422 kB / 378.5 MB, free: 476 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.915e-05/0.1814, allocations: 24 kB / 378.5 MB, free: 452 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.1816, allocations: 361.9 kB / 378.9 MB, free: 84 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2452/0.4268, allocations: 0.7409 MB / 379.6 MB, free: 50.14 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001994/0.4288, allocations: 1.058 MB / 380.7 MB, free: 49.79 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002069/0.4309, allocations: 0.8874 MB / 381.5 MB, free: 49.78 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.06e-05/0.4309, allocations: 2.5 kB / 381.5 MB, free: 49.78 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004902/0.4358, allocations: 2.37 MB / 383.9 MB, free: 49.14 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.763e-05/0.4359, allocations: 9.375 kB / 383.9 MB, free: 49.14 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.701e-05/0.4359, allocations: 9.078 kB / 383.9 MB, free: 49.14 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001167/0.4371, allocations: 410.3 kB / 384.3 MB, free: 49.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/0.4384, allocations: 335.4 kB / 384.7 MB, free: 48.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005358/0.4438, allocations: 4.745 MB / 389.4 MB, free: 45.51 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/0.4453, allocations: 91.84 kB / 389.5 MB, free: 45.49 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/0.4455, allocations: 55.42 kB / 389.6 MB, free: 45.48 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * 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: 2 * 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: 2 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00192/0.4474, allocations: 0.7075 MB / 390.3 MB, free: 45.09 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00043/0.4478, allocations: 165.6 kB / 390.4 MB, free: 45.09 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004258/0.4521, allocations: 2.169 MB / 392.6 MB, free: 44.25 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.4521, allocations: 11.78 kB / 392.6 MB, free: 44.25 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.4522, allocations: 3.938 kB / 392.6 MB, free: 44.25 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.4522, allocations: 7.406 kB / 392.6 MB, free: 44.25 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007923/0.4601, allocations: 4.563 MB / 397.2 MB, free: 42.4 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.4601, allocations: 7.688 kB / 397.2 MB, free: 42.4 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008964/0.461, allocations: 230.4 kB / 397.4 MB, free: 42.38 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001201/0.4623, allocations: 464.6 kB / 397.9 MB, free: 42.17 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-05/0.4624, allocations: 31.27 kB / 397.9 MB, free: 42.15 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005504/0.4679, allocations: 6.267 MB / 404.2 MB, free: 36.84 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.4679, allocations: 2 kB / 404.2 MB, free: 36.84 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004462/0.4724, allocations: 3.359 MB / 407.5 MB, free: 33.69 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008433/0.4732, allocations: 399 kB / 407.9 MB, free: 33.28 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001886/0.4734, allocations: 31.98 kB / 407.9 MB, free: 33.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007536/0.4742, allocations: 75.92 kB / 408 MB, free: 33.17 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002419/0.4744, allocations: 112.7 kB / 408.1 MB, free: 33.06 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.97e-05/0.4745, allocations: 35.98 kB / 408.2 MB, free: 33.03 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001377/0.4759, allocations: 1.005 MB / 409.2 MB, free: 32.02 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4759, allocations: 0 / 409.2 MB, free: 32.02 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001765/0.4777, allocations: 460.7 kB / 409.6 MB, free: 31.58 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003446/0.4781, allocations: 146.7 kB / 409.8 MB, free: 31.43 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003134/0.4812, allocations: 2.293 MB / 412.1 MB, free: 29.06 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.4812, allocations: 0 / 412.1 MB, free: 29.06 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001858/0.4831, allocations: 1.506 MB / 413.6 MB, free: 27.5 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00176/0.4849, allocations: 410.3 kB / 414 MB, free: 27.11 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00703/0.4919, allocations: 5.332 MB / 419.3 MB, free: 21.74 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001233/0.4932, allocations: 1.854 MB / 421.1 MB, free: 19.86 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001245/0.4944, allocations: 404.4 kB / 421.5 MB, free: 19.46 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002891/0.4947, allocations: 107.4 kB / 421.6 MB, free: 19.35 MB / 318.1 MB Notification: Performance of SimCode: time 1.382e-06/0.4947, allocations: 0 / 421.6 MB, free: 19.35 MB / 318.1 MB Notification: Performance of Templates: time 0.04033/0.5351, allocations: 22.98 MB / 444.6 MB, free: 12.36 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1) Environment - environmentSimulation: