Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001178/0.001184, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001475/0.001475, allocations: 193.4 kB / 16.25 MB, free: 6.617 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.899/1.899, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.001511/0.001511, allocations: 47.94 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4244/0.426, allocations: 46.63 MB / 324.9 MB, free: 1.918 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.01673/0.4428, allocations: 9.287 MB / 334.1 MB, free: 10.6 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01106/0.454, allocations: 2.979 MB / 337.1 MB, free: 7.793 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003532/0.4576, allocations: 39.81 kB / 337.2 MB, free: 7.754 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003028/0.4607, allocations: 0.5634 MB / 337.7 MB, free: 7.188 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004922/0.4657, allocations: 0.6916 MB / 338.4 MB, free: 6.492 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001965/0.4677, allocations: 315.6 kB / 338.7 MB, free: 6.184 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00602/0.4737, allocations: 2.7 MB / 341.4 MB, free: 3.469 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004026/0.4778, allocations: 1.892 MB / 343.3 MB, free: 1.52 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003195/0.481, allocations: 1.199 MB / 344.5 MB, free: 324 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003599/0.4846, allocations: 1.522 MB / 346 MB, free: 14.79 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001238/0.4859, allocations: 312 kB / 346.3 MB, free: 14.48 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002014/0.4879, allocations: 391.8 kB / 346.7 MB, free: 14.1 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001841/0.4898, allocations: 0.8883 MB / 347.6 MB, free: 13.21 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003074/0.4929, allocations: 1.412 MB / 349 MB, free: 11.79 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005088/0.498, allocations: 4.042 MB / 353.1 MB, free: 7.738 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.498, allocations: 0 / 353.1 MB, free: 7.738 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.566e-06/0.498, allocations: 0 / 353.1 MB, free: 7.738 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.62e-05/0.4981, allocations: 0 / 353.1 MB, free: 7.738 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.00669/0.5048, allocations: 2.849 MB / 355.9 MB, free: 4.824 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/0.5049, allocations: 15.89 kB / 355.9 MB, free: 4.809 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008161/0.5057, allocations: 289.7 kB / 356.2 MB, free: 4.523 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002631/0.5083, allocations: 1.43 MB / 357.6 MB, free: 3.035 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/0.5085, allocations: 156.4 kB / 357.8 MB, free: 2.879 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003024/0.5088, allocations: 208 kB / 358 MB, free: 2.676 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00649/0.5153, allocations: 2.732 MB / 360.7 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.598e-05/0.5154, allocations: 7.938 kB / 360.7 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002436/0.5157, allocations: 83.98 kB / 360.8 MB, free: 15.76 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001526/0.5158, allocations: 91.94 kB / 360.9 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005183/0.521, allocations: 2.326 MB / 363.2 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01801/0.5391, allocations: 8.407 MB / 371.6 MB, free: 4.699 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002281/0.5414, allocations: 1.775 MB / 373.4 MB, free: 2.812 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001838/0.5433, allocations: 1.055 MB / 374.5 MB, free: 1.758 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003449/0.5436, allocations: 130.1 kB / 374.6 MB, free: 1.613 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.233e-05/0.5437, allocations: 55.47 kB / 374.7 MB, free: 1.547 MB / 302.1 MB Notification: Performance of pre-optimization done (n=104): time 4.138e-06/0.5437, allocations: 0 / 374.7 MB, free: 1.547 MB / 302.1 MB Notification: Performance of matching and sorting (n=120): time 0.01472/0.5585, allocations: 6.309 MB / 381 MB, free: 11.1 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/0.5586, allocations: 60.41 kB / 381 MB, free: 11.03 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002427/0.561, allocations: 1.52 MB / 382.5 MB, free: 9.496 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001249/0.5611, allocations: 45.7 kB / 382.6 MB, free: 9.445 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008198/0.562, allocations: 0.9834 MB / 383.6 MB, free: 8.449 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003829/0.5624, allocations: 414 kB / 384 MB, free: 8.039 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004372/0.5628, allocations: 255.4 kB / 384.2 MB, free: 7.781 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002118/0.563, allocations: 365.9 kB / 384.6 MB, free: 7.418 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001154/0.5642, allocations: 0.7261 MB / 385.3 MB, free: 6.691 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001298/0.5655, allocations: 1.063 MB / 386.4 MB, free: 5.496 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002551/0.5681, allocations: 1.871 MB / 388.2 MB, free: 3.492 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/0.5681, allocations: 4 kB / 388.2 MB, free: 3.488 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004602/0.5727, allocations: 2.349 MB / 390.6 MB, free: 1.117 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.171e-05/0.5727, allocations: 8 kB / 390.6 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.345e-05/0.5728, allocations: 12.34 kB / 390.6 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001036/0.5738, allocations: 411.1 kB / 391 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/0.5751, allocations: 335.5 kB / 391.3 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006035/0.5812, allocations: 5.06 MB / 396.4 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/0.5829, allocations: 91.78 kB / 396.5 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/0.5831, allocations: 59.98 kB / 396.6 MB, free: 10.87 MB / 334.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.001562/0.5846, allocations: 0.7003 MB / 397.3 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004045/0.585, allocations: 166.1 kB / 397.4 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003746/0.5888, allocations: 2.141 MB / 399.6 MB, free: 7.824 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/0.5888, allocations: 15.98 kB / 399.6 MB, free: 7.809 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.5888, allocations: 0 / 399.6 MB, free: 7.809 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.5888, allocations: 3.984 kB / 399.6 MB, free: 7.805 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008404/0.5973, allocations: 4.585 MB / 404.2 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/0.5973, allocations: 4 kB / 404.2 MB, free: 3.117 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000961/0.5983, allocations: 223.7 kB / 404.4 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001306/0.5996, allocations: 467.1 kB / 404.8 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001129/0.5997, allocations: 39.92 kB / 404.9 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007515/0.6073, allocations: 6.677 MB / 411.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.6073, allocations: 4 kB / 411.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005348/0.6127, allocations: 3.178 MB / 414.7 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001162/0.6138, allocations: 395 kB / 415.1 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003431/0.6142, allocations: 35.92 kB / 415.2 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009209/0.6151, allocations: 79.91 kB / 415.2 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000379/0.6155, allocations: 116.7 kB / 415.4 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/0.6156, allocations: 35.98 kB / 415.4 MB, free: 7.387 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001962/0.6176, allocations: 1.04 MB / 416.4 MB, free: 6.348 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6176, allocations: 0 / 416.4 MB, free: 6.348 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002278/0.6199, allocations: 471.9 kB / 416.9 MB, free: 5.887 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 (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.0005962/0.6205, allocations: 186.9 kB / 417.1 MB, free: 5.691 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.006003/0.6265, allocations: 2.828 MB / 419.9 MB, free: 2.797 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 9.888e-06/0.6266, allocations: 0 / 419.9 MB, free: 2.797 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002638/0.6292, allocations: 1.484 MB / 421.4 MB, free: 1.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002531/0.6318, allocations: 433.2 kB / 421.8 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/0.642, allocations: 5.425 MB / 427.2 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001853/0.6439, allocations: 1.815 MB / 429 MB, free: 9.496 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001688/0.6456, allocations: 393.5 kB / 429.4 MB, free: 9.105 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003567/0.646, allocations: 115.4 kB / 429.5 MB, free: 8.996 MB / 366.1 MB Notification: Performance of SimCode: time 1.864e-06/0.646, allocations: 0 / 429.5 MB, free: 8.996 MB / 366.1 MB Notification: Performance of Templates: time 0.2805/0.9265, allocations: 25.42 MB / 455 MB, free: 114 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1)