Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_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.SynchronousInductionMachines.SMR_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001952/0.001952, allocations: 116.3 kB / 17.07 MB, free: 5.973 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.002874/0.002874, allocations: 198.8 kB / 18.01 MB, free: 5.055 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.782/1.782, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.001383/0.001384, allocations: 47.92 kB / 327.9 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1278, allocations: 46.62 MB / 374.5 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.3007/0.4285, allocations: 10.14 MB / 384.6 MB, free: 7.793 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008275/0.4369, allocations: 3.282 MB / 387.9 MB, free: 5.883 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003112/0.4401, allocations: 51.75 kB / 388 MB, free: 5.867 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003008/0.4431, allocations: 0.7328 MB / 388.7 MB, free: 5.461 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004425/0.4476, allocations: 0.8798 MB / 389.6 MB, free: 4.898 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001791/0.4494, allocations: 410.2 kB / 390 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006005/0.4554, allocations: 2.971 MB / 392.9 MB, free: 3.164 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004032/0.4595, allocations: 2.441 MB / 395.4 MB, free: 2.137 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003529/0.4631, allocations: 1.342 MB / 396.7 MB, free: 1.492 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005385/0.4685, allocations: 1.702 MB / 398.4 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001748/0.4703, allocations: 354.5 kB / 398.8 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003322/0.4737, allocations: 457.2 kB / 399.2 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002297/0.476, allocations: 1.008 MB / 400.2 MB, free: 124 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005965/0.482, allocations: 1.616 MB / 401.8 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0107/0.4927, allocations: 4.678 MB / 406.5 MB, free: 12.24 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.4928, allocations: 0 / 406.5 MB, free: 12.24 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.4928, allocations: 0 / 406.5 MB, free: 12.24 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000218/0.493, allocations: 1.094 kB / 406.5 MB, free: 12.24 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: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.01384/0.5069, allocations: 3.256 MB / 409.8 MB, free: 10 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.728e-05/0.507, allocations: 13.58 kB / 409.8 MB, free: 9.996 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0026/0.5096, allocations: 333.4 kB / 410.1 MB, free: 9.832 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006013/0.5156, allocations: 1.66 MB / 411.8 MB, free: 8.652 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002581/0.5159, allocations: 173.8 kB / 412 MB, free: 8.574 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001403/0.5174, allocations: 232.9 kB / 412.2 MB, free: 8.492 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0127/0.5301, allocations: 3.131 MB / 415.3 MB, free: 6.586 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001737/0.5303, allocations: 15.89 kB / 415.3 MB, free: 6.57 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001014/0.5313, allocations: 92 kB / 415.4 MB, free: 6.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001558/0.5315, allocations: 108.5 kB / 415.5 MB, free: 6.371 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008733/0.5403, allocations: 2.692 MB / 418.2 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03213/0.5725, allocations: 9.618 MB / 427.8 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003924/0.5765, allocations: 2.177 MB / 430 MB, free: 7.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002404/0.5789, allocations: 1.109 MB / 431.1 MB, free: 6.305 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004197/0.5794, allocations: 215.2 kB / 431.3 MB, free: 6.055 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.411e-05/0.5795, allocations: 47.56 kB / 431.4 MB, free: 6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=116): time 8.376e-06/0.5795, allocations: 0 / 431.4 MB, free: 6 MB / 350.1 MB Notification: Performance of matching and sorting (n=131): time 0.0184/0.5979, allocations: 6.702 MB / 438.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.998e-05/0.598, allocations: 68.72 kB / 438.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004033/0.6021, allocations: 1.739 MB / 439.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003593/0.6025, allocations: 45.7 kB / 439.9 MB, free: 13.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001151/0.6036, allocations: 1.159 MB / 441.1 MB, free: 12.1 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007491/0.6044, allocations: 453.5 kB / 441.5 MB, free: 11.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007511/0.6052, allocations: 287.3 kB / 441.8 MB, free: 11.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.6053, allocations: 309.1 kB / 442.1 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001552/0.6069, allocations: 0.7886 MB / 442.9 MB, free: 10.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002014/0.6089, allocations: 1.21 MB / 444.1 MB, free: 8.883 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003583/0.6125, allocations: 2.095 MB / 446.2 MB, free: 6.617 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.692e-05/0.6125, allocations: 4 kB / 446.2 MB, free: 6.613 MB / 366.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.006134/0.6187, allocations: 2.663 MB / 448.9 MB, free: 3.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.084e-05/0.6188, allocations: 12 kB / 448.9 MB, free: 3.898 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-05/0.6188, allocations: 12 kB / 448.9 MB, free: 3.887 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001249/0.6201, allocations: 427.9 kB / 449.3 MB, free: 3.457 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001668/0.6218, allocations: 363.4 kB / 449.7 MB, free: 3.102 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008331/0.6301, allocations: 7.073 MB / 456.7 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002566/0.6328, allocations: 103.9 kB / 456.8 MB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004632/0.6333, allocations: 64 kB / 456.9 MB, free: 11.45 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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 (174): * Single equations (assignments): 170 * 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 {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002892/0.6362, allocations: 0.7939 MB / 457.7 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001051/0.6372, allocations: 181.8 kB / 457.9 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005614/0.6429, allocations: 2.371 MB / 460.2 MB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.877e-05/0.6429, allocations: 15.94 kB / 460.3 MB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.742e-05/0.643, allocations: 4 kB / 460.3 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.822e-05/0.643, allocations: 7.969 kB / 460.3 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01376/0.6568, allocations: 5.11 MB / 465.4 MB, free: 2.766 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.358e-05/0.6568, allocations: 0 / 465.4 MB, free: 2.766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/0.6579, allocations: 235.7 kB / 465.6 MB, free: 2.535 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001347/0.6593, allocations: 451.2 kB / 466.1 MB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002006/0.6595, allocations: 39.98 kB / 466.1 MB, free: 2.043 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009941/0.6695, allocations: 8.628 MB / 474.7 MB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.337e-06/0.6696, allocations: 4 kB / 474.7 MB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008032/0.6776, allocations: 3.529 MB / 478.3 MB, free: 5.234 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001963/0.6797, allocations: 430.7 kB / 478.7 MB, free: 4.793 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008969/0.6806, allocations: 32 kB / 478.7 MB, free: 4.762 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00175/0.6824, allocations: 87.89 kB / 478.8 MB, free: 4.676 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000417/0.6828, allocations: 124.7 kB / 478.9 MB, free: 4.551 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001288/0.683, allocations: 40.11 kB / 479 MB, free: 4.512 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.003172/0.6862, allocations: 1.198 MB / 480.2 MB, free: 3.32 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.6862, allocations: 0 / 480.2 MB, free: 3.32 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003853/0.69, allocations: 0.5 MB / 480.7 MB, free: 2.82 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.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 (115): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,1,100.0%), (1,6,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.0007325/0.6908, allocations: 215.5 kB / 480.9 MB, free: 2.598 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00506/0.6959, allocations: 2.46 MB / 483.3 MB, free: 88 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.27e-05/0.6959, allocations: 4 kB / 483.3 MB, free: 84 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00316/0.6991, allocations: 1.615 MB / 484.9 MB, free: 14.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004579/0.7037, allocations: 481.3 kB / 485.4 MB, free: 13.94 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01263/0.7164, allocations: 5.007 MB / 490.4 MB, free: 8.855 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005145/0.7216, allocations: 2.005 MB / 492.4 MB, free: 6.812 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002427/0.7241, allocations: 439.5 kB / 492.9 MB, free: 6.379 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001023/0.7252, allocations: 131.4 kB / 493 MB, free: 6.25 MB / 414.1 MB Notification: Performance of SimCode: time 2.555e-06/0.7252, allocations: 0 / 493 MB, free: 6.25 MB / 414.1 MB Notification: Performance of Templates: time 0.07046/0.7957, allocations: 28.23 MB / 0.509 GB, free: 9.969 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe 2>&1)