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.001402/0.001402, allocations: 196.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.57/1.57, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009681/0.0009684, allocations: 92.52 kB / 292.1 MB, free: 5.969 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.196e-05/3.215e-05, allocations: 7.984 kB / 350.7 MB, free: 2.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1047, allocations: 51.48 MB / 402.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3885/0.4933, allocations: 116.7 MB / 0.5067 GB, free: 5.262 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003072/0.4937, allocations: 83.31 kB / 0.5068 GB, free: 5.219 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1726/0.6663, allocations: 62.87 MB / 0.5682 GB, free: 7.219 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.6663, allocations: 0 / 0.5682 GB, free: 7.219 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003174/0.6667, allocations: 79.94 kB / 0.5683 GB, free: 7.141 MB / 442.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.00888/0.6756, allocations: 3.03 MB / 0.5712 GB, free: 4.047 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.6756, allocations: 12.03 kB / 0.5712 GB, free: 4.035 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001758/0.6774, allocations: 446.3 kB / 0.5717 GB, free: 3.586 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003235/0.6807, allocations: 491.4 kB / 0.5721 GB, free: 3.102 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006233/0.6869, allocations: 2.067 MB / 0.5741 GB, free: 0.9844 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004392/0.6874, allocations: 383.9 kB / 0.5745 GB, free: 0.5703 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001338/0.6888, allocations: 287.9 kB / 0.5748 GB, free: 296 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2793/0.9681, allocations: 3.582 MB / 0.5783 GB, free: 82.25 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-05/0.9682, allocations: 13.25 kB / 0.5783 GB, free: 82.25 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003054/0.9686, allocations: 122.5 kB / 0.5784 GB, free: 82.25 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001102/0.9687, allocations: 109.2 kB / 0.5785 GB, free: 82.25 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006193/0.9749, allocations: 2.823 MB / 0.5813 GB, free: 82.21 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01944/0.9943, allocations: 11.96 MB / 0.593 GB, free: 79.36 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002588/0.997, allocations: 2.79 MB / 0.5957 GB, free: 78.18 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001318/0.9983, allocations: 1.108 MB / 0.5968 GB, free: 78.17 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002818/0.9986, allocations: 138.6 kB / 0.5969 GB, free: 78.07 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001351/1, allocations: 1.123 MB / 0.598 GB, free: 77.93 MB / 442.7 MB Notification: Performance of pre-optimization done (n=156): time 3.336e-06/1, allocations: 0 / 0.598 GB, free: 77.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=180): time 0.01648/1.016, allocations: 8.021 MB / 0.6058 GB, free: 77.02 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/1.017, allocations: 311.6 kB / 0.6061 GB, free: 76.67 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003251/1.02, allocations: 1.838 MB / 0.6079 GB, free: 76.45 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002908/1.02, allocations: 61.59 kB / 0.608 GB, free: 76.42 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001299/1.022, allocations: 1.375 MB / 0.6093 GB, free: 75.97 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006632/1.022, allocations: 0.5966 MB / 0.6099 GB, free: 75.6 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/1.022, allocations: 44.06 kB / 0.6099 GB, free: 75.6 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001463/1.023, allocations: 389.5 kB / 0.6103 GB, free: 75.3 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001667/1.024, allocations: 1.001 MB / 0.6113 GB, free: 75.29 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002035/1.026, allocations: 1.542 MB / 0.6128 GB, free: 74.47 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002383/1.029, allocations: 1.218 MB / 0.614 GB, free: 74.04 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.132e-05/1.029, allocations: 8.203 kB / 0.614 GB, free: 74.04 MB / 442.7 MB Notification: Performance of matching and sorting (n=264) (initialization): time 0.007682/1.036, allocations: 3.579 MB / 0.6175 GB, free: 72.77 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001041/1.037, allocations: 5.406 MB / 0.6228 GB, free: 67.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.579e-05/1.037, allocations: 15.58 kB / 0.6228 GB, free: 67.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003392/1.041, allocations: 1.188 MB / 0.624 GB, free: 66.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001778/1.043, allocations: 378 kB / 0.6243 GB, free: 66.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01484/1.058, allocations: 14.57 MB / 0.6385 GB, free: 56.15 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00263/1.06, allocations: 187.3 kB / 0.6387 GB, free: 56.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000257/1.061, allocations: 80.97 kB / 0.6388 GB, free: 56.09 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/1.061, allocations: 5.938 kB / 0.6388 GB, free: 56.09 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004732/1.065, allocations: 3.342 MB / 0.6421 GB, free: 54.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.513e-05/1.065, allocations: 20.73 kB / 0.6421 GB, free: 54.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002451/1.068, allocations: 1.189 MB / 0.6432 GB, free: 54.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001331/1.069, allocations: 368.7 kB / 0.6436 GB, free: 54.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01247/1.082, allocations: 14.53 MB / 0.6578 GB, free: 43.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003686/1.085, allocations: 167.5 kB / 0.658 GB, free: 43.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005002/1.086, allocations: 81.77 kB / 0.658 GB, free: 43.79 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 () * 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 {(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.0008693/1.087, allocations: 245.9 kB / 0.6583 GB, free: 43.59 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000902/1.088, allocations: 238.7 kB / 0.6585 GB, free: 43.46 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006411/1.094, allocations: 3.401 MB / 0.6618 GB, free: 42.2 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.595e-05/1.094, allocations: 22.39 kB / 0.6618 GB, free: 42.19 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/1.094, allocations: 3.062 kB / 0.6618 GB, free: 42.19 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.89e-05/1.094, allocations: 15.44 kB / 0.6619 GB, free: 42.19 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01068/1.105, allocations: 6.672 MB / 0.6684 GB, free: 39.56 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-06/1.105, allocations: 3.156 kB / 0.6684 GB, free: 39.56 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008154/1.106, allocations: 203.7 kB / 0.6686 GB, free: 39.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003192/1.109, allocations: 1.397 MB / 0.6699 GB, free: 39.2 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001391/1.109, allocations: 50.39 kB / 0.67 GB, free: 39.17 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01429/1.123, allocations: 14.69 MB / 0.6843 GB, free: 29.34 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/1.123, allocations: 8.562 kB / 0.6843 GB, free: 29.34 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006547/1.13, allocations: 4.868 MB / 0.6891 GB, free: 27.14 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001354/1.131, allocations: 0.5345 MB / 0.6896 GB, free: 26.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003828/1.132, allocations: 53.75 kB / 0.6897 GB, free: 26.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001401/1.133, allocations: 144.9 kB / 0.6898 GB, free: 26.74 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005629/1.134, allocations: 228.9 kB / 0.69 GB, free: 26.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001172/1.134, allocations: 49.8 kB / 0.6901 GB, free: 26.7 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002031/1.136, allocations: 1.406 MB / 0.6914 GB, free: 26.11 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.2e-07/1.136, allocations: 0 / 0.6914 GB, free: 26.11 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004395/1.14, allocations: 1.267 MB / 0.6927 GB, free: 26 MB / 442.7 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.00762/1.148, allocations: 6.314 MB / 0.6988 GB, free: 22.24 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008995/1.157, allocations: 6.271 MB / 0.705 GB, free: 16.39 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.285e-06/1.157, allocations: 4 kB / 0.705 GB, free: 16.38 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003347/1.16, allocations: 2.425 MB / 0.7073 GB, free: 14.18 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002641/1.163, allocations: 0.5126 MB / 0.7078 GB, free: 13.78 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01036/1.174, allocations: 5.958 MB / 0.7137 GB, free: 8.637 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001559/1.175, allocations: 2.321 MB / 0.7159 GB, free: 6.828 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002757/1.178, allocations: 0.9123 MB / 0.7168 GB, free: 6.25 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001083/1.179, allocations: 1.115 MB / 0.7179 GB, free: 5.219 MB / 442.7 MB Notification: Performance of SimCode: time 9.62e-07/1.179, allocations: 0 / 0.7179 GB, free: 5.219 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.381/1.56, allocations: 74.5 MB / 0.7907 GB, free: 77.38 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001559/1.56, allocations: 203.8 kB / 0.7908 GB, free: 77.16 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.635/6.196, allocations: 4 kB / 0.7908 GB, free: 77.16 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