Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.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.Network,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_MediumNetworks_Network",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.MediumNetworks.Network,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_MediumNetworks_Network",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.001666/0.001666, allocations: 102.6 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.001818/0.001818, allocations: 186.4 kB / 17.38 MB, free: 5.691 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.476/1.476, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05303/0.05303, allocations: 8.104 MB / 299.3 MB, free: 6.645 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 63.91 kB / 414 MB, free: 22.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08561/0.08745, allocations: 51.51 MB / 465.5 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.Network): time 0.005035/0.09253, allocations: 3.866 MB / 469.4 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00318/0.09575, allocations: 1.952 MB / 471.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002371/0.096, allocations: 12 kB / 471.3 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005455/0.09656, allocations: 234.5 kB / 471.6 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008576/0.09746, allocations: 389.4 kB / 471.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002579/0.1001, allocations: 1.311 MB / 473.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001124/0.1012, allocations: 0.8008 MB / 474.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004204/0.1016, allocations: 253.5 kB / 474.3 MB, free: 9.852 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003728/0.102, allocations: 338.6 kB / 474.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005589/0.1026, allocations: 426.2 kB / 475.1 MB, free: 9.102 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001105/0.1027, allocations: 64 kB / 475.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006259/0.1033, allocations: 295.8 kB / 475.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001433/0.1035, allocations: 159.3 kB / 475.6 MB, free: 8.594 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003617/0.1038, allocations: 378 kB / 475.9 MB, free: 8.223 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001131/0.105, allocations: 0.9417 MB / 476.9 MB, free: 7.277 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.105, allocations: 3.938 kB / 476.9 MB, free: 7.273 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.105, allocations: 0 / 476.9 MB, free: 7.273 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.105, allocations: 0 / 476.9 MB, free: 7.273 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.008375/0.1134, allocations: 2.155 MB / 479 MB, free: 5.062 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.1135, allocations: 11.89 kB / 479 MB, free: 5.051 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001344/0.1136, allocations: 90.7 kB / 479.1 MB, free: 4.953 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002014/0.1138, allocations: 96.41 kB / 479.2 MB, free: 4.859 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007574/0.1146, allocations: 478.1 kB / 479.7 MB, free: 4.352 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.942e-05/0.1146, allocations: 45.38 kB / 479.7 MB, free: 4.309 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.1148, allocations: 60.38 kB / 479.8 MB, free: 4.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/0.1162, allocations: 0.8314 MB / 480.6 MB, free: 3.406 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.1163, allocations: 11.94 kB / 480.6 MB, free: 3.395 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.468e-05/0.1163, allocations: 24 kB / 480.7 MB, free: 3.371 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/0.1164, allocations: 12 kB / 480.7 MB, free: 3.359 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/0.1177, allocations: 0.7887 MB / 481.5 MB, free: 2.566 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004878/0.1226, allocations: 3.327 MB / 484.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001913/0.1245, allocations: 1.356 MB / 486.1 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008714/0.1254, allocations: 0.5882 MB / 486.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000117/0.1255, allocations: 28.97 kB / 486.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.214e-05/0.1256, allocations: 43.56 kB / 486.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=89): time 2.635e-06/0.1256, allocations: 0 / 486.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=89): time 0.01563/0.1412, allocations: 3.966 MB / 490.8 MB, free: 8.828 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.1414, allocations: 115.8 kB / 490.9 MB, free: 8.691 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006301/0.142, allocations: 441.8 kB / 491.3 MB, free: 8.254 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001285/0.1422, allocations: 45.7 kB / 491.4 MB, free: 8.203 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001978/0.1424, allocations: 237.7 kB / 491.6 MB, free: 7.965 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003178/0.1427, allocations: 317.2 kB / 491.9 MB, free: 7.652 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003468/0.143, allocations: 182.6 kB / 492.1 MB, free: 7.469 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001963/0.1432, allocations: 366.8 kB / 492.4 MB, free: 7.102 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008965/0.1442, allocations: 0.5408 MB / 493 MB, free: 6.559 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/0.1452, allocations: 0.6224 MB / 493.6 MB, free: 5.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001986/0.1472, allocations: 1.205 MB / 494.8 MB, free: 4.723 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.1472, allocations: 0 / 494.8 MB, free: 4.723 MB / 366.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.006763/0.154, allocations: 2.386 MB / 497.2 MB, free: 2.328 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.029e-05/0.154, allocations: 4 kB / 497.2 MB, free: 2.324 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.1541, allocations: 0 / 497.2 MB, free: 2.324 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007097/0.1612, allocations: 1.773 MB / 499 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006849/0.1619, allocations: 143.8 kB / 499.1 MB, free: 416 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01487/0.1768, allocations: 7.373 MB / 0.4946 GB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008129/0.1776, allocations: 95.28 kB / 0.4947 GB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.744e-05/0.1777, allocations: 31.98 kB / 0.4947 GB, free: 8.777 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 (87): * Single equations (assignments): 86 * 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 {(18,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0003428/0.178, allocations: 201.7 kB / 0.4949 GB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/0.1782, allocations: 75.52 kB / 0.495 GB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006834/0.1851, allocations: 2.324 MB / 0.4973 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.251e-05/0.1851, allocations: 11.94 kB / 0.4973 GB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.1851, allocations: 3.938 kB / 0.4973 GB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-05/0.1851, allocations: 7.984 kB / 0.4973 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007907/0.1931, allocations: 3.327 MB / 0.5005 GB, free: 2.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.1931, allocations: 0 / 0.5005 GB, free: 2.742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004138/0.1935, allocations: 111.8 kB / 0.5006 GB, free: 2.633 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006742/0.2003, allocations: 1.492 MB / 0.5021 GB, free: 1.137 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001105/0.2004, allocations: 27.94 kB / 0.5021 GB, free: 1.109 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1986/0.399, allocations: 7.224 MB / 0.5092 GB, free: 43.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.3991, allocations: 0.75 kB / 0.5092 GB, free: 43.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006264/0.4054, allocations: 2.291 MB / 0.5114 GB, free: 42.14 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002081/0.4056, allocations: 156.1 kB / 0.5116 GB, free: 42.01 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001661/0.4058, allocations: 17.33 kB / 0.5116 GB, free: 42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006622/0.4065, allocations: 55.67 kB / 0.5116 GB, free: 41.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003314/0.4068, allocations: 73.91 kB / 0.5117 GB, free: 41.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-05/0.4069, allocations: 29.69 kB / 0.5117 GB, free: 41.97 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003806/0.4073, allocations: 294.8 kB / 0.512 GB, free: 41.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4073, allocations: 3.391 kB / 0.512 GB, free: 41.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001005/0.4083, allocations: 343.6 kB / 0.5123 GB, free: 41.78 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 (66): * Single equations (assignments): 65 * 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 {(18,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006369/0.4147, allocations: 2.879 MB / 0.5152 GB, free: 40.28 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004796/0.4195, allocations: 1.964 MB / 0.5171 GB, free: 39.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.4196, allocations: 1.094 kB / 0.5171 GB, free: 39.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003747/0.4233, allocations: 1.311 MB / 0.5184 GB, free: 38.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007802/0.4241, allocations: 80.67 kB / 0.5184 GB, free: 38.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0177/0.4418, allocations: 9.024 MB / 0.5272 GB, free: 34.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.4422, allocations: 0.9217 MB / 0.5281 GB, free: 33.81 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003233/0.4425, allocations: 98.41 kB / 0.5282 GB, free: 33.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002512/0.4428, allocations: 241.7 kB / 0.5285 GB, free: 33.61 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4428, allocations: 0 / 0.5285 GB, free: 33.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05394/0.4967, allocations: 28.55 MB / 0.5563 GB, free: 6.488 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/13.69, allocations: 11.45 kB / 0.5564 GB, free: 6.48 MB / 382.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_MediumNetworks_Network_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_MediumNetworks_Network.fmu > PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe 2>&1)