Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_LoadDump",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_LoadDump",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001107/0.001107, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.272/1.272, allocations: 227.2 MB / 245 MB, free: 7.605 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008165/0.0008165, allocations: 104.2 kB / 297.3 MB, free: 6.16 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002914/0.0002915, allocations: 8 kB / 358 MB, free: 9.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.1986, allocations: 51.48 MB / 409.5 MB, free: 26.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2935/0.4922, allocations: 116.8 MB / 0.514 GB, free: 97.92 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/0.4925, allocations: 86.83 kB / 0.5141 GB, free: 97.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1404/0.6328, allocations: 62.8 MB / 0.5754 GB, free: 35.83 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.6329, allocations: 0 / 0.5754 GB, free: 35.83 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000375/0.6333, allocations: 75.94 kB / 0.5755 GB, free: 35.76 MB / 378.7 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.008642/0.6419, allocations: 3.456 MB / 0.5788 GB, free: 32.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.642, allocations: 8.031 kB / 0.5788 GB, free: 32.22 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001359/0.6434, allocations: 462.3 kB / 0.5793 GB, free: 31.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002041/0.6454, allocations: 491.4 kB / 0.5798 GB, free: 31.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00507/0.6505, allocations: 2.092 MB / 0.5818 GB, free: 29.12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002881/0.6508, allocations: 383.9 kB / 0.5822 GB, free: 28.71 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008675/0.6517, allocations: 284 kB / 0.5824 GB, free: 28.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006647/0.6583, allocations: 3.667 MB / 0.586 GB, free: 24.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-05/0.6585, allocations: 11.91 kB / 0.586 GB, free: 24.6 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000367/0.6588, allocations: 120 kB / 0.5861 GB, free: 24.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-05/0.6589, allocations: 113.5 kB / 0.5863 GB, free: 24.37 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004774/0.6637, allocations: 2.953 MB / 0.5891 GB, free: 21.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01733/0.681, allocations: 11.97 MB / 0.6008 GB, free: 9.082 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002886/0.684, allocations: 2.855 MB / 0.6036 GB, free: 6.008 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003016/0.6843, allocations: 146.4 kB / 0.6038 GB, free: 5.848 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001571/0.6859, allocations: 1.171 MB / 0.6049 GB, free: 4.637 MB / 378.7 MB Notification: Performance of pre-optimization done (n=156): time 3.567e-06/0.6859, allocations: 0 / 0.6049 GB, free: 4.637 MB / 378.7 MB Notification: Performance of matching and sorting (n=179): time 0.02221/0.7081, allocations: 9.885 MB / 0.6145 GB, free: 10.6 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001762/0.7083, allocations: 312.7 kB / 0.6148 GB, free: 10.23 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003898/0.7122, allocations: 1.855 MB / 0.6167 GB, free: 8.344 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002996/0.7126, allocations: 69.7 kB / 0.6167 GB, free: 8.27 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001389/0.714, allocations: 1.376 MB / 0.6181 GB, free: 6.879 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007029/0.7147, allocations: 0.597 MB / 0.6187 GB, free: 6.273 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001973/0.7149, allocations: 44 kB / 0.6187 GB, free: 6.23 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002307/0.7151, allocations: 382 kB / 0.6191 GB, free: 5.852 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001965/0.7171, allocations: 1.054 MB / 0.6201 GB, free: 4.793 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002278/0.7194, allocations: 1.592 MB / 0.6216 GB, free: 2.977 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002162/0.7216, allocations: 1.259 MB / 0.6229 GB, free: 1.719 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.484e-05/0.7216, allocations: 4 kB / 0.6229 GB, free: 1.715 MB / 394.7 MB Notification: Performance of matching and sorting (n=263) (initialization): time 0.00663/0.7282, allocations: 3.679 MB / 0.6265 GB, free: 14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001887/0.7301, allocations: 5.405 MB / 0.6317 GB, free: 8.219 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.039e-05/0.7302, allocations: 16 kB / 0.6318 GB, free: 8.203 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002987/0.7332, allocations: 1.199 MB / 0.6329 GB, free: 6.984 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/0.7346, allocations: 379.4 kB / 0.6333 GB, free: 6.613 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01634/0.751, allocations: 14.86 MB / 0.6478 GB, free: 6.961 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002785/0.7538, allocations: 179.8 kB / 0.648 GB, free: 6.785 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004091/0.7542, allocations: 87.94 kB / 0.6481 GB, free: 6.699 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.7542, allocations: 4 kB / 0.6481 GB, free: 6.695 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006055/0.7603, allocations: 3.41 MB / 0.6514 GB, free: 3.262 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.419e-05/0.7604, allocations: 12 kB / 0.6514 GB, free: 3.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00285/0.7632, allocations: 1.197 MB / 0.6526 GB, free: 2.031 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/0.7646, allocations: 371.4 kB / 0.6529 GB, free: 1.668 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0156/0.7803, allocations: 14.82 MB / 0.6674 GB, free: 2.039 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002462/0.7828, allocations: 163.9 kB / 0.6676 GB, free: 1.879 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003666/0.7832, allocations: 83.98 kB / 0.6676 GB, free: 1.797 MB / 442.7 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (211): * Single equations (assignments): 204 * 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 {(4,100.0%) 14,(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.001985/0.7851, allocations: 0.9944 MB / 0.6686 GB, free: 0.793 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006231/0.7858, allocations: 233.2 kB / 0.6688 GB, free: 0.5625 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2376/1.023, allocations: 3.505 MB / 0.6723 GB, free: 100.9 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/1.023, allocations: 17.83 kB / 0.6723 GB, free: 100.9 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/1.023, allocations: 3.781 kB / 0.6723 GB, free: 100.9 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/1.023, allocations: 7.5 kB / 0.6723 GB, free: 100.9 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01124/1.035, allocations: 6.747 MB / 0.6789 GB, free: 100.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/1.035, allocations: 0 / 0.6789 GB, free: 100.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008308/1.036, allocations: 205.7 kB / 0.6791 GB, free: 100.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003487/1.039, allocations: 1.433 MB / 0.6805 GB, free: 100.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001266/1.039, allocations: 43.05 kB / 0.6805 GB, free: 100.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01641/1.056, allocations: 15.24 MB / 0.6954 GB, free: 93.95 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.056, allocations: 5.547 kB / 0.6954 GB, free: 93.95 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007075/1.063, allocations: 4.966 MB / 0.7003 GB, free: 93.43 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001391/1.064, allocations: 0.5261 MB / 0.7008 GB, free: 93.33 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003143/1.065, allocations: 57.7 kB / 0.7008 GB, free: 93.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001441/1.066, allocations: 136 kB / 0.7009 GB, free: 93.28 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004526/1.066, allocations: 225 kB / 0.7012 GB, free: 93.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/1.067, allocations: 47.91 kB / 0.7012 GB, free: 93.24 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001852/1.068, allocations: 1.433 MB / 0.7026 GB, free: 92.68 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.068, allocations: 0 / 0.7026 GB, free: 92.68 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003545/1.072, allocations: 1.263 MB / 0.7038 GB, free: 92.56 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 105 * 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.00717/1.079, allocations: 6.214 MB / 0.7099 GB, free: 89.56 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009272/1.088, allocations: 6.371 MB / 0.7161 GB, free: 86.44 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/1.088, allocations: 3.562 kB / 0.7161 GB, free: 86.44 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003673/1.092, allocations: 2.443 MB / 0.7185 GB, free: 85.24 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002843/1.095, allocations: 0.5167 MB / 0.719 GB, free: 85.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03427/1.129, allocations: 28.68 MB / 0.747 GB, free: 63.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002238/1.132, allocations: 2.322 MB / 0.7493 GB, free: 61.5 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001987/1.134, allocations: 0.5924 MB / 0.7499 GB, free: 61.1 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001306/1.135, allocations: 1.153 MB / 0.751 GB, free: 60.04 MB / 442.7 MB Notification: Performance of SimCode: time 1.944e-06/1.135, allocations: 0 / 0.751 GB, free: 60.04 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0934/1.228, allocations: 71.48 MB / 0.8208 GB, free: 13.14 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001866/1.229, allocations: 241.6 kB / 0.821 GB, free: 12.89 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.905/5.134, allocations: 7.938 kB / 0.821 GB, free: 12.89 MB / 458.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_LoadDump_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_LoadDump.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump_res.mat does not exist to compare? outputFormat=mat