Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.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.NetworkOpened,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkOpened",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkOpened,fileNamePrefix="PowerSystems_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.2+maint.om/package.mo): time 0.001459/0.001459, allocations: 180.3 kB / 8.353 MB, free: 0.7227 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.7/1.7, allocations: 194.3 MB / 203.1 MB, free: 13.04 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.001627/0.001627, allocations: 119.9 kB / 248.1 MB, free: 28 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1574/0.1574, allocations: 37.93 MB / 330.9 MB, free: 2.645 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.689e-05/1.693e-05, allocations: 0 / 390.5 MB, free: 6.996 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2966, allocations: 53.23 MB / 443.7 MB, free: 17.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1246/0.4212, allocations: 89.93 MB / 0.5211 GB, free: 7.605 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/0.4216, allocations: 83.95 kB / 0.5212 GB, free: 7.523 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3982/0.8198, allocations: 57.18 MB / 0.577 GB, free: 50.97 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.8199, allocations: 0 / 0.577 GB, free: 50.97 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.806e-05/0.8199, allocations: 20 kB / 0.5771 GB, free: 50.95 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001744/0.8216, allocations: 1.007 MB / 0.578 GB, free: 49.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.8217, allocations: 8.031 kB / 0.578 GB, free: 49.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003411/0.8251, allocations: 426.5 kB / 0.5785 GB, free: 49.47 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006981/0.8258, allocations: 0.4932 MB / 0.5789 GB, free: 48.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.696e-05/0.8259, allocations: 24 kB / 0.579 GB, free: 48.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.826, allocations: 40 kB / 0.579 GB, free: 48.87 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001228/0.8272, allocations: 0.9448 MB / 0.5799 GB, free: 47.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/0.8286, allocations: 1.086 MB / 0.581 GB, free: 46.81 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.622e-05/0.8286, allocations: 7.844 kB / 0.581 GB, free: 46.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.171e-05/0.8287, allocations: 4 kB / 0.581 GB, free: 46.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002583/0.8289, allocations: 105.9 kB / 0.5811 GB, free: 46.7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004495/0.8334, allocations: 3.557 MB / 0.5846 GB, free: 43.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00133/0.8348, allocations: 1.028 MB / 0.5856 GB, free: 41.98 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005894/0.8354, allocations: 0.5903 MB / 0.5861 GB, free: 41.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.905e-05/0.8355, allocations: 20.91 kB / 0.5862 GB, free: 41.37 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.8355, allocations: 47.28 kB / 0.5862 GB, free: 41.31 MB / 378.7 MB Notification: Performance of pre-optimization done (n=92): time 3.186e-06/0.8355, allocations: 0 / 0.5862 GB, free: 41.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=93): time 0.002759/0.8383, allocations: 1.899 MB / 0.5881 GB, free: 39.4 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.8383, allocations: 89.89 kB / 0.5882 GB, free: 39.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002699/0.8386, allocations: 302.3 kB / 0.5884 GB, free: 39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.668e-05/0.8387, allocations: 29.7 kB / 0.5885 GB, free: 38.96 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.8388, allocations: 328 kB / 0.5888 GB, free: 38.63 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001793/0.839, allocations: 307.4 kB / 0.5891 GB, free: 38.33 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.208e-05/0.839, allocations: 0 / 0.5891 GB, free: 38.33 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.553e-05/0.8391, allocations: 370.7 kB / 0.5894 GB, free: 37.96 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004612/0.8396, allocations: 418.5 kB / 0.5898 GB, free: 37.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000505/0.8401, allocations: 0.5205 MB / 0.5903 GB, free: 36.99 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000567/0.8407, allocations: 0.4943 MB / 0.5908 GB, free: 36.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.8407, allocations: 0 / 0.5908 GB, free: 36.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001859/0.8426, allocations: 1.333 MB / 0.5921 GB, free: 35.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.8426, allocations: 11.94 kB / 0.5921 GB, free: 35.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.8426, allocations: 0 / 0.5921 GB, free: 35.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008448/0.8435, allocations: 312.1 kB / 0.5924 GB, free: 34.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006945/0.8442, allocations: 191.7 kB / 0.5926 GB, free: 34.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004045/0.8482, allocations: 3.77 MB / 0.5963 GB, free: 30.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007457/0.849, allocations: 47.91 kB / 0.5963 GB, free: 30.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.381e-05/0.8491, allocations: 28 kB / 0.5964 GB, free: 30.66 MB / 378.7 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.0002183/0.8493, allocations: 120.8 kB / 0.5965 GB, free: 30.54 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001977/0.8513, allocations: 1.246 MB / 0.5977 GB, free: 29.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.543e-05/0.8514, allocations: 59.33 kB / 0.5978 GB, free: 29.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002069/0.8535, allocations: 1.422 MB / 0.5991 GB, free: 27.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/0.8535, allocations: 12 kB / 0.5992 GB, free: 27.78 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.8535, allocations: 4 kB / 0.5992 GB, free: 27.78 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.8535, allocations: 7.969 kB / 0.5992 GB, free: 27.77 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.003883/0.8574, allocations: 2.77 MB / 0.6019 GB, free: 24.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.8574, allocations: 8.438 kB / 0.6019 GB, free: 24.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005888/0.858, allocations: 175.7 kB / 0.602 GB, free: 24.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006795/0.8587, allocations: 280.5 kB / 0.6023 GB, free: 24.42 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.174e-05/0.8588, allocations: 7.984 kB / 0.6023 GB, free: 24.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003579/0.8624, allocations: 3.476 MB / 0.6057 GB, free: 20.81 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/0.8624, allocations: 7.938 kB / 0.6057 GB, free: 20.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001912/0.8643, allocations: 1.633 MB / 0.6073 GB, free: 19.01 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001615/0.8645, allocations: 140.3 kB / 0.6075 GB, free: 18.85 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.213e-05/0.8646, allocations: 8 kB / 0.6075 GB, free: 18.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004188/0.865, allocations: 35.94 kB / 0.6075 GB, free: 18.81 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.8651, allocations: 72.58 kB / 0.6076 GB, free: 18.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.245e-05/0.8652, allocations: 35.98 kB / 0.6076 GB, free: 18.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002168/0.8654, allocations: 232.6 kB / 0.6078 GB, free: 18.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.8654, allocations: 4 kB / 0.6078 GB, free: 18.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009816/0.8664, allocations: 288.8 kB / 0.6081 GB, free: 18.2 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.002314/0.8687, allocations: 3.229 MB / 0.6113 GB, free: 14.83 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001733/0.8705, allocations: 1.251 MB / 0.6125 GB, free: 13.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.8705, allocations: 0 / 0.6125 GB, free: 13.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009252/0.8714, allocations: 0.778 MB / 0.6132 GB, free: 12.78 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005547/0.872, allocations: 68.67 kB / 0.6133 GB, free: 12.72 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002554/0.8746, allocations: 1.631 MB / 0.6149 GB, free: 11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005213/0.8751, allocations: 1.097 MB / 0.616 GB, free: 9.875 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004066/0.8755, allocations: 188.7 kB / 0.6161 GB, free: 9.691 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003085/0.8758, allocations: 267.3 kB / 0.6164 GB, free: 9.43 MB / 378.7 MB Notification: Performance of SimCode: time 4.61e-07/0.8758, allocations: 0 / 0.6164 GB, free: 9.43 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03512/0.911, allocations: 14.61 MB / 0.6307 GB, free: 10.8 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002137/0.9113, allocations: 139.3 kB / 0.6308 GB, free: 10.61 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.267/3.179, allocations: 0 / 0.6308 GB, free: 10.61 MB / 394.7 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Network_NetworkOpened_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkOpened.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1)