Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.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.Generic.Network.NetworkOpened,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkOpened",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkOpened,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkOpened",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.001482/0.001482, allocations: 176.4 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.739/1.739, allocations: 205.3 MB / 214.1 MB, free: 14.15 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.0008672/0.0008672, allocations: 86.81 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1862/0.1862, allocations: 37.98 MB / 348 MB, free: 7.777 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.019e-05/2.035e-05, allocations: 0 / 410.7 MB, free: 46.86 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.123, allocations: 56.32 MB / 467 MB, free: 6.477 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4281/0.5511, allocations: 94.92 MB / 0.5487 GB, free: 15.88 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/0.5514, allocations: 79.95 kB / 0.5488 GB, free: 15.8 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1353/0.6867, allocations: 57.24 MB / 0.6047 GB, free: 5.887 MB / 443.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.6868, allocations: 0 / 0.6047 GB, free: 5.887 MB / 443.1 MB Notification: Performance of Transformations before backend: time 2.823e-05/0.6868, allocations: 12 kB / 0.6047 GB, free: 5.875 MB / 443.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001846/0.6887, allocations: 1.003 MB / 0.6057 GB, free: 4.824 MB / 443.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.831e-05/0.6888, allocations: 8.031 kB / 0.6057 GB, free: 4.816 MB / 443.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003928/0.6927, allocations: 422.5 kB / 0.6061 GB, free: 4.402 MB / 443.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000985/0.6937, allocations: 0.4932 MB / 0.6066 GB, free: 3.871 MB / 443.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.288e-05/0.6937, allocations: 24 kB / 0.6066 GB, free: 3.848 MB / 443.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.6939, allocations: 44 kB / 0.6067 GB, free: 3.805 MB / 443.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001535/0.6954, allocations: 0.9487 MB / 0.6076 GB, free: 2.855 MB / 443.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/0.697, allocations: 1.074 MB / 0.6086 GB, free: 1.758 MB / 443.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.824e-05/0.697, allocations: 4 kB / 0.6086 GB, free: 1.754 MB / 443.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-05/0.6971, allocations: 7.891 kB / 0.6086 GB, free: 1.746 MB / 443.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002882/0.6974, allocations: 113.8 kB / 0.6088 GB, free: 1.633 MB / 443.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005553/0.703, allocations: 3.556 MB / 0.6122 GB, free: 13.97 MB / 459.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001674/0.7047, allocations: 1.03 MB / 0.6132 GB, free: 12.92 MB / 459.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000769/0.7055, allocations: 0.5941 MB / 0.6138 GB, free: 12.32 MB / 459.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.84e-05/0.7055, allocations: 24.86 kB / 0.6138 GB, free: 12.3 MB / 459.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.7056, allocations: 43.34 kB / 0.6139 GB, free: 12.25 MB / 459.1 MB Notification: Performance of pre-optimization done (n=92): time 2.896e-06/0.7056, allocations: 0 / 0.6139 GB, free: 12.25 MB / 459.1 MB Notification: Performance of matching and sorting (n=93): time 0.003378/0.709, allocations: 1.891 MB / 0.6157 GB, free: 10.34 MB / 459.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/0.709, allocations: 89.89 kB / 0.6158 GB, free: 10.23 MB / 459.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003555/0.7094, allocations: 298.2 kB / 0.6161 GB, free: 9.941 MB / 459.1 MB Notification: Performance of collectPreVariables (initialization): time 5.288e-05/0.7095, allocations: 29.73 kB / 0.6161 GB, free: 9.906 MB / 459.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002174/0.7097, allocations: 335.9 kB / 0.6164 GB, free: 9.57 MB / 459.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002747/0.71, allocations: 303.5 kB / 0.6167 GB, free: 9.27 MB / 459.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-05/0.71, allocations: 0 / 0.6167 GB, free: 9.27 MB / 459.1 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.7102, allocations: 366.8 kB / 0.6171 GB, free: 8.902 MB / 459.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005719/0.7108, allocations: 414.5 kB / 0.6175 GB, free: 8.496 MB / 459.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006561/0.7114, allocations: 0.5244 MB / 0.618 GB, free: 7.941 MB / 459.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006914/0.7121, allocations: 0.4981 MB / 0.6185 GB, free: 7.441 MB / 459.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.7122, allocations: 4 kB / 0.6185 GB, free: 7.438 MB / 459.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002277/0.7144, allocations: 1.344 MB / 0.6198 GB, free: 6.082 MB / 459.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.747e-05/0.7145, allocations: 8 kB / 0.6198 GB, free: 6.074 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.7145, allocations: 4 kB / 0.6198 GB, free: 6.07 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008958/0.7154, allocations: 303.2 kB / 0.6201 GB, free: 5.773 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007523/0.7162, allocations: 191.7 kB / 0.6203 GB, free: 5.586 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00526/0.7214, allocations: 3.756 MB / 0.6239 GB, free: 1.688 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009032/0.7224, allocations: 51.97 kB / 0.624 GB, free: 1.637 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.215e-05/0.7225, allocations: 35.98 kB / 0.624 GB, free: 1.602 MB / 459.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (82): * Single equations (assignments): 81 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002106/0.7227, allocations: 116.8 kB / 0.6241 GB, free: 1.48 MB / 459.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002112/0.7248, allocations: 1.254 MB / 0.6254 GB, free: 220 kB / 459.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.725, allocations: 59.3 kB / 0.6254 GB, free: 160 kB / 459.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002577/0.7275, allocations: 1.418 MB / 0.6268 GB, free: 14.73 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/0.7276, allocations: 12 kB / 0.6268 GB, free: 14.71 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.7276, allocations: 11.94 kB / 0.6268 GB, free: 14.7 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/0.7276, allocations: 3.984 kB / 0.6268 GB, free: 14.7 MB / 475.1 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004733/0.7323, allocations: 2.766 MB / 0.6295 GB, free: 11.82 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.637e-06/0.7324, allocations: 4 kB / 0.6295 GB, free: 11.82 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006456/0.733, allocations: 168.2 kB / 0.6297 GB, free: 11.65 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007661/0.7338, allocations: 276.6 kB / 0.63 GB, free: 11.38 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-05/0.7339, allocations: 8 kB / 0.63 GB, free: 11.37 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004651/0.7385, allocations: 3.48 MB / 0.6334 GB, free: 7.758 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.016e-05/0.7386, allocations: 4 kB / 0.6334 GB, free: 7.754 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002393/0.741, allocations: 1.66 MB / 0.635 GB, free: 5.938 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001898/0.7412, allocations: 144.3 kB / 0.6351 GB, free: 5.777 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.367e-05/0.7412, allocations: 7.984 kB / 0.6351 GB, free: 5.77 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004322/0.7417, allocations: 35.95 kB / 0.6352 GB, free: 5.734 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.7418, allocations: 80.56 kB / 0.6353 GB, free: 5.656 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.058e-05/0.7419, allocations: 28 kB / 0.6353 GB, free: 5.629 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.0003067/0.7422, allocations: 232.6 kB / 0.6355 GB, free: 5.398 MB / 475.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.7422, allocations: 0 / 0.6355 GB, free: 5.398 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.001035/0.7433, allocations: 288.9 kB / 0.6358 GB, free: 5.117 MB / 475.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002955/0.7462, allocations: 3.225 MB / 0.6389 GB, free: 1.758 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.001976/0.7482, allocations: 1.259 MB / 0.6402 GB, free: 500 kB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.7482, allocations: 0 / 0.6402 GB, free: 500 kB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2617/1.01, allocations: 0.7626 MB / 0.6409 GB, free: 123.8 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009079/1.011, allocations: 69.86 kB / 0.641 GB, free: 123.8 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003856/1.015, allocations: 1.627 MB / 0.6426 GB, free: 123.4 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009147/1.016, allocations: 1.099 MB / 0.6436 GB, free: 122.7 MB / 475.1 MB Notification: Performance of simCode: alias equations: time 0.0005595/1.016, allocations: 182.8 kB / 0.6438 GB, free: 122.7 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005223/1.017, allocations: 267.1 kB / 0.6441 GB, free: 122.7 MB / 475.1 MB Notification: Performance of SimCode: time 1.714e-06/1.017, allocations: 1.375 kB / 0.6441 GB, free: 122.7 MB / 475.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04716/1.064, allocations: 14.59 MB / 0.6583 GB, free: 122.2 MB / 475.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00017/1.064, allocations: 147.8 kB / 0.6584 GB, free: 122 MB / 475.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.298/3.362, allocations: 4 kB / 0.6585 GB, free: 122 MB / 475.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkOpened_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkOpened.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened_res.mat does not exist to compare? outputFormat=mat