Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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.NetworkLoop_d,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_d",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_d,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_d",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.001047/0.001047, allocations: 175.6 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.727/1.727, allocations: 205.3 MB / 214.1 MB, free: 14.13 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.0009602/0.0009605, allocations: 92.53 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.186/0.186, allocations: 37.98 MB / 348 MB, free: 7.773 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.645e-05/1.647e-05, allocations: 0 / 410.7 MB, free: 46.86 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1285, allocations: 56.33 MB / 467 MB, free: 6.473 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4687/0.5973, allocations: 98.83 MB / 0.5526 GB, free: 12.04 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003377/0.5977, allocations: 83.95 kB / 0.5526 GB, free: 11.95 MB / 395.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/Generic.mo:465:11-465:52:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/Generic.mo:468:7-475:13:writable] Warning: Returning false from overconstrained operator applied to array components having size zero: Connections.isRoot({}). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/Generic.mo:436:7-436:61:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.1172/0.7149, allocations: 51.61 MB / 0.603 GB, free: 7.395 MB / 443.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.715, allocations: 4 kB / 0.603 GB, free: 7.391 MB / 443.1 MB Notification: Performance of Transformations before backend: time 2.17e-05/0.715, allocations: 8 kB / 0.6031 GB, free: 7.383 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001137/0.7161, allocations: 0.6826 MB / 0.6037 GB, free: 6.652 MB / 443.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.7162, allocations: 12.03 kB / 0.6037 GB, free: 6.641 MB / 443.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001548/0.7177, allocations: 123.3 kB / 0.6039 GB, free: 6.52 MB / 443.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005116/0.7183, allocations: 330.6 kB / 0.6042 GB, free: 6.16 MB / 443.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.304e-05/0.7183, allocations: 47.02 kB / 0.6042 GB, free: 6.109 MB / 443.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.826e-05/0.7184, allocations: 24 kB / 0.6042 GB, free: 6.086 MB / 443.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000531/0.7189, allocations: 294.4 kB / 0.6045 GB, free: 5.797 MB / 443.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000744/0.7197, allocations: 0.518 MB / 0.605 GB, free: 5.215 MB / 443.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.7197, allocations: 8 kB / 0.605 GB, free: 5.207 MB / 443.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.208e-05/0.7198, allocations: 0 / 0.605 GB, free: 5.207 MB / 443.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001068/0.7199, allocations: 40.75 kB / 0.6051 GB, free: 5.164 MB / 443.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002362/0.7222, allocations: 2.517 MB / 0.6075 GB, free: 2.535 MB / 443.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005712/0.7228, allocations: 408 kB / 0.6079 GB, free: 2.105 MB / 443.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002432/0.7231, allocations: 198.4 kB / 0.6081 GB, free: 1.902 MB / 443.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.7231, allocations: 4 kB / 0.6081 GB, free: 1.898 MB / 443.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.7232, allocations: 46.56 kB / 0.6082 GB, free: 1.844 MB / 443.1 MB Notification: Performance of pre-optimization done (n=33): time 2.334e-06/0.7232, allocations: 0 / 0.6082 GB, free: 1.844 MB / 443.1 MB Notification: Performance of matching and sorting (n=33): time 0.0007856/0.7239, allocations: 402.2 kB / 0.6085 GB, free: 1.441 MB / 443.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.192e-05/0.724, allocations: 118.7 kB / 0.6086 GB, free: 1.301 MB / 443.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002875/0.7243, allocations: 241.2 kB / 0.6089 GB, free: 1.059 MB / 443.1 MB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.7244, allocations: 33.7 kB / 0.6089 GB, free: 1.02 MB / 443.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.7245, allocations: 247.7 kB / 0.6091 GB, free: 0.7695 MB / 443.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.7247, allocations: 114.3 kB / 0.6093 GB, free: 0.6562 MB / 443.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.311e-05/0.7247, allocations: 7.938 kB / 0.6093 GB, free: 0.6484 MB / 443.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.7249, allocations: 350.8 kB / 0.6096 GB, free: 304 kB / 443.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/0.725, allocations: 112.8 kB / 0.6097 GB, free: 188 kB / 443.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003017/0.7253, allocations: 255.2 kB / 0.6099 GB, free: 15.86 MB / 459.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002431/0.7256, allocations: 173.2 kB / 0.6101 GB, free: 15.7 MB / 459.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.7256, allocations: 0 / 0.6101 GB, free: 15.7 MB / 459.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000732/0.7263, allocations: 0.4996 MB / 0.6106 GB, free: 15.19 MB / 459.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.7264, allocations: 10.31 kB / 0.6106 GB, free: 15.18 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.7264, allocations: 4 kB / 0.6106 GB, free: 15.18 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003091/0.7267, allocations: 116.8 kB / 0.6107 GB, free: 15.06 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002713/0.727, allocations: 71.91 kB / 0.6108 GB, free: 14.99 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002352/0.7293, allocations: 2.253 MB / 0.613 GB, free: 12.61 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002354/0.7296, allocations: 31.59 kB / 0.613 GB, free: 12.58 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.45e-05/0.7296, allocations: 19.94 kB / 0.613 GB, free: 12.56 MB / 459.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (41): * Single equations (assignments): 40 * 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 {(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001112/0.7297, allocations: 118.7 kB / 0.6132 GB, free: 12.44 MB / 459.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006123/0.7304, allocations: 401.9 kB / 0.6135 GB, free: 12.04 MB / 459.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.778e-05/0.7304, allocations: 35.62 kB / 0.6136 GB, free: 12 MB / 459.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.24e-05/0.7305, allocations: 39.58 kB / 0.6136 GB, free: 11.96 MB / 459.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.7306, allocations: 4 kB / 0.6136 GB, free: 11.96 MB / 459.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.7306, allocations: 4 kB / 0.6136 GB, free: 11.96 MB / 459.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.7306, allocations: 7.938 kB / 0.6136 GB, free: 11.95 MB / 459.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.7317, allocations: 0.8539 MB / 0.6145 GB, free: 11.04 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-06/0.7318, allocations: 0 / 0.6145 GB, free: 11.04 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001399/0.7319, allocations: 39.92 kB / 0.6145 GB, free: 11 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002395/0.7322, allocations: 104.9 kB / 0.6146 GB, free: 10.9 MB / 459.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.7322, allocations: 0 / 0.6146 GB, free: 10.9 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002153/0.7343, allocations: 2.245 MB / 0.6168 GB, free: 8.523 MB / 459.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.7344, allocations: 0 / 0.6168 GB, free: 8.523 MB / 459.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007491/0.7351, allocations: 0.637 MB / 0.6174 GB, free: 7.832 MB / 459.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.72e-05/0.7352, allocations: 108.7 kB / 0.6175 GB, free: 7.707 MB / 459.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.364e-05/0.7353, allocations: 4.188 kB / 0.6175 GB, free: 7.703 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.7354, allocations: 0 / 0.6175 GB, free: 7.703 MB / 459.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.342e-05/0.7355, allocations: 35.84 kB / 0.6176 GB, free: 7.668 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.7355, allocations: 8 kB / 0.6176 GB, free: 7.66 MB / 459.1 MB Notification: Performance of sorting global known variables: time 0.0001792/0.7357, allocations: 192.6 kB / 0.6177 GB, free: 7.477 MB / 459.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7357, allocations: 0 / 0.6177 GB, free: 7.477 MB / 459.1 MB Notification: Performance of remove unused functions: time 0.0006926/0.7364, allocations: 143.7 kB / 0.6179 GB, free: 7.336 MB / 459.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (20): * Single equations (assignments): 18 * 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 {(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001122/0.7375, allocations: 1.446 MB / 0.6193 GB, free: 5.836 MB / 459.1 MB Notification: Performance of simCode: created initialization part: time 0.0008766/0.7384, allocations: 481.6 kB / 0.6198 GB, free: 5.355 MB / 459.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.7384, allocations: 1.312 kB / 0.6198 GB, free: 5.355 MB / 459.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004612/0.7389, allocations: 325.4 kB / 0.6201 GB, free: 5.027 MB / 459.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004362/0.7394, allocations: 49.14 kB / 0.6201 GB, free: 4.977 MB / 459.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.7409, allocations: 0.6784 MB / 0.6208 GB, free: 4.246 MB / 459.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007209/0.7416, allocations: 0.8935 MB / 0.6217 GB, free: 3.32 MB / 459.1 MB Notification: Performance of simCode: alias equations: time 0.000196/0.7418, allocations: 67.2 kB / 0.6217 GB, free: 3.258 MB / 459.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001608/0.742, allocations: 123.4 kB / 0.6218 GB, free: 3.141 MB / 459.1 MB Notification: Performance of SimCode: time 1.383e-06/0.742, allocations: 0 / 0.6218 GB, free: 3.141 MB / 459.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02779/0.7698, allocations: 6.242 MB / 0.6279 GB, free: 12.89 MB / 475.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002605/0.7702, allocations: 149.4 kB / 0.6281 GB, free: 12.7 MB / 475.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.116/2.886, allocations: 0 / 0.6281 GB, free: 12.7 MB / 475.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_d_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_d.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.mat does not exist to compare? outputFormat=mat