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.001256/0.001257, allocations: 102.4 kB / 16.5 MB, free: 6.648 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.00157/0.00157, allocations: 195.1 kB / 17.42 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.02/2.02, allocations: 205.1 MB / 223.3 MB, free: 12.41 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.001228/0.001228, allocations: 55.94 kB / 279.3 MB, free: 3.566 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1251, allocations: 46.63 MB / 326 MB, free: 4.871 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.01257/0.1378, allocations: 9.29 MB / 335.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009131/0.147, allocations: 3.008 MB / 338.3 MB, free: 8.512 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002757/0.1498, allocations: 35.81 kB / 338.3 MB, free: 8.477 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0026/0.1525, allocations: 0.5439 MB / 338.8 MB, free: 7.93 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002784/0.1553, allocations: 0.6994 MB / 339.5 MB, free: 7.227 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000862/0.1562, allocations: 311.7 kB / 339.8 MB, free: 6.922 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003728/0.1599, allocations: 3.121 MB / 343 MB, free: 3.785 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002154/0.1621, allocations: 1.56 MB / 344.5 MB, free: 2.172 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001838/0.1639, allocations: 1.031 MB / 345.6 MB, free: 1.137 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002193/0.1661, allocations: 1.432 MB / 347 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003799/0.1665, allocations: 192 kB / 347.2 MB, free: 15.51 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007363/0.1673, allocations: 283.8 kB / 347.5 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007965/0.1681, allocations: 0.7633 MB / 348.2 MB, free: 14.47 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001488/0.1696, allocations: 1.275 MB / 349.5 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003768/0.1734, allocations: 3.941 MB / 353.4 MB, free: 9.234 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.1734, allocations: 0 / 353.4 MB, free: 9.234 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1734, allocations: 0 / 353.4 MB, free: 9.234 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.4e-05/0.1735, allocations: 4 kB / 353.4 MB, free: 9.23 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.005856/0.1793, allocations: 2.845 MB / 356.3 MB, free: 6.32 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.1794, allocations: 8.031 kB / 356.3 MB, free: 6.312 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007507/0.1802, allocations: 289.7 kB / 356.6 MB, free: 6.027 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002312/0.1825, allocations: 1.43 MB / 358 MB, free: 4.539 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001204/0.1826, allocations: 156.4 kB / 358.2 MB, free: 4.383 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002819/0.1829, allocations: 204 kB / 358.4 MB, free: 4.184 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004443/0.1874, allocations: 2.736 MB / 361.1 MB, free: 1.359 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.271e-05/0.1874, allocations: 11.88 kB / 361.1 MB, free: 1.348 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001775/0.1876, allocations: 80 kB / 361.2 MB, free: 1.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001054/0.1877, allocations: 99.92 kB / 361.3 MB, free: 1.172 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003727/0.1915, allocations: 2.319 MB / 363.6 MB, free: 14.85 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0143/0.2058, allocations: 8.43 MB / 372 MB, free: 6.18 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002569/0.2084, allocations: 1.764 MB / 373.8 MB, free: 4.309 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002002/0.2105, allocations: 1.069 MB / 374.9 MB, free: 3.238 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003179/0.2108, allocations: 114.1 kB / 375 MB, free: 3.109 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.918e-05/0.2109, allocations: 51.56 kB / 375 MB, free: 3.047 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 4.158e-06/0.2109, allocations: 0 / 375 MB, free: 3.047 MB / 318.1 MB Notification: Performance of matching and sorting (n=120): time 0.2986/0.5095, allocations: 6.294 MB / 381.3 MB, free: 51.29 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/0.5096, allocations: 69.53 kB / 381.4 MB, free: 51.22 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00336/0.513, allocations: 1.51 MB / 382.9 MB, free: 50.65 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003262/0.5133, allocations: 49.27 kB / 382.9 MB, free: 50.6 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001419/0.5148, allocations: 0.9889 MB / 383.9 MB, free: 49.84 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006973/0.5155, allocations: 416.8 kB / 384.3 MB, free: 49.52 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006317/0.5161, allocations: 253.1 kB / 384.6 MB, free: 49.41 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002347/0.5164, allocations: 361.5 kB / 384.9 MB, free: 49.08 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001927/0.5183, allocations: 0.7324 MB / 385.7 MB, free: 48.83 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00216/0.5205, allocations: 1.055 MB / 386.7 MB, free: 48.21 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003925/0.5244, allocations: 1.876 MB / 388.6 MB, free: 47.22 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.16e-05/0.5244, allocations: 2.594 kB / 388.6 MB, free: 47.22 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.006192/0.5306, allocations: 2.351 MB / 391 MB, free: 46.32 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.23e-05/0.5307, allocations: 11.91 kB / 391 MB, free: 46.31 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.939e-05/0.5308, allocations: 11.78 kB / 391 MB, free: 46.31 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009665/0.5317, allocations: 402.4 kB / 391.4 MB, free: 46.19 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001358/0.5331, allocations: 329.5 kB / 391.7 MB, free: 46.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005687/0.5388, allocations: 4.643 MB / 396.3 MB, free: 42.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002028/0.5409, allocations: 90.94 kB / 396.4 MB, free: 42.65 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000171/0.5411, allocations: 54.88 kB / 396.5 MB, free: 42.64 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[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 (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001713/0.5428, allocations: 0.7064 MB / 397.2 MB, free: 42.25 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004873/0.5433, allocations: 161.1 kB / 397.3 MB, free: 42.17 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003677/0.547, allocations: 2.146 MB / 399.5 MB, free: 41.27 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.692e-05/0.547, allocations: 11.31 kB / 399.5 MB, free: 41.27 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.305e-05/0.547, allocations: 7.5 kB / 399.5 MB, free: 41.27 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.51e-05/0.547, allocations: 3.984 kB / 399.5 MB, free: 41.27 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008274/0.5553, allocations: 4.59 MB / 404.1 MB, free: 37.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.046e-06/0.5554, allocations: 4 kB / 404.1 MB, free: 37.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008826/0.5563, allocations: 219.7 kB / 404.3 MB, free: 37.55 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001158/0.5574, allocations: 466.2 kB / 404.8 MB, free: 37.09 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.841e-05/0.5575, allocations: 31.98 kB / 404.8 MB, free: 37.05 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005572/0.5631, allocations: 6.153 MB / 411 MB, free: 30.52 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.5632, allocations: 5.219 kB / 411 MB, free: 30.52 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005093/0.5683, allocations: 3.171 MB / 414.1 MB, free: 27.29 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001234/0.5696, allocations: 403 kB / 414.5 MB, free: 26.88 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003942/0.57, allocations: 35.94 kB / 414.6 MB, free: 26.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009704/0.5709, allocations: 75.91 kB / 414.6 MB, free: 26.77 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003498/0.5713, allocations: 100.8 kB / 414.7 MB, free: 26.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-05/0.5714, allocations: 35.98 kB / 414.8 MB, free: 26.63 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.002043/0.5734, allocations: 1.044 MB / 415.8 MB, free: 25.59 MB / 318.1 MB Notification: Performance of sort global known variables: time 6.11e-07/0.5735, allocations: 0 / 415.8 MB, free: 25.59 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002781/0.5763, allocations: 466.6 kB / 416.3 MB, free: 25.13 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 (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.0004952/0.5768, allocations: 197.6 kB / 416.5 MB, free: 24.94 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00373/0.5805, allocations: 2.262 MB / 418.7 MB, free: 22.61 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.5806, allocations: 8.25 kB / 418.7 MB, free: 22.61 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002118/0.5827, allocations: 1.488 MB / 420.2 MB, free: 21.06 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002764/0.5855, allocations: 417.1 kB / 420.6 MB, free: 20.66 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009265/0.5947, allocations: 5.405 MB / 426 MB, free: 15.22 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001314/0.5961, allocations: 1.822 MB / 427.9 MB, free: 13.36 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.00145/0.5976, allocations: 393.5 kB / 428.2 MB, free: 12.97 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003347/0.5979, allocations: 111.4 kB / 428.4 MB, free: 12.86 MB / 318.1 MB Notification: Performance of SimCode: time 2.054e-06/0.5979, allocations: 4 kB / 428.4 MB, free: 12.86 MB / 318.1 MB Notification: Performance of Templates: time 0.04999/0.6479, allocations: 24.51 MB / 452.9 MB, free: 4.336 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.makefile (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)