Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001052/0.001051, allocations: 182.8 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.751/1.751, allocations: 194.2 MB / 208.4 MB, free: 6.715 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001716/0.001716, allocations: 116.7 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1693/0.1693, allocations: 37.92 MB / 336.4 MB, free: 14.26 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.375e-05/4.391e-05, allocations: 7.938 kB / 397.6 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2972, allocations: 53.21 MB / 450.8 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1253/0.4226, allocations: 90.77 MB / 0.5289 GB, free: 2.57 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/0.4229, allocations: 91.73 kB / 0.529 GB, free: 2.484 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4484/0.8713, allocations: 54.55 MB / 0.5823 GB, free: 45.67 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.8714, allocations: 0 / 0.5823 GB, free: 45.67 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.478e-05/0.8714, allocations: 12 kB / 0.5823 GB, free: 45.66 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001722/0.8732, allocations: 0.9683 MB / 0.5832 GB, free: 44.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.8732, allocations: 12.03 kB / 0.5832 GB, free: 44.63 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001821/0.8734, allocations: 135 kB / 0.5834 GB, free: 44.49 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003258/0.8767, allocations: 390.6 kB / 0.5837 GB, free: 44.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008842/0.8776, allocations: 483.5 kB / 0.5842 GB, free: 43.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.58e-05/0.8776, allocations: 57.98 kB / 0.5843 GB, free: 43.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.8778, allocations: 71.92 kB / 0.5843 GB, free: 43.47 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/0.8794, allocations: 1.141 MB / 0.5854 GB, free: 42.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.981e-05/0.8794, allocations: 0 / 0.5854 GB, free: 42.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.281e-05/0.8795, allocations: 31.98 kB / 0.5855 GB, free: 42.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002773/0.8798, allocations: 101.9 kB / 0.5856 GB, free: 42.17 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001585/0.8814, allocations: 1.167 MB / 0.5867 GB, free: 41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00489/0.8863, allocations: 3.523 MB / 0.5902 GB, free: 37.39 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001384/0.8877, allocations: 1.043 MB / 0.5912 GB, free: 36.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007025/0.8885, allocations: 0.6362 MB / 0.5918 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.548e-05/0.8885, allocations: 16.75 kB / 0.5918 GB, free: 35.67 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.8886, allocations: 43.34 kB / 0.5919 GB, free: 35.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=91): time 4.098e-06/0.8886, allocations: 0 / 0.5919 GB, free: 35.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=92): time 0.003279/0.8919, allocations: 1.994 MB / 0.5938 GB, free: 33.61 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.8919, allocations: 89.92 kB / 0.5939 GB, free: 33.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003315/0.8923, allocations: 311.5 kB / 0.5942 GB, free: 33.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.325e-05/0.8923, allocations: 45.64 kB / 0.5942 GB, free: 33.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.8925, allocations: 316.2 kB / 0.5945 GB, free: 32.83 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002204/0.8927, allocations: 319.3 kB / 0.5948 GB, free: 32.51 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.389e-05/0.8927, allocations: 20 kB / 0.5948 GB, free: 32.49 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.886e-05/0.8929, allocations: 370.7 kB / 0.5952 GB, free: 32.12 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005892/0.8934, allocations: 425.8 kB / 0.5956 GB, free: 31.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005954/0.8941, allocations: 0.5382 MB / 0.5961 GB, free: 31.13 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006284/0.8947, allocations: 0.5018 MB / 0.5966 GB, free: 30.63 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.8947, allocations: 0 / 0.5966 GB, free: 30.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002021/0.8967, allocations: 1.395 MB / 0.598 GB, free: 29.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.8968, allocations: 8 kB / 0.598 GB, free: 29.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.8968, allocations: 192 / 0.598 GB, free: 29.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009039/0.8977, allocations: 335.9 kB / 0.5983 GB, free: 28.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007261/0.8984, allocations: 195.7 kB / 0.5985 GB, free: 28.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004331/0.9028, allocations: 3.895 MB / 0.6023 GB, free: 24.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007163/0.9035, allocations: 63.91 kB / 0.6024 GB, free: 24.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-05/0.9036, allocations: 28 kB / 0.6024 GB, free: 24.55 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (80): * Single equations (assignments): 79 * 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.0001797/0.9038, allocations: 148.8 kB / 0.6025 GB, free: 24.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.9039, allocations: 63.28 kB / 0.6026 GB, free: 24.33 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002396/0.9063, allocations: 1.512 MB / 0.6041 GB, free: 22.81 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/0.9063, allocations: 12 kB / 0.6041 GB, free: 22.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.9063, allocations: 4 kB / 0.6041 GB, free: 22.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/0.9063, allocations: 3.984 kB / 0.6041 GB, free: 22.79 MB / 378.7 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.004221/0.9106, allocations: 2.983 MB / 0.607 GB, free: 19.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/0.9106, allocations: 11.94 kB / 0.607 GB, free: 19.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006198/0.9112, allocations: 167.8 kB / 0.6072 GB, free: 19.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007262/0.9119, allocations: 280.6 kB / 0.6074 GB, free: 19.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.607e-05/0.912, allocations: 27.98 kB / 0.6075 GB, free: 19.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003903/0.9159, allocations: 3.587 MB / 0.611 GB, free: 15.47 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.916, allocations: 7.938 kB / 0.611 GB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002389/0.9184, allocations: 1.709 MB / 0.6126 GB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000246/0.9186, allocations: 144.3 kB / 0.6128 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/0.9188, allocations: 20 kB / 0.6128 GB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000532/0.9193, allocations: 51.94 kB / 0.6129 GB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.9194, allocations: 76.58 kB / 0.6129 GB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.075e-05/0.9195, allocations: 35.98 kB / 0.613 GB, free: 13.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002829/0.9198, allocations: 250.1 kB / 0.6132 GB, free: 13.01 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9198, allocations: 0 / 0.6132 GB, free: 13.01 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001049/0.9209, allocations: 319.9 kB / 0.6135 GB, free: 12.7 MB / 378.7 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.002567/0.9234, allocations: 3.313 MB / 0.6167 GB, free: 9.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002069/0.9255, allocations: 1.309 MB / 0.618 GB, free: 7.926 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.9255, allocations: 4 kB / 0.618 GB, free: 7.922 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001073/0.9266, allocations: 0.8157 MB / 0.6188 GB, free: 7.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006014/0.9272, allocations: 93.89 kB / 0.6189 GB, free: 7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00304/0.9303, allocations: 1.694 MB / 0.6206 GB, free: 5.219 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005872/0.9309, allocations: 1.089 MB / 0.6216 GB, free: 4.098 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004403/0.9313, allocations: 184.5 kB / 0.6218 GB, free: 3.918 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003586/0.9317, allocations: 259.3 kB / 0.622 GB, free: 3.664 MB / 378.7 MB Notification: Performance of SimCode: time 9.01e-07/0.9317, allocations: 3.938 kB / 0.6221 GB, free: 3.66 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03607/0.9678, allocations: 15.14 MB / 0.6368 GB, free: 4.504 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000226/0.9681, allocations: 168.6 kB / 0.637 GB, free: 4.281 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.459/3.428, allocations: 0 / 0.637 GB, free: 4.281 MB / 394.7 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1)