Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.001217/0.001217, allocations: 99.62 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.00146/0.00146, allocations: 177.3 kB / 15.95 MB, free: 216 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.892/1.892, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.000458/0.0004583, allocations: 12 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3095, allocations: 47.58 MB / 326.5 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.01016/0.3197, allocations: 8.23 MB / 334.7 MB, free: 11.1 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008014/0.3278, allocations: 3.179 MB / 337.9 MB, free: 8.109 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002085/0.3299, allocations: 43.81 kB / 337.9 MB, free: 8.066 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002292/0.3322, allocations: 0.5791 MB / 338.5 MB, free: 7.484 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00425/0.3365, allocations: 0.7088 MB / 339.2 MB, free: 6.773 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001238/0.3378, allocations: 259.6 kB / 339.4 MB, free: 6.52 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004449/0.3422, allocations: 1.903 MB / 341.3 MB, free: 4.613 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002357/0.3446, allocations: 1.619 MB / 343 MB, free: 2.961 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001963/0.3466, allocations: 0.9263 MB / 343.9 MB, free: 2.031 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002334/0.349, allocations: 1.206 MB / 345.1 MB, free: 0.8203 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005686/0.3495, allocations: 148 kB / 345.2 MB, free: 0.6758 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009612/0.3505, allocations: 211.9 kB / 345.5 MB, free: 480 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008775/0.3514, allocations: 0.74 MB / 346.2 MB, free: 15.73 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008547/0.3523, allocations: 0.5471 MB / 346.7 MB, free: 15.17 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004158/0.3564, allocations: 3.693 MB / 350.4 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3565, allocations: 0 / 350.4 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.3565, allocations: 0 / 350.4 MB, free: 11.47 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001472/0.3566, allocations: 4 kB / 350.4 MB, free: 11.46 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: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.006696/0.3634, allocations: 2.781 MB / 353.2 MB, free: 8.617 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.3634, allocations: 11.97 kB / 353.2 MB, free: 8.605 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001358/0.3648, allocations: 340.2 kB / 353.6 MB, free: 8.27 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003676/0.3685, allocations: 1.581 MB / 355.1 MB, free: 6.633 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002021/0.3687, allocations: 188.6 kB / 355.3 MB, free: 6.445 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004995/0.3692, allocations: 231.9 kB / 355.6 MB, free: 6.219 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006321/0.3756, allocations: 3.106 MB / 358.7 MB, free: 3.023 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.445e-05/0.3757, allocations: 7.938 kB / 358.7 MB, free: 3.016 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002292/0.3759, allocations: 95.98 kB / 358.8 MB, free: 2.922 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001197/0.376, allocations: 112.5 kB / 358.9 MB, free: 2.809 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005164/0.3812, allocations: 2.704 MB / 361.6 MB, free: 92 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01784/0.3991, allocations: 9.743 MB / 371.3 MB, free: 6.055 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002788/0.4019, allocations: 2.181 MB / 373.5 MB, free: 3.711 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002998/0.4022, allocations: 212.1 kB / 373.7 MB, free: 3.469 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.4023, allocations: 43.56 kB / 373.7 MB, free: 3.418 MB / 302.1 MB Notification: Performance of pre-optimization done (n=116): time 3.797e-06/0.4023, allocations: 4 kB / 373.7 MB, free: 3.414 MB / 302.1 MB Notification: Performance of matching and sorting (n=131): time 0.01518/0.4175, allocations: 6.929 MB / 380.7 MB, free: 12.31 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.34e-05/0.4176, allocations: 64.72 kB / 380.7 MB, free: 12.23 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00258/0.4202, allocations: 1.688 MB / 382.4 MB, free: 10.54 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001486/0.4204, allocations: 49.7 kB / 382.5 MB, free: 10.49 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009883/0.4214, allocations: 1.159 MB / 383.6 MB, free: 9.312 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004979/0.4219, allocations: 449.5 kB / 384.1 MB, free: 8.867 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-05/0.422, allocations: 32 kB / 384.1 MB, free: 8.836 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.4221, allocations: 369.9 kB / 384.5 MB, free: 8.469 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001349/0.4235, allocations: 0.8042 MB / 385.3 MB, free: 7.664 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001572/0.4251, allocations: 1.208 MB / 386.5 MB, free: 6.293 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00151/0.4266, allocations: 0.9823 MB / 387.5 MB, free: 5.309 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.978e-06/0.4266, allocations: 4 kB / 387.5 MB, free: 5.305 MB / 318.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004585/0.4312, allocations: 2.67 MB / 390.1 MB, free: 2.594 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/0.4313, allocations: 12.34 kB / 390.1 MB, free: 2.582 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.432e-05/0.4313, allocations: 16 kB / 390.2 MB, free: 2.566 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009347/0.4322, allocations: 383.2 kB / 390.5 MB, free: 2.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/0.4337, allocations: 379.4 kB / 390.9 MB, free: 1.809 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006336/0.44, allocations: 6.382 MB / 397.3 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001653/0.4417, allocations: 111.9 kB / 397.4 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001618/0.4419, allocations: 60 kB / 397.5 MB, free: 10.86 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * 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 (177): * Single equations (assignments): 173 * 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 {(3,100.0%) 11,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001536/0.4435, allocations: 0.7977 MB / 398.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004409/0.4439, allocations: 193.6 kB / 398.4 MB, free: 9.855 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004257/0.4482, allocations: 2.383 MB / 400.8 MB, free: 7.434 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/0.4482, allocations: 16 kB / 400.8 MB, free: 7.418 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/0.4482, allocations: 4 kB / 400.8 MB, free: 7.414 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.562e-05/0.4483, allocations: 7.938 kB / 400.9 MB, free: 7.406 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009575/0.4578, allocations: 5.067 MB / 405.9 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/0.4579, allocations: 4 kB / 405.9 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/0.459, allocations: 252 kB / 406.2 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001153/0.4601, allocations: 423 kB / 406.6 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001201/0.4603, allocations: 35.98 kB / 406.6 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008058/0.4683, allocations: 7.893 MB / 414.5 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/0.4684, allocations: 8 kB / 414.5 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00652/0.4749, allocations: 3.736 MB / 418.3 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001235/0.4762, allocations: 434.7 kB / 418.7 MB, free: 4.699 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005019/0.4767, allocations: 35.98 kB / 418.7 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/0.478, allocations: 91.91 kB / 418.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003218/0.4783, allocations: 124.7 kB / 418.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/0.4784, allocations: 43.92 kB / 419 MB, free: 4.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002238/0.4807, allocations: 1.155 MB / 420.1 MB, free: 3.262 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.834e-06/0.4807, allocations: 0 / 420.1 MB, free: 3.262 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002593/0.4833, allocations: 0.5001 MB / 420.6 MB, free: 2.762 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (117): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,100.0%) 11,(1,100.0%) 1,(1,100.0%) 3,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004556/0.4838, allocations: 163.8 kB / 420.8 MB, free: 2.594 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00434/0.4881, allocations: 2.471 MB / 423.3 MB, free: 60 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/0.4882, allocations: 0 / 423.3 MB, free: 60 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002782/0.4909, allocations: 1.607 MB / 424.9 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002799/0.4938, allocations: 433.8 kB / 425.3 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01184/0.5056, allocations: 5.93 MB / 431.2 MB, free: 7.969 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00258/0.5083, allocations: 2.048 MB / 433.3 MB, free: 5.887 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001766/0.5101, allocations: 447.2 kB / 433.7 MB, free: 5.445 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006003/0.5107, allocations: 131.3 kB / 433.8 MB, free: 5.316 MB / 366.1 MB Notification: Performance of SimCode: time 1.232e-06/0.5107, allocations: 0 / 433.8 MB, free: 5.316 MB / 366.1 MB Notification: Performance of Templates: time 0.2793/0.79, allocations: 25.13 MB / 459 MB, free: 111.4 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe 2>&1) Environment - environmentSimulation: