Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) 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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Load,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Load",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Load,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Load",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001339/0.001339, allocations: 174.9 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.623/1.623, allocations: 205.2 MB / 219.4 MB, free: 14.19 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008178/0.0008181, allocations: 90.05 kB / 267.5 MB, free: 14.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1606/0.1606, allocations: 37.97 MB / 353.5 MB, free: 1.746 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.008e-05/3.01e-05, allocations: 4 kB / 417.8 MB, free: 29.03 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0994/0.09944, allocations: 56.31 MB / 474.1 MB, free: 4.707 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3623/0.4619, allocations: 102.1 MB / 0.5628 GB, free: 0.5742 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/0.4622, allocations: 91.19 kB / 0.5629 GB, free: 0.5312 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04011/0.5023, allocations: 13.71 MB / 0.5762 GB, free: 4.746 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5023, allocations: 4 kB / 0.5762 GB, free: 4.742 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.336e-05/0.5024, allocations: 8 kB / 0.5763 GB, free: 4.734 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001667/0.5041, allocations: 0.718 MB / 0.577 GB, free: 3.996 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.5041, allocations: 8.031 kB / 0.577 GB, free: 3.988 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001588/0.5043, allocations: 85.84 kB / 0.577 GB, free: 3.922 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005722/0.5049, allocations: 95.28 kB / 0.5771 GB, free: 3.828 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002515/0.5074, allocations: 0.9357 MB / 0.5781 GB, free: 2.996 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.185e-05/0.5074, allocations: 34.92 kB / 0.5781 GB, free: 2.977 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.5075, allocations: 45.91 kB / 0.5781 GB, free: 2.945 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000976/0.5085, allocations: 0.6688 MB / 0.5788 GB, free: 2.367 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.5086, allocations: 4 kB / 0.5788 GB, free: 2.363 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.692e-05/0.5086, allocations: 19.55 kB / 0.5788 GB, free: 2.355 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.406e-05/0.5087, allocations: 40.69 kB / 0.5788 GB, free: 2.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007607/0.5095, allocations: 0.4935 MB / 0.5793 GB, free: 1.961 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003559/0.513, allocations: 3.031 MB / 0.5823 GB, free: 15.13 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005865/0.5136, allocations: 335 kB / 0.5826 GB, free: 14.88 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000269/0.5139, allocations: 190 kB / 0.5828 GB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.908e-05/0.514, allocations: 11.97 kB / 0.5828 GB, free: 14.74 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.514, allocations: 38.44 kB / 0.5828 GB, free: 14.7 MB / 394.7 MB Notification: Performance of pre-optimization done (n=35): time 3.036e-06/0.514, allocations: 0 / 0.5828 GB, free: 14.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.001941/0.516, allocations: 1.154 MB / 0.584 GB, free: 13.71 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.516, allocations: 85.06 kB / 0.584 GB, free: 13.61 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003674/0.5164, allocations: 329.6 kB / 0.5844 GB, free: 13.33 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/0.5165, allocations: 32.39 kB / 0.5844 GB, free: 13.3 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/0.5166, allocations: 292.4 kB / 0.5847 GB, free: 13.07 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.5168, allocations: 134.1 kB / 0.5848 GB, free: 12.95 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-05/0.5168, allocations: 6.75 kB / 0.5848 GB, free: 12.95 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.5169, allocations: 352.2 kB / 0.5851 GB, free: 12.62 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003218/0.5173, allocations: 208.9 kB / 0.5853 GB, free: 12.47 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003804/0.5177, allocations: 373.7 kB / 0.5857 GB, free: 12.1 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003681/0.518, allocations: 260.7 kB / 0.5859 GB, free: 11.91 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.5181, allocations: 4 kB / 0.5859 GB, free: 11.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0021/0.5202, allocations: 0.8529 MB / 0.5868 GB, free: 11.21 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.5202, allocations: 6.5 kB / 0.5868 GB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.5202, allocations: 8 kB / 0.5868 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001621/0.5218, allocations: 298.7 kB / 0.5871 GB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006846/0.5225, allocations: 143.2 kB / 0.5872 GB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004874/0.5274, allocations: 3.788 MB / 0.5909 GB, free: 7.141 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000425/0.5279, allocations: 31.34 kB / 0.5909 GB, free: 7.117 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.656e-05/0.5279, allocations: 23.72 kB / 0.591 GB, free: 7.098 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 48 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * 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: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001491/0.5281, allocations: 143.3 kB / 0.5911 GB, free: 6.965 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.609e-05/0.5282, allocations: 39.59 kB / 0.5911 GB, free: 6.926 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008938/0.5291, allocations: 0.5279 MB / 0.5917 GB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.207e-05/0.5291, allocations: 8 kB / 0.5917 GB, free: 6.535 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.5291, allocations: 3.984 kB / 0.5917 GB, free: 6.531 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.401e-06/0.5292, allocations: 0 / 0.5917 GB, free: 6.531 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001603/0.5308, allocations: 1.094 MB / 0.5927 GB, free: 5.602 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.5308, allocations: 0 / 0.5927 GB, free: 5.602 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004629/0.5313, allocations: 91.25 kB / 0.5928 GB, free: 5.516 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.373e-06/0.5313, allocations: 4 kB / 0.5928 GB, free: 5.512 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.358e-05/0.5313, allocations: 11.88 kB / 0.5928 GB, free: 5.508 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/0.5313, allocations: 7.984 kB / 0.5928 GB, free: 5.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5313, allocations: 0 / 0.5928 GB, free: 5.5 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.5324, allocations: 0.8586 MB / 0.5937 GB, free: 4.805 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/0.5325, allocations: 123.7 kB / 0.5938 GB, free: 4.668 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.114e-05/0.5326, allocations: 10.44 kB / 0.5938 GB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002717/0.5329, allocations: 22.91 kB / 0.5938 GB, free: 4.645 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.815e-05/0.5329, allocations: 31.03 kB / 0.5939 GB, free: 4.617 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/0.533, allocations: 11.25 kB / 0.5939 GB, free: 4.609 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002807/0.5333, allocations: 261 kB / 0.5941 GB, free: 4.402 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5333, allocations: 0 / 0.5941 GB, free: 4.402 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005427/0.5338, allocations: 141.9 kB / 0.5943 GB, free: 4.277 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001409/0.5352, allocations: 1.64 MB / 0.5959 GB, free: 2.801 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001476/0.5367, allocations: 0.8266 MB / 0.5967 GB, free: 2.098 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5367, allocations: 4.125 kB / 0.5967 GB, free: 2.094 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000329/0.5371, allocations: 227.9 kB / 0.5969 GB, free: 1.934 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004217/0.5375, allocations: 75.62 kB / 0.597 GB, free: 1.879 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002043/0.5396, allocations: 1.205 MB / 0.5981 GB, free: 0.7383 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004818/0.5401, allocations: 0.9184 MB / 0.599 GB, free: 15.81 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003744/0.5404, allocations: 131.3 kB / 0.5992 GB, free: 15.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002343/0.5407, allocations: 168.2 kB / 0.5993 GB, free: 15.63 MB / 410.7 MB Notification: Performance of SimCode: time 4.31e-07/0.5407, allocations: 0 / 0.5993 GB, free: 15.63 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02401/0.5647, allocations: 10.25 MB / 0.6093 GB, free: 5.426 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001718/0.5649, allocations: 184.7 kB / 0.6095 GB, free: 5.199 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.11/2.675, allocations: 0 / 0.6095 GB, free: 5.199 MB / 410.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Load_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Load.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load_res.mat does not exist to compare? outputFormat=mat