Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.lesigma.i|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.lesigma.i|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001502/0.001502, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.008/2.008, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001049/0.001049, allocations: 82.19 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.56e-05/2.557e-05, allocations: 4 kB / 314.8 MB, free: 9.133 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3253, allocations: 47.56 MB / 362.3 MB, free: 45.84 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1861/0.5114, allocations: 114.9 MB / 477.3 MB, free: 3.273 MB / 363.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003291/0.5118, allocations: 87.94 kB / 477.4 MB, free: 3.188 MB / 363.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.5252/1.037, allocations: 61.69 MB / 0.5264 GB, free: 102.1 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.745e-06/1.037, allocations: 3.062 kB / 0.5264 GB, free: 102.1 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0003631/1.037, allocations: 72.7 kB / 0.5265 GB, free: 102 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 731 * Number of variables: 731 Notification: Performance of Generate backend data structure: time 0.0113/1.049, allocations: 3.017 MB / 0.5295 GB, free: 100.5 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/1.049, allocations: 7.844 kB / 0.5295 GB, free: 100.5 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003177/1.052, allocations: 481.8 kB / 0.5299 GB, free: 100.3 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007691/1.06, allocations: 2.07 MB / 0.5319 GB, free: 99.25 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00044/1.06, allocations: 293.6 kB / 0.5322 GB, free: 99.05 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00141/1.062, allocations: 169.2 kB / 0.5324 GB, free: 99.05 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008536/1.07, allocations: 2.665 MB / 0.535 GB, free: 97.98 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009981/1.08, allocations: 3.185 MB / 0.5381 GB, free: 96.55 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001251/1.081, allocations: 11.16 kB / 0.5381 GB, free: 96.55 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003805/1.081, allocations: 3.844 kB / 0.5381 GB, free: 96.55 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001417/1.081, allocations: 113.8 kB / 0.5382 GB, free: 96.54 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03034/1.111, allocations: 11.42 MB / 0.5494 GB, free: 90.51 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004452/1.116, allocations: 2.717 MB / 0.552 GB, free: 88.64 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00248/1.118, allocations: 1.065 MB / 0.5531 GB, free: 88.23 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004326/1.119, allocations: 136.3 kB / 0.5532 GB, free: 88.14 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002314/1.121, allocations: 1.079 MB / 0.5542 GB, free: 87.34 MB / 395.1 MB Notification: Performance of pre-optimization done (n=156): time 5.3e-06/1.121, allocations: 0 / 0.5542 GB, free: 87.34 MB / 395.1 MB Notification: Performance of matching and sorting (n=180): time 0.02032/1.142, allocations: 6.417 MB / 0.5605 GB, free: 80.88 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/1.142, allocations: 312.7 kB / 0.5608 GB, free: 80.5 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003511/1.145, allocations: 1.558 MB / 0.5623 GB, free: 78.91 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004598/1.146, allocations: 33.7 kB / 0.5624 GB, free: 78.87 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001298/1.147, allocations: 1.311 MB / 0.5636 GB, free: 77.54 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008444/1.148, allocations: 0.5812 MB / 0.5642 GB, free: 76.96 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001892/1.148, allocations: 4 kB / 0.5642 GB, free: 76.95 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/1.148, allocations: 390.9 kB / 0.5646 GB, free: 76.56 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002168/1.151, allocations: 0.9607 MB / 0.5655 GB, free: 75.6 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002528/1.153, allocations: 1.483 MB / 0.567 GB, free: 73.9 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002765/1.156, allocations: 1.18 MB / 0.5681 GB, free: 72.73 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-05/1.156, allocations: 4.75 kB / 0.5681 GB, free: 72.72 MB / 395.1 MB Notification: Performance of matching and sorting (n=264) (initialization): time 0.008354/1.164, allocations: 3.216 MB / 0.5713 GB, free: 69.47 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001061/1.165, allocations: 5.143 MB / 0.5763 GB, free: 63.93 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-05/1.166, allocations: 12 kB / 0.5763 GB, free: 63.91 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00482/1.17, allocations: 1.165 MB / 0.5774 GB, free: 62.73 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002838/1.173, allocations: 383.4 kB / 0.5778 GB, free: 62.36 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02005/1.193, allocations: 14 MB / 0.5915 GB, free: 47.67 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003573/1.197, allocations: 131.9 kB / 0.5916 GB, free: 47.54 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004685/1.197, allocations: 90.05 kB / 0.5917 GB, free: 47.45 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/1.198, allocations: 6.5 kB / 0.5917 GB, free: 47.45 MB / 395.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007858/1.205, allocations: 3.086 MB / 0.5947 GB, free: 44.34 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.137e-05/1.205, allocations: 23.97 kB / 0.5947 GB, free: 44.32 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00396/1.209, allocations: 1.15 MB / 0.5959 GB, free: 43.15 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002929/1.212, allocations: 371.4 kB / 0.5962 GB, free: 42.79 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02149/1.234, allocations: 14.11 MB / 0.61 GB, free: 27.99 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002499/1.237, allocations: 119.8 kB / 0.6101 GB, free: 27.87 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003407/1.237, allocations: 88.05 kB / 0.6102 GB, free: 27.79 MB / 395.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: switch.closerWithArc[1].v:VARIABLE(unit = "V" ) "Voltage drop of the two pins (= p.v - n.v)" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: switch.closerWithArc[3].v:VARIABLE(unit = "V" ) "Voltage drop of the two pins (= p.v - n.v)" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: switch.closerWithArc[2].v:VARIABLE(unit = "V" ) "Voltage drop of the two pins (= p.v - n.v)" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.loadControl.pulseStart,loadControl.pulseStart,$PRE.switch.closerWithArc[1].off,switch.closerWithArc[1].off,$PRE.switch.closerWithArc[1].quenched,switch.closerWithArc[1].quenched,$PRE.switch.closerWithArc[1].tSwitch,switch.closerWithArc[1].tSwitch,$PRE.switch.closerWithArc[2].off,switch.closerWithArc[2].off,$PRE.switch.closerWithArc[2].quenched,switch.closerWithArc[2].quenched,$PRE.switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].tSwitch,$PRE.switch.closerWithArc[3].off,switch.closerWithArc[3].off,$PRE.switch.closerWithArc[3].quenched,switch.closerWithArc[3].quenched,$PRE.switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].tSwitch,voltageController.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (212): * Single equations (assignments): 205 * 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: 6 * 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 {(2,100.0%) 16,(3,100.0%) 24,(2,100.0%) 4} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000674/1.238, allocations: 186.5 kB / 0.6104 GB, free: 27.6 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008122/1.238, allocations: 217.4 kB / 0.6106 GB, free: 27.38 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009963/1.248, allocations: 3.25 MB / 0.6138 GB, free: 24.11 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.452e-05/1.248, allocations: 16 kB / 0.6138 GB, free: 24.09 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/1.249, allocations: 4 kB / 0.6138 GB, free: 24.09 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.59e-05/1.249, allocations: 7.969 kB / 0.6138 GB, free: 24.08 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01844/1.267, allocations: 6.154 MB / 0.6198 GB, free: 17.85 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.821e-05/1.267, allocations: 0 / 0.6198 GB, free: 17.85 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00177/1.269, allocations: 208 kB / 0.62 GB, free: 17.64 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00594/1.275, allocations: 1.386 MB / 0.6213 GB, free: 16.24 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000375/1.275, allocations: 19.97 kB / 0.6214 GB, free: 16.22 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02449/1.3, allocations: 14.19 MB / 0.6352 GB, free: 1.469 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.104e-05/1.3, allocations: 4 kB / 0.6352 GB, free: 1.465 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01366/1.314, allocations: 4.696 MB / 0.6398 GB, free: 12.61 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002298/1.316, allocations: 0.5061 MB / 0.6403 GB, free: 12.08 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008825/1.317, allocations: 27.92 kB / 0.6403 GB, free: 12.05 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00321/1.32, allocations: 107.9 kB / 0.6404 GB, free: 11.95 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001107/1.321, allocations: 230 kB / 0.6406 GB, free: 11.73 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002264/1.321, allocations: 51.98 kB / 0.6407 GB, free: 11.68 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.003475/1.325, allocations: 1.171 MB / 0.6418 GB, free: 10.48 MB / 411.1 MB Notification: Performance of sort global known variables: time 9.02e-07/1.325, allocations: 0 / 0.6418 GB, free: 10.48 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.007928/1.333, allocations: 1.094 MB / 0.6429 GB, free: 9.387 MB / 411.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 8 (smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],speed.phi,speed.w,voltageController.I.y) * Number of discrete variables: 14 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,loadControl.pulseStart,switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[1].tSwitch,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched,switch.closerWithArc[2].tSwitch,switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[3].tSwitch) * Number of discrete states: 6 (switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched) * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 4 {7 52,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001079/1.334, allocations: 333.1 kB / 0.6432 GB, free: 9.078 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.01774/1.352, allocations: 5.947 MB / 0.649 GB, free: 2.973 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 1.179e-05/1.352, allocations: 256 / 0.649 GB, free: 2.973 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007077/1.359, allocations: 2.235 MB / 0.6512 GB, free: 0.6875 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004364/1.363, allocations: 421.2 kB / 0.6516 GB, free: 288 kB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3023/1.666, allocations: 5.049 MB / 0.6566 GB, free: 101.3 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00389/1.67, allocations: 2.297 MB / 0.6588 GB, free: 100.6 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001186/1.671, allocations: 137.2 kB / 0.6589 GB, free: 100.6 MB / 411.1 MB Notification: Performance of SimCode: time 1.192e-06/1.671, allocations: 0 / 0.6589 GB, free: 100.6 MB / 411.1 MB Notification: Performance of Templates: time 0.1755/1.846, allocations: 116.1 MB / 0.7723 GB, free: 17.27 MB / 411.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe 2>&1)