Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.001104/0.001104, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001068/0.001069, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.911/1.911, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.0005343/0.0005346, allocations: 8 kB / 278.9 MB, free: 12.73 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4337/0.4342, allocations: 47.59 MB / 326.4 MB, free: 1.434 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.01651/0.4508, allocations: 7.563 MB / 334 MB, free: 11.62 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01052/0.4614, allocations: 2.928 MB / 336.9 MB, free: 9 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002267/0.4637, allocations: 39.81 kB / 337 MB, free: 8.961 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00242/0.4662, allocations: 0.5209 MB / 337.5 MB, free: 8.438 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004162/0.4704, allocations: 0.6542 MB / 338.2 MB, free: 7.781 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.4715, allocations: 223.7 kB / 338.4 MB, free: 7.562 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00433/0.4758, allocations: 1.712 MB / 340.1 MB, free: 5.844 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002835/0.4787, allocations: 1.339 MB / 341.4 MB, free: 4.473 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001986/0.4807, allocations: 0.8212 MB / 342.2 MB, free: 3.648 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002783/0.4835, allocations: 1.066 MB / 343.3 MB, free: 2.578 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009104/0.4844, allocations: 132 kB / 343.4 MB, free: 2.449 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001734/0.4861, allocations: 203.8 kB / 343.6 MB, free: 2.25 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009945/0.4872, allocations: 0.6349 MB / 344.3 MB, free: 1.613 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007992/0.488, allocations: 0.4926 MB / 344.8 MB, free: 1.113 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003238/0.4912, allocations: 3.233 MB / 348 MB, free: 13.87 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4912, allocations: 0 / 348 MB, free: 13.87 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.4912, allocations: 0 / 348 MB, free: 13.87 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.162e-05/0.4913, allocations: 0 / 348 MB, free: 13.87 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.005104/0.4964, allocations: 2.432 MB / 350.4 MB, free: 11.38 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.104e-05/0.4965, allocations: 8.031 kB / 350.4 MB, free: 11.37 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008545/0.4973, allocations: 292.7 kB / 350.7 MB, free: 11.08 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00262/0.5, allocations: 1.395 MB / 352.1 MB, free: 9.625 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/0.5001, allocations: 148 kB / 352.3 MB, free: 9.477 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002936/0.5004, allocations: 207.9 kB / 352.5 MB, free: 9.273 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00453/0.505, allocations: 2.708 MB / 355.2 MB, free: 6.477 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.019e-05/0.505, allocations: 8 kB / 355.2 MB, free: 6.469 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001881/0.5052, allocations: 84 kB / 355.3 MB, free: 6.387 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000119/0.5054, allocations: 95.92 kB / 355.4 MB, free: 6.293 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003841/0.5092, allocations: 2.33 MB / 357.7 MB, free: 3.961 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01405/0.5233, allocations: 8.423 MB / 366.1 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002318/0.5256, allocations: 1.775 MB / 367.9 MB, free: 9.406 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003025/0.526, allocations: 126 kB / 368 MB, free: 9.266 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.138e-05/0.5261, allocations: 43.56 kB / 368.1 MB, free: 9.215 MB / 302.1 MB Notification: Performance of pre-optimization done (n=104): time 5.71e-06/0.5261, allocations: 0 / 368.1 MB, free: 9.215 MB / 302.1 MB Notification: Performance of matching and sorting (n=120): time 0.01479/0.5409, allocations: 6.206 MB / 374.3 MB, free: 2.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.252e-05/0.541, allocations: 68.36 kB / 374.3 MB, free: 2.832 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00338/0.5444, allocations: 1.465 MB / 375.8 MB, free: 1.355 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001106/0.5446, allocations: 49.7 kB / 375.8 MB, free: 1.301 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000971/0.5455, allocations: 0.9795 MB / 376.8 MB, free: 316 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004887/0.546, allocations: 422.1 kB / 377.2 MB, free: 15.89 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.924e-05/0.5461, allocations: 24 kB / 377.3 MB, free: 15.86 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0003077/0.5465, allocations: 361.9 kB / 377.6 MB, free: 15.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001333/0.5478, allocations: 0.7417 MB / 378.3 MB, free: 14.76 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00161/0.5494, allocations: 1.055 MB / 379.4 MB, free: 13.58 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001535/0.551, allocations: 0.8963 MB / 380.3 MB, free: 12.68 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.692e-05/0.551, allocations: 4 kB / 380.3 MB, free: 12.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004455/0.5555, allocations: 2.364 MB / 382.7 MB, free: 10.29 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.323e-05/0.5555, allocations: 8 kB / 382.7 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.647e-05/0.5556, allocations: 11.98 kB / 382.7 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001063/0.5566, allocations: 415.4 kB / 383.1 MB, free: 9.855 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/0.5579, allocations: 335.4 kB / 383.4 MB, free: 9.527 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006125/0.5641, allocations: 4.747 MB / 388.2 MB, free: 4.516 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/0.5654, allocations: 87.91 kB / 388.3 MB, free: 4.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001455/0.5656, allocations: 56.06 kB / 388.3 MB, free: 4.375 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.001627/0.5672, allocations: 0.7158 MB / 389 MB, free: 3.648 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004935/0.5677, allocations: 158 kB / 389.2 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003938/0.5716, allocations: 2.164 MB / 391.3 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.5717, allocations: 12 kB / 391.4 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.548e-05/0.5717, allocations: 4 kB / 391.4 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.5717, allocations: 7.969 kB / 391.4 MB, free: 1.277 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009216/0.5809, allocations: 4.556 MB / 395.9 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/0.581, allocations: 3.953 kB / 395.9 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009649/0.5819, allocations: 231.9 kB / 396.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001246/0.5832, allocations: 470.9 kB / 396.6 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001285/0.5833, allocations: 39.91 kB / 396.7 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007189/0.5905, allocations: 6.27 MB / 402.9 MB, free: 5.203 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.5906, allocations: 4 kB / 402.9 MB, free: 5.199 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005483/0.5961, allocations: 3.355 MB / 406.3 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001164/0.5972, allocations: 399 kB / 406.7 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004088/0.5977, allocations: 24 kB / 406.7 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001/0.5987, allocations: 87.91 kB / 406.8 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002653/0.5989, allocations: 104.8 kB / 406.9 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.213e-05/0.599, allocations: 35.98 kB / 406.9 MB, free: 1.062 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001963/0.601, allocations: 0.997 MB / 407.9 MB, free: 68 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.601, allocations: 0 / 407.9 MB, free: 68 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.002256/0.6033, allocations: 460 kB / 408.4 MB, free: 15.61 MB / 350.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.0003943/0.6037, allocations: 158.9 kB / 408.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004052/0.6078, allocations: 2.29 MB / 410.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/0.6078, allocations: 192 / 410.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002452/0.6102, allocations: 1.503 MB / 412.3 MB, free: 11.53 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002088/0.6123, allocations: 409.6 kB / 412.7 MB, free: 11.13 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00958/0.6219, allocations: 5.309 MB / 418 MB, free: 5.758 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002471/0.6244, allocations: 1.865 MB / 419.9 MB, free: 3.859 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001748/0.6262, allocations: 393.4 kB / 420.3 MB, free: 3.469 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004939/0.6267, allocations: 111.4 kB / 420.4 MB, free: 3.363 MB / 350.1 MB Notification: Performance of SimCode: time 1.924e-06/0.6267, allocations: 0 / 420.4 MB, free: 3.363 MB / 350.1 MB Notification: Performance of Templates: time 0.04983/0.6766, allocations: 22.98 MB / 443.4 MB, free: 12.35 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1) Environment - environmentSimulation: