Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_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_cpp_PowerSystems_Examples_Generic_Network_NetworkOpened",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkOpened,fileNamePrefix="PowerSystems_cpp_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.001591/0.001591, allocations: 187.2 kB / 15.77 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.977/1.977, allocations: 205.4 MB / 221.9 MB, free: 13.79 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00121/0.00121, allocations: 94.8 kB / 270.2 MB, free: 13.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2757/0.2757, allocations: 38.06 MB / 356.6 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004635/0.0004637, allocations: 12 kB / 422.8 MB, free: 26.33 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1108, allocations: 56.34 MB / 479.1 MB, free: 1.938 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.01096/0.1218, allocations: 6.886 MB / 486 MB, free: 11.02 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.009327/0.1312, allocations: 4.398 MB / 490.4 MB, free: 6.609 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006182/0.1319, allocations: 23.88 kB / 490.4 MB, free: 6.586 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005671/0.1325, allocations: 155.1 kB / 490.6 MB, free: 6.434 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003061/0.1356, allocations: 0.6968 MB / 491.3 MB, free: 5.734 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.1369, allocations: 275.3 kB / 491.6 MB, free: 5.465 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00132/0.1382, allocations: 0.612 MB / 492.2 MB, free: 4.852 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003153/0.1414, allocations: 1.147 MB / 493.3 MB, free: 3.684 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001075/0.1425, allocations: 402.5 kB / 493.7 MB, free: 3.289 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007091/0.1432, allocations: 362.8 kB / 494.1 MB, free: 2.934 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000107/0.1433, allocations: 32 kB / 494.1 MB, free: 2.902 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00245/0.1458, allocations: 0.7485 MB / 494.8 MB, free: 2.152 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007744/0.1466, allocations: 403.1 kB / 495.2 MB, free: 1.758 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003437/0.147, allocations: 177.3 kB / 495.4 MB, free: 1.578 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002736/0.1497, allocations: 1.083 MB / 496.5 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.1498, allocations: 0 / 496.5 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.1498, allocations: 0 / 496.5 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.803e-05/0.1498, allocations: 0 / 496.5 MB, free: 0.4922 MB / 330.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.00243/0.1523, allocations: 1.022 MB / 497.5 MB, free: 15.42 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.794e-05/0.1524, allocations: 12.03 kB / 497.5 MB, free: 15.41 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002588/0.1526, allocations: 135.2 kB / 497.7 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00551/0.1582, allocations: 462.3 kB / 498.1 MB, free: 14.81 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/0.1596, allocations: 474.2 kB / 498.6 MB, free: 14.31 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.923e-05/0.1597, allocations: 65.97 kB / 498.6 MB, free: 14.25 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002558/0.16, allocations: 75.98 kB / 498.7 MB, free: 14.17 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003232/0.1632, allocations: 1.215 MB / 499.9 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.827e-05/0.1633, allocations: 8 kB / 499.9 MB, free: 12.92 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000135/0.1635, allocations: 31.94 kB / 500 MB, free: 12.89 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001779/0.1637, allocations: 77.95 kB / 0.4883 GB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003497/0.1672, allocations: 1.308 MB / 0.4896 GB, free: 11.51 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01011/0.1773, allocations: 3.72 MB / 0.4932 GB, free: 7.676 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003259/0.1806, allocations: 1.082 MB / 0.4943 GB, free: 6.574 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001344/0.1808, allocations: 21.19 kB / 0.4943 GB, free: 6.555 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.939e-05/0.1809, allocations: 51.5 kB / 0.4944 GB, free: 6.496 MB / 346.7 MB Notification: Performance of pre-optimization done (n=92): time 4.479e-06/0.1809, allocations: 0 / 0.4944 GB, free: 6.496 MB / 346.7 MB Notification: Performance of matching and sorting (n=93): time 0.01244/0.1934, allocations: 3.107 MB / 0.4974 GB, free: 3.359 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.766e-05/0.1935, allocations: 94.05 kB / 0.4975 GB, free: 3.25 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006468/0.1941, allocations: 373.6 kB / 0.4978 GB, free: 2.879 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000147/0.1943, allocations: 41.7 kB / 0.4979 GB, free: 2.832 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000293/0.1946, allocations: 366.5 kB / 0.4982 GB, free: 2.469 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004374/0.1951, allocations: 327.3 kB / 0.4985 GB, free: 2.145 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.707e-05/0.1951, allocations: 16 kB / 0.4986 GB, free: 2.129 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.1953, allocations: 350.8 kB / 0.4989 GB, free: 1.777 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001254/0.1966, allocations: 461.7 kB / 0.4993 GB, free: 1.328 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001357/0.198, allocations: 0.5743 MB / 0.4999 GB, free: 0.7188 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001427/0.1994, allocations: 0.5339 MB / 0.5004 GB, free: 192 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.1995, allocations: 4 kB / 0.5004 GB, free: 188 kB / 346.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004368/0.2038, allocations: 1.45 MB / 0.5018 GB, free: 14.72 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.334e-05/0.204, allocations: 4 kB / 0.5018 GB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.204, allocations: 4 kB / 0.5018 GB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001681/0.2057, allocations: 340.8 kB / 0.5022 GB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001683/0.2074, allocations: 179.8 kB / 0.5023 GB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00957/0.217, allocations: 3.97 MB / 0.5062 GB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.2181, allocations: 47.94 kB / 0.5063 GB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001602/0.2183, allocations: 35.98 kB / 0.5063 GB, free: 9.992 MB / 362.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 () * Number of clocked 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.0007104/0.219, allocations: 301.7 kB / 0.5066 GB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001941/0.2192, allocations: 63.3 kB / 0.5066 GB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00477/0.224, allocations: 1.547 MB / 0.5081 GB, free: 8.062 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.369e-05/0.2241, allocations: 12 kB / 0.5082 GB, free: 8.051 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.2241, allocations: 4 kB / 0.5082 GB, free: 8.047 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-05/0.2241, allocations: 3.984 kB / 0.5082 GB, free: 8.043 MB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.009174/0.2333, allocations: 3.002 MB / 0.5111 GB, free: 4.914 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.845e-05/0.2334, allocations: 7.953 kB / 0.5111 GB, free: 4.906 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001491/0.2349, allocations: 167.8 kB / 0.5113 GB, free: 4.742 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001586/0.2365, allocations: 288.9 kB / 0.5115 GB, free: 4.457 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002017/0.2367, allocations: 23.98 kB / 0.5116 GB, free: 4.434 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008469/0.2452, allocations: 3.691 MB / 0.5152 GB, free: 0.5977 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.2453, allocations: 8 kB / 0.5152 GB, free: 0.5898 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3051/0.5504, allocations: 1.729 MB / 0.5169 GB, free: 51.49 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000257/0.5507, allocations: 148.9 kB / 0.517 GB, free: 51.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001585/0.5509, allocations: 26.44 kB / 0.517 GB, free: 51.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007771/0.5517, allocations: 40.78 kB / 0.5171 GB, free: 51.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003011/0.552, allocations: 86.8 kB / 0.5172 GB, free: 51.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000117/0.5521, allocations: 35.81 kB / 0.5172 GB, free: 51.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004448/0.5526, allocations: 265.7 kB / 0.5174 GB, free: 51.31 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5526, allocations: 4.625 kB / 0.5174 GB, free: 51.31 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001471/0.5541, allocations: 308.2 kB / 0.5177 GB, free: 51.31 MB / 362.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 () * Number of clocked 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.00433/0.5584, allocations: 3.34 MB / 0.521 GB, free: 49.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003547/0.562, allocations: 1.371 MB / 0.5223 GB, free: 48.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.575e-06/0.5621, allocations: 1.031 kB / 0.5223 GB, free: 48.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002131/0.5642, allocations: 0.8351 MB / 0.5232 GB, free: 48.28 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007962/0.565, allocations: 91.05 kB / 0.5232 GB, free: 48.24 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01315/0.5782, allocations: 6.845 MB / 0.5299 GB, free: 44.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001012/0.5793, allocations: 1.104 MB / 0.531 GB, free: 43.46 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007923/0.5801, allocations: 279.6 kB / 0.5313 GB, free: 43.27 MB / 362.7 MB Notification: Performance of SimCode: time 1.192e-06/0.5801, allocations: 0 / 0.5313 GB, free: 43.27 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.86/3.44, allocations: 15.46 MB / 0.5464 GB, free: 34.12 MB / 362.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_Generic_Network_NetworkOpened_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_Generic_Network_NetworkOpened.fmu > PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1)