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.00148/0.00148, allocations: 111.2 kB / 17.06 MB, free: 6 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.001566/0.001566, allocations: 196 kB / 18 MB, free: 5.078 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.952/1.952, allocations: 205.1 MB / 223.9 MB, free: 12.22 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.002168/0.002168, allocations: 48.36 kB / 327.9 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1732, allocations: 46.62 MB / 374.5 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.3543/0.5276, allocations: 9.336 MB / 383.8 MB, free: 8.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007945/0.5357, allocations: 3.031 MB / 386.9 MB, free: 6.641 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002939/0.5387, allocations: 41.31 kB / 386.9 MB, free: 6.629 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002703/0.5414, allocations: 0.6353 MB / 387.5 MB, free: 6.289 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004261/0.5457, allocations: 0.7785 MB / 388.3 MB, free: 5.797 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001405/0.5472, allocations: 351.4 kB / 388.7 MB, free: 5.582 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005699/0.5529, allocations: 2.684 MB / 391.3 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004122/0.557, allocations: 1.903 MB / 393.2 MB, free: 3.434 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003579/0.5607, allocations: 1.188 MB / 394.4 MB, free: 2.863 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003583/0.5643, allocations: 1.487 MB / 395.9 MB, free: 2.168 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001297/0.5656, allocations: 308.9 kB / 396.2 MB, free: 2.168 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002165/0.5678, allocations: 404.2 kB / 396.6 MB, free: 2.137 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001215/0.569, allocations: 0.8791 MB / 397.5 MB, free: 1.668 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005662/0.5747, allocations: 1.411 MB / 398.9 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009103/0.5838, allocations: 4.08 MB / 403 MB, free: 14.66 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.35e-05/0.5839, allocations: 0 / 403 MB, free: 14.66 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.5839, allocations: 4 kB / 403 MB, free: 14.66 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001922/0.5841, allocations: 1.156 kB / 403 MB, free: 14.66 MB / 334.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.01205/0.5962, allocations: 2.846 MB / 405.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.392e-05/0.5963, allocations: 14.42 kB / 405.9 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001523/0.5978, allocations: 284 kB / 406.1 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004263/0.6021, allocations: 1.447 MB / 407.6 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002293/0.6023, allocations: 154.7 kB / 407.7 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005228/0.6029, allocations: 204.1 kB / 407.9 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007062/0.6099, allocations: 2.739 MB / 410.7 MB, free: 9.695 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.734e-05/0.6101, allocations: 6.781 kB / 410.7 MB, free: 9.691 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002278/0.6103, allocations: 80.31 kB / 410.7 MB, free: 9.629 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001317/0.6104, allocations: 95.19 kB / 410.8 MB, free: 9.617 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005413/0.6158, allocations: 2.327 MB / 413.2 MB, free: 8.426 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01742/0.6333, allocations: 8.306 MB / 421.5 MB, free: 172 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002374/0.6357, allocations: 1.78 MB / 423.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001937/0.6377, allocations: 1.077 MB / 424.3 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002556/0.638, allocations: 122.1 kB / 424.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.514e-05/0.638, allocations: 39.56 kB / 424.5 MB, free: 13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 3.076e-06/0.638, allocations: 0 / 424.5 MB, free: 13 MB / 350.1 MB Notification: Performance of matching and sorting (n=120): time 0.01498/0.653, allocations: 6.308 MB / 430.8 MB, free: 6.559 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/0.6531, allocations: 64.41 kB / 430.9 MB, free: 6.484 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002965/0.6561, allocations: 1.516 MB / 432.4 MB, free: 4.957 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002785/0.6564, allocations: 46.64 kB / 432.4 MB, free: 4.906 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001183/0.6576, allocations: 0.9834 MB / 433.4 MB, free: 3.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000631/0.6582, allocations: 414 kB / 433.8 MB, free: 3.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006506/0.6589, allocations: 259.4 kB / 434.1 MB, free: 3.242 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002996/0.6592, allocations: 361.9 kB / 434.4 MB, free: 2.883 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001512/0.6608, allocations: 0.7339 MB / 435.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001725/0.6625, allocations: 1.052 MB / 436.2 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002781/0.6653, allocations: 1.883 MB / 438.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.6653, allocations: 0 / 438.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004583/0.6699, allocations: 2.353 MB / 440.4 MB, free: 12.58 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.168e-05/0.67, allocations: 11.94 kB / 440.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.105e-05/0.67, allocations: 8 kB / 440.5 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/0.671, allocations: 408.3 kB / 440.9 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/0.6723, allocations: 327.6 kB / 441.2 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006613/0.6789, allocations: 5.071 MB / 446.2 MB, free: 6.477 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002492/0.6815, allocations: 83.91 kB / 446.3 MB, free: 6.395 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001743/0.6817, allocations: 55.94 kB / 446.4 MB, free: 6.34 MB / 366.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.002248/0.6839, allocations: 0.7159 MB / 447.1 MB, free: 5.613 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006272/0.6846, allocations: 158 kB / 447.3 MB, free: 5.457 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004334/0.6889, allocations: 2.137 MB / 449.4 MB, free: 3.293 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.735e-05/0.6889, allocations: 12 kB / 449.4 MB, free: 3.281 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.689, allocations: 4 kB / 449.4 MB, free: 3.277 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.591e-05/0.689, allocations: 7.969 kB / 449.4 MB, free: 3.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009687/0.6987, allocations: 4.565 MB / 454 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.317e-06/0.6987, allocations: 288 / 454 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009989/0.6997, allocations: 227.7 kB / 454.2 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001269/0.701, allocations: 462.9 kB / 454.7 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.571e-05/0.7011, allocations: 35.92 kB / 454.7 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00662/0.7078, allocations: 6.69 MB / 461.4 MB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.7078, allocations: 0 / 461.4 MB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005628/0.7134, allocations: 3.188 MB / 464.6 MB, free: 3.523 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001439/0.7149, allocations: 399 kB / 465 MB, free: 3.113 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002696/0.7152, allocations: 24 kB / 465 MB, free: 3.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009114/0.7161, allocations: 79.91 kB / 465.1 MB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003418/0.7165, allocations: 108.7 kB / 465.2 MB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.119e-05/0.7165, allocations: 35.98 kB / 465.2 MB, free: 2.867 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001815/0.7184, allocations: 1.044 MB / 466.2 MB, free: 1.824 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.7184, allocations: 0 / 466.2 MB, free: 1.824 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002374/0.7208, allocations: 460 kB / 466.7 MB, free: 1.375 MB / 382.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.0005425/0.7213, allocations: 199 kB / 466.9 MB, free: 1.172 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004043/0.7254, allocations: 2.266 MB / 469.2 MB, free: 14.83 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/0.7254, allocations: 0 / 469.2 MB, free: 14.83 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002457/0.7279, allocations: 1.488 MB / 470.6 MB, free: 13.29 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00299/0.7309, allocations: 446.5 kB / 471.1 MB, free: 12.85 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009418/0.7403, allocations: 4.464 MB / 475.5 MB, free: 8.328 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001734/0.7421, allocations: 1.819 MB / 477.4 MB, free: 6.48 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00163/0.7438, allocations: 397.5 kB / 477.7 MB, free: 6.086 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003566/0.7441, allocations: 107.4 kB / 477.9 MB, free: 5.98 MB / 398.1 MB Notification: Performance of SimCode: time 1.553e-06/0.7442, allocations: 4 kB / 477.9 MB, free: 5.977 MB / 398.1 MB Notification: Performance of Templates: time 0.05679/0.801, allocations: 25.98 MB / 0.492 GB, free: 11.95 MB / 430.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)