Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithLoads",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001807/0.001807, allocations: 103.2 kB / 16.45 MB, free: 6.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002191/0.002191, allocations: 189.5 kB / 17.39 MB, free: 5.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04609/0.04609, allocations: 8.086 MB / 299.3 MB, free: 6.656 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 71.83 kB / 414 MB, free: 22.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09288/0.09494, allocations: 51.51 MB / 465.5 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads): time 0.005696/0.1007, allocations: 6.126 MB / 471.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003713/0.1044, allocations: 2.441 MB / 474.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007851/0.1053, allocations: 20 kB / 474.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008847/0.1062, allocations: 329.7 kB / 474.4 MB, free: 9.746 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001993/0.1082, allocations: 0.66 MB / 475.1 MB, free: 9.082 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002934/0.1111, allocations: 1.49 MB / 476.6 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002077/0.1132, allocations: 1.455 MB / 478 MB, free: 6.137 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007847/0.114, allocations: 0.5249 MB / 478.5 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008235/0.1148, allocations: 0.5994 MB / 479.1 MB, free: 4.984 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001156/0.116, allocations: 0.7509 MB / 479.9 MB, free: 4.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003955/0.1164, allocations: 152 kB / 480 MB, free: 4.082 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009936/0.1174, allocations: 383.8 kB / 480.4 MB, free: 3.707 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00035/0.1178, allocations: 310.9 kB / 480.7 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009792/0.1188, allocations: 0.6959 MB / 481.4 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002331/0.1211, allocations: 1.816 MB / 483.2 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.1211, allocations: 0 / 483.2 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.1212, allocations: 0 / 483.2 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.64e-05/0.1212, allocations: 0 / 483.2 MB, free: 0.8828 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.01338/0.1346, allocations: 3.236 MB / 486.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/0.1347, allocations: 15.89 kB / 486.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003855/0.1351, allocations: 139.6 kB / 486.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004631/0.1355, allocations: 139.4 kB / 486.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00137/0.1369, allocations: 0.773 MB / 487.5 MB, free: 12.47 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.276e-05/0.137, allocations: 74.38 kB / 487.6 MB, free: 12.4 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002066/0.1372, allocations: 100.3 kB / 487.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002479/0.1397, allocations: 1.522 MB / 489.2 MB, free: 10.76 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.1398, allocations: 3.938 kB / 489.2 MB, free: 10.76 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001292/0.1399, allocations: 40 kB / 489.3 MB, free: 10.72 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/0.1399, allocations: 20 kB / 489.3 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00227/0.1422, allocations: 1.472 MB / 490.8 MB, free: 9.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007984/0.1502, allocations: 5.999 MB / 496.8 MB, free: 2.766 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003343/0.1536, allocations: 3.753 MB / 0.4888 GB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00176/0.1554, allocations: 1.106 MB / 0.4899 GB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001659/0.1555, allocations: 37.2 kB / 0.4899 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.397e-05/0.1556, allocations: 52.11 kB / 0.4899 GB, free: 13.42 MB / 382.1 MB Notification: Performance of pre-optimization done (n=151): time 4.478e-06/0.1556, allocations: 0 / 0.4899 GB, free: 13.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=151): time 0.03209/0.1877, allocations: 8.29 MB / 0.498 GB, free: 5.098 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.288e-05/0.1879, allocations: 120.1 kB / 0.4981 GB, free: 4.957 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.189, allocations: 0.6682 MB / 0.4988 GB, free: 4.281 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000307/0.1893, allocations: 61.7 kB / 0.4989 GB, free: 4.215 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002961/0.1896, allocations: 350.3 kB / 0.4992 GB, free: 3.867 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000532/0.1902, allocations: 0.5005 MB / 0.4997 GB, free: 3.359 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005885/0.1908, allocations: 283.6 kB / 0.5 GB, free: 3.074 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.1909, allocations: 345.9 kB / 0.5003 GB, free: 2.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001413/0.1923, allocations: 0.9568 MB / 0.5012 GB, free: 1.773 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001535/0.1939, allocations: 1.082 MB / 0.5023 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1874/0.3813, allocations: 2.161 MB / 0.5044 GB, free: 44.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/0.3813, allocations: 3.156 kB / 0.5044 GB, free: 44.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=202) (initialization): time 0.01042/0.3918, allocations: 4.115 MB / 0.5084 GB, free: 42.92 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.3918, allocations: 5.312 kB / 0.5084 GB, free: 42.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.3919, allocations: 4.641 kB / 0.5084 GB, free: 42.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01175/0.4036, allocations: 4.208 MB / 0.5125 GB, free: 42.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009719/0.4046, allocations: 228.2 kB / 0.5127 GB, free: 42.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02227/0.4269, allocations: 13.11 MB / 0.5255 GB, free: 34.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/0.4281, allocations: 139.6 kB / 0.5257 GB, free: 34.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001382/0.4283, allocations: 56.47 kB / 0.5257 GB, free: 34.85 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(32,36)} Notification: Performance of prepare postOptimizeDAE: time 0.0004754/0.4287, allocations: 303.3 kB / 0.526 GB, free: 34.61 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001925/0.4289, allocations: 108.8 kB / 0.5261 GB, free: 34.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008657/0.4376, allocations: 4.078 MB / 0.5301 GB, free: 32.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.4377, allocations: 16 kB / 0.5301 GB, free: 32.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.4377, allocations: 4 kB / 0.5301 GB, free: 32.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.782e-05/0.4377, allocations: 10.78 kB / 0.5301 GB, free: 32.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01017/0.4479, allocations: 5.988 MB / 0.536 GB, free: 26.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/0.4479, allocations: 4 kB / 0.536 GB, free: 26.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005565/0.4485, allocations: 167.8 kB / 0.5362 GB, free: 26.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00933/0.4578, allocations: 2.891 MB / 0.539 GB, free: 23.81 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002617/0.4581, allocations: 39.92 kB / 0.539 GB, free: 23.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01856/0.4767, allocations: 12.9 MB / 0.5516 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.4767, allocations: 0 / 0.5516 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008548/0.4853, allocations: 3.953 MB / 0.5555 GB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000262/0.4856, allocations: 199.4 kB / 0.5557 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000183/0.4858, allocations: 35.94 kB / 0.5557 GB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009677/0.4867, allocations: 89.12 kB / 0.5558 GB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003938/0.4871, allocations: 130.4 kB / 0.5559 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/0.4873, allocations: 53.02 kB / 0.556 GB, free: 6.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005175/0.4878, allocations: 463 kB / 0.5564 GB, free: 5.781 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4878, allocations: 0 / 0.5564 GB, free: 5.781 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001494/0.4893, allocations: 0.5503 MB / 0.5569 GB, free: 5.23 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(32,36)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008644/0.4979, allocations: 4.562 MB / 0.5614 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007173/0.5051, allocations: 3.441 MB / 0.5648 GB, free: 13.2 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.5052, allocations: 3.938 kB / 0.5648 GB, free: 13.2 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005424/0.5106, allocations: 2.257 MB / 0.567 GB, free: 10.93 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009443/0.5116, allocations: 143.9 kB / 0.5671 GB, free: 10.79 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02898/0.5406, allocations: 15.09 MB / 0.5818 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006951/0.5413, allocations: 1.099 MB / 0.5829 GB, free: 10.47 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005278/0.5419, allocations: 151.7 kB / 0.583 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005329/0.5424, allocations: 419.3 kB / 0.5834 GB, free: 9.91 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.5424, allocations: 3.938 kB / 0.5835 GB, free: 9.906 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0825/0.6249, allocations: 52.23 MB / 0.6345 GB, free: 5.918 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/13.4, allocations: 10 kB / 0.6345 GB, free: 5.91 MB / 462.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithLoads.fmu > PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe 2>&1)