Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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_dq,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq",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.001232/0.001232, allocations: 179.6 kB / 8.349 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.62/1.62, allocations: 194.3 MB / 203.1 MB, free: 13.03 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.001675/0.001675, allocations: 125.2 kB / 248.1 MB, free: 36 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1683/0.1683, allocations: 37.92 MB / 330.9 MB, free: 2.656 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.107e-05/2.143e-05, allocations: 0 / 390.5 MB, free: 6.996 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2874, allocations: 53.22 MB / 443.7 MB, free: 17.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1202/0.4076, allocations: 90.19 MB / 0.5214 GB, free: 7.371 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/0.408, allocations: 79.95 kB / 0.5214 GB, free: 7.293 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3953/0.8033, allocations: 53.73 MB / 0.5739 GB, free: 54.19 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.8033, allocations: 0 / 0.5739 GB, free: 54.19 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.928e-05/0.8034, allocations: 15.94 kB / 0.5739 GB, free: 54.17 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.8051, allocations: 0.9722 MB / 0.5749 GB, free: 53.15 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/0.8052, allocations: 12.02 kB / 0.5749 GB, free: 53.14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003282/0.8085, allocations: 398.5 kB / 0.5753 GB, free: 52.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007449/0.8092, allocations: 483.5 kB / 0.5757 GB, free: 52.24 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/0.8093, allocations: 24 kB / 0.5757 GB, free: 52.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.8094, allocations: 47.92 kB / 0.5758 GB, free: 52.17 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00132/0.8107, allocations: 0.9097 MB / 0.5767 GB, free: 51.26 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.8121, allocations: 1.027 MB / 0.5777 GB, free: 50.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.18e-05/0.8122, allocations: 4 kB / 0.5777 GB, free: 50.2 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.169e-05/0.8123, allocations: 0 / 0.5777 GB, free: 50.2 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002816/0.8125, allocations: 97.89 kB / 0.5778 GB, free: 50.1 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004492/0.817, allocations: 3.375 MB / 0.5811 GB, free: 46.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/0.8185, allocations: 1.001 MB / 0.5821 GB, free: 45.62 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006259/0.8191, allocations: 0.6088 MB / 0.5826 GB, free: 45.01 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.886e-05/0.8192, allocations: 16.75 kB / 0.5827 GB, free: 44.99 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.8192, allocations: 47.3 kB / 0.5827 GB, free: 44.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=91): time 3.747e-06/0.8192, allocations: 0 / 0.5827 GB, free: 44.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=92): time 0.003032/0.8223, allocations: 1.888 MB / 0.5846 GB, free: 43.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.8223, allocations: 89.92 kB / 0.5846 GB, free: 42.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003095/0.8227, allocations: 298.2 kB / 0.5849 GB, free: 42.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.03e-05/0.8227, allocations: 29.7 kB / 0.585 GB, free: 42.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.8229, allocations: 304.2 kB / 0.5852 GB, free: 42.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002075/0.8231, allocations: 303.4 kB / 0.5855 GB, free: 42 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.971e-05/0.8231, allocations: 0 / 0.5855 GB, free: 42 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.8232, allocations: 370.8 kB / 0.5859 GB, free: 41.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004625/0.8237, allocations: 414.5 kB / 0.5863 GB, free: 41.22 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005072/0.8242, allocations: 0.5075 MB / 0.5868 GB, free: 40.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005502/0.8248, allocations: 0.4924 MB / 0.5873 GB, free: 40.19 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.8248, allocations: 0 / 0.5873 GB, free: 40.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001822/0.8266, allocations: 1.324 MB / 0.5885 GB, free: 38.85 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.8266, allocations: 4 kB / 0.5886 GB, free: 38.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.8266, allocations: 4 kB / 0.5886 GB, free: 38.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007944/0.8274, allocations: 308.1 kB / 0.5889 GB, free: 38.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006902/0.8282, allocations: 187.7 kB / 0.589 GB, free: 38.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003928/0.8321, allocations: 3.773 MB / 0.5927 GB, free: 34.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000602/0.8327, allocations: 51.97 kB / 0.5928 GB, free: 34.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.995e-05/0.8328, allocations: 28 kB / 0.5928 GB, free: 34.36 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.0001537/0.8329, allocations: 116.8 kB / 0.5929 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001978/0.8349, allocations: 1.246 MB / 0.5941 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.548e-05/0.835, allocations: 59.3 kB / 0.5942 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002022/0.8371, allocations: 1.43 MB / 0.5956 GB, free: 31.49 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.8371, allocations: 19.94 kB / 0.5956 GB, free: 31.47 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.8371, allocations: 4 kB / 0.5956 GB, free: 31.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.8371, allocations: 3.984 kB / 0.5956 GB, free: 31.46 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.003793/0.8409, allocations: 2.777 MB / 0.5983 GB, free: 28.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.8409, allocations: 8.375 kB / 0.5983 GB, free: 28.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006004/0.8415, allocations: 171.8 kB / 0.5985 GB, free: 28.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006968/0.8423, allocations: 280.5 kB / 0.5987 GB, free: 28.11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.587e-05/0.8423, allocations: 15.98 kB / 0.5988 GB, free: 28.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003545/0.8459, allocations: 3.457 MB / 0.6021 GB, free: 24.51 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.8459, allocations: 4 kB / 0.6021 GB, free: 24.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001941/0.8478, allocations: 1.641 MB / 0.6037 GB, free: 22.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001619/0.848, allocations: 152.2 kB / 0.6039 GB, free: 22.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.234e-05/0.8481, allocations: 11.98 kB / 0.6039 GB, free: 22.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004279/0.8485, allocations: 27.95 kB / 0.6039 GB, free: 22.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.8487, allocations: 84.56 kB / 0.604 GB, free: 22.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.367e-05/0.8487, allocations: 32 kB / 0.604 GB, free: 22.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002336/0.849, allocations: 224.6 kB / 0.6043 GB, free: 22.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.849, allocations: 4 kB / 0.6043 GB, free: 22.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009689/0.8499, allocations: 284 kB / 0.6045 GB, free: 21.88 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.002154/0.8521, allocations: 3.229 MB / 0.6077 GB, free: 18.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001649/0.8538, allocations: 1.256 MB / 0.6089 GB, free: 17.26 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.8538, allocations: 0 / 0.6089 GB, free: 17.26 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009137/0.8547, allocations: 0.7783 MB / 0.6097 GB, free: 16.46 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005052/0.8552, allocations: 75.94 kB / 0.6097 GB, free: 16.39 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002394/0.8576, allocations: 1.604 MB / 0.6113 GB, free: 14.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005532/0.8582, allocations: 1.085 MB / 0.6124 GB, free: 13.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004015/0.8586, allocations: 180.6 kB / 0.6125 GB, free: 13.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000311/0.8589, allocations: 259.3 kB / 0.6128 GB, free: 13.16 MB / 378.7 MB Notification: Performance of SimCode: time 8.72e-07/0.8589, allocations: 0 / 0.6128 GB, free: 13.16 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03755/0.8965, allocations: 14.41 MB / 0.6269 GB, free: 14.73 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002498/0.8968, allocations: 142.3 kB / 0.627 GB, free: 14.53 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.28/3.177, allocations: 0 / 0.627 GB, free: 14.53 MB / 394.7 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1)