Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.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.MediumNetworks.DoubleNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_MediumNetworks_DoubleNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.MediumNetworks.DoubleNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_MediumNetworks_DoubleNetwork",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.001612/0.001612, allocations: 103.2 kB / 16.45 MB, free: 6.438 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.00175/0.00175, allocations: 186.9 kB / 17.39 MB, free: 5.668 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.316/1.316, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04765/0.04765, allocations: 8.102 MB / 299.3 MB, free: 6.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 63.91 kB / 414 MB, free: 22.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09075/0.09204, allocations: 51.52 MB / 465.5 MB, free: 2.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.DoubleNetwork): time 0.006123/0.0982, allocations: 5.908 MB / 471.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003807/0.102, allocations: 2.332 MB / 473.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001166/0.1032, allocations: 16 kB / 473.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001052/0.1043, allocations: 317.8 kB / 474.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001999/0.1064, allocations: 0.6132 MB / 474.7 MB, free: 9.422 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002974/0.1094, allocations: 1.451 MB / 476.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001894/0.1113, allocations: 1.307 MB / 477.4 MB, free: 6.664 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006996/0.112, allocations: 413 kB / 477.9 MB, free: 6.234 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008157/0.1128, allocations: 0.537 MB / 478.4 MB, free: 5.695 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001119/0.114, allocations: 0.7002 MB / 479.1 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000375/0.1143, allocations: 104 kB / 479.2 MB, free: 4.891 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/0.1154, allocations: 343.7 kB / 479.5 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003902/0.1158, allocations: 259 kB / 479.8 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001004/0.1168, allocations: 0.6179 MB / 480.4 MB, free: 3.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00188/0.1187, allocations: 1.41 MB / 481.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1187, allocations: 0 / 481.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1187, allocations: 4 kB / 481.8 MB, free: 2.262 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.064e-05/0.1188, allocations: 0 / 481.8 MB, free: 2.262 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.01246/0.1312, allocations: 3.154 MB / 485 MB, free: 15.05 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.1313, allocations: 11.89 kB / 485 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002719/0.1316, allocations: 135.2 kB / 485.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003544/0.132, allocations: 135.4 kB / 485.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.1331, allocations: 0.6871 MB / 485.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.428e-05/0.1332, allocations: 74.38 kB / 486 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001633/0.1333, allocations: 100.4 kB / 486.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002071/0.1354, allocations: 1.342 MB / 487.4 MB, free: 12.51 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.1354, allocations: 4 kB / 487.4 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/0.1356, allocations: 35.98 kB / 487.5 MB, free: 12.47 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.958e-05/0.1356, allocations: 20 kB / 487.5 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001922/0.1375, allocations: 1.277 MB / 488.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006718/0.1442, allocations: 5.211 MB / 494 MB, free: 5.504 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002876/0.1471, allocations: 3.112 MB / 497.1 MB, free: 2.105 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001254/0.1484, allocations: 0.9771 MB / 498.1 MB, free: 1.129 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001679/0.1486, allocations: 41.14 kB / 498.1 MB, free: 1.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.198e-05/0.1486, allocations: 56.11 kB / 498.2 MB, free: 1.027 MB / 366.1 MB Notification: Performance of pre-optimization done (n=147): time 3.927e-06/0.1486, allocations: 4 kB / 498.2 MB, free: 1.023 MB / 366.1 MB Notification: Performance of matching and sorting (n=147): time 0.02687/0.1755, allocations: 7.069 MB / 0.4934 GB, free: 9.918 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.156e-05/0.1756, allocations: 124.1 kB / 0.4935 GB, free: 9.773 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009955/0.1767, allocations: 0.637 MB / 0.4941 GB, free: 9.129 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002091/0.1769, allocations: 61.7 kB / 0.4942 GB, free: 9.062 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002734/0.1772, allocations: 334.3 kB / 0.4945 GB, free: 8.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004364/0.1776, allocations: 496.7 kB / 0.495 GB, free: 8.238 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005167/0.1781, allocations: 271.6 kB / 0.4953 GB, free: 7.965 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.1783, allocations: 353.9 kB / 0.4956 GB, free: 7.613 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001288/0.1796, allocations: 0.8629 MB / 0.4964 GB, free: 6.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001376/0.1809, allocations: 0.9768 MB / 0.4974 GB, free: 5.773 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00271/0.1837, allocations: 1.932 MB / 0.4993 GB, free: 3.844 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/0.1837, allocations: 3.984 kB / 0.4993 GB, free: 3.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.009508/0.1932, allocations: 3.823 MB / 0.503 GB, free: 0 / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.1957/0.3889, allocations: 6.266 kB / 0.503 GB, free: 44.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.807e-05/0.3889, allocations: 0 / 0.503 GB, free: 44.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01187/0.4008, allocations: 3.936 MB / 0.5069 GB, free: 44.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009889/0.4018, allocations: 227.8 kB / 0.5071 GB, free: 44.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02096/0.4228, allocations: 11.44 MB / 0.5182 GB, free: 38.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/0.4241, allocations: 133.9 kB / 0.5184 GB, free: 38.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/0.4243, allocations: 50.62 kB / 0.5184 GB, free: 38.52 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,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0004823/0.4247, allocations: 265.9 kB / 0.5187 GB, free: 38.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002344/0.425, allocations: 105.8 kB / 0.5188 GB, free: 38.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009268/0.4343, allocations: 3.801 MB / 0.5225 GB, free: 36.74 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/0.4343, allocations: 19.12 kB / 0.5225 GB, free: 36.74 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.4343, allocations: 0 / 0.5225 GB, free: 36.74 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.291e-05/0.4343, allocations: 6.797 kB / 0.5225 GB, free: 36.74 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009766/0.4441, allocations: 5.322 MB / 0.5277 GB, free: 34.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.4441, allocations: 0 / 0.5277 GB, free: 34.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004882/0.4446, allocations: 175.5 kB / 0.5279 GB, free: 34.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008927/0.4535, allocations: 2.726 MB / 0.5305 GB, free: 32.65 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001332/0.4537, allocations: 31.98 kB / 0.5306 GB, free: 32.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01694/0.4706, allocations: 11.24 MB / 0.5415 GB, free: 21.24 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4707, allocations: 0 / 0.5415 GB, free: 21.24 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008374/0.4791, allocations: 3.656 MB / 0.5451 GB, free: 17.56 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002755/0.4794, allocations: 207.2 kB / 0.5453 GB, free: 17.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001394/0.4795, allocations: 35.98 kB / 0.5453 GB, free: 17.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009522/0.4805, allocations: 88.34 kB / 0.5454 GB, free: 17.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003639/0.4808, allocations: 126.3 kB / 0.5456 GB, free: 17.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.736e-05/0.481, allocations: 51.98 kB / 0.5456 GB, free: 17.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004831/0.4814, allocations: 435 kB / 0.546 GB, free: 16.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.4814, allocations: 4 kB / 0.546 GB, free: 16.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001304/0.4828, allocations: 0.5368 MB / 0.5465 GB, free: 16.09 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 (106): * Single equations (assignments): 105 * 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,32)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008421/0.4912, allocations: 4.271 MB / 0.5507 GB, free: 11.78 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006321/0.4975, allocations: 3.188 MB / 0.5538 GB, free: 8.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.4976, allocations: 0.6562 kB / 0.5538 GB, free: 8.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004793/0.5024, allocations: 2.103 MB / 0.5559 GB, free: 6.477 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009969/0.5034, allocations: 146.7 kB / 0.556 GB, free: 6.336 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02695/0.5303, allocations: 14.04 MB / 0.5697 GB, free: 8.203 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006883/0.5311, allocations: 1.092 MB / 0.5708 GB, free: 7.074 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005246/0.5316, allocations: 148 kB / 0.5709 GB, free: 6.926 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000522/0.5321, allocations: 399.3 kB / 0.5713 GB, free: 6.535 MB / 398.1 MB Notification: Performance of SimCode: time 6.82e-07/0.5322, allocations: 4 kB / 0.5713 GB, free: 6.531 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07655/0.6087, allocations: 47.69 MB / 0.6179 GB, free: 7.062 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/13.1, allocations: 7.922 kB / 0.6179 GB, free: 7.055 MB / 446.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_MediumNetworks_DoubleNetwork_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_MediumNetworks_DoubleNetwork.fmu > PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe 2>&1)