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.001464/0.001464, 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.001295/0.001295, 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.395/1.395, 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.05293/0.05293, allocations: 8.098 MB / 299.3 MB, free: 6.645 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001985, allocations: 67.89 kB / 414 MB, free: 22.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08985/0.09185, allocations: 51.5 MB / 465.5 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.DoubleNetwork): time 0.007457/0.09935, allocations: 5.916 MB / 471.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004301/0.1037, allocations: 2.337 MB / 473.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005229/0.1042, allocations: 19.94 kB / 473.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008052/0.1051, allocations: 313.8 kB / 474.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001483/0.1066, allocations: 0.6094 MB / 474.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003203/0.1098, allocations: 1.459 MB / 476.2 MB, free: 7.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00198/0.1118, allocations: 1.303 MB / 477.5 MB, free: 6.672 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006482/0.1125, allocations: 413.1 kB / 477.9 MB, free: 6.242 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007637/0.1132, allocations: 0.5408 MB / 478.4 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009934/0.1142, allocations: 0.7002 MB / 479.1 MB, free: 4.996 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002004/0.1145, allocations: 100 kB / 479.2 MB, free: 4.898 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007894/0.1152, allocations: 343.8 kB / 479.5 MB, free: 4.562 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002488/0.1155, allocations: 266.9 kB / 479.8 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006859/0.1162, allocations: 0.6024 MB / 480.4 MB, free: 3.695 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00191/0.1181, allocations: 1.432 MB / 481.8 MB, free: 2.258 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1181, allocations: 0 / 481.8 MB, free: 2.258 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1182, allocations: 0 / 481.8 MB, free: 2.258 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.062e-05/0.1182, allocations: 0 / 481.8 MB, free: 2.258 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.01364/0.1318, allocations: 3.192 MB / 485 MB, free: 15.01 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.1319, allocations: 15.89 kB / 485 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002244/0.1321, allocations: 131.2 kB / 485.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003379/0.1325, allocations: 140.1 kB / 485.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/0.1337, allocations: 0.676 MB / 486 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.664e-05/0.1338, allocations: 74.38 kB / 486.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000177/0.134, allocations: 100.4 kB / 486.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002432/0.1364, allocations: 1.349 MB / 487.5 MB, free: 12.46 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.1365, allocations: 0 / 487.5 MB, free: 12.46 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001248/0.1366, allocations: 36 kB / 487.5 MB, free: 12.43 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.132e-05/0.1366, allocations: 20 kB / 487.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002321/0.139, allocations: 1.273 MB / 488.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008547/0.1475, allocations: 5.223 MB / 494.1 MB, free: 5.457 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003581/0.1512, allocations: 3.112 MB / 497.2 MB, free: 2.059 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001535/0.1527, allocations: 0.9809 MB / 498.1 MB, free: 1.078 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001739/0.1529, allocations: 49.17 kB / 498.2 MB, free: 1.031 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.609e-05/0.153, allocations: 56.11 kB / 498.2 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of pre-optimization done (n=147): time 2.985e-06/0.153, allocations: 0 / 498.2 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of matching and sorting (n=147): time 0.02944/0.1824, allocations: 7.062 MB / 0.4935 GB, free: 9.871 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/0.1826, allocations: 120.1 kB / 0.4936 GB, free: 9.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001103/0.1837, allocations: 0.6449 MB / 0.4942 GB, free: 9.078 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002491/0.184, allocations: 65.7 kB / 0.4943 GB, free: 9.008 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003048/0.1843, allocations: 334.8 kB / 0.4946 GB, free: 8.676 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006487/0.185, allocations: 0.515 MB / 0.4951 GB, free: 8.156 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007906/0.1858, allocations: 279.5 kB / 0.4954 GB, free: 7.875 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002235/0.186, allocations: 345.9 kB / 0.4957 GB, free: 7.531 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002222/0.1883, allocations: 0.859 MB / 0.4965 GB, free: 6.672 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002484/0.1908, allocations: 0.9846 MB / 0.4975 GB, free: 5.688 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005084/0.1959, allocations: 1.932 MB / 0.4994 GB, free: 3.758 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-05/0.196, allocations: 0 / 0.4994 GB, free: 3.758 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.2054/0.4014, allocations: 3.824 MB / 0.5031 GB, free: 43.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.145e-05/0.4014, allocations: 8.219 kB / 0.5031 GB, free: 43.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.4015, allocations: 0.5156 kB / 0.5031 GB, free: 43.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01785/0.4193, allocations: 3.934 MB / 0.507 GB, free: 43.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001448/0.4208, allocations: 224.1 kB / 0.5072 GB, free: 43.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03293/0.4538, allocations: 11.45 MB / 0.5184 GB, free: 37.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001636/0.4555, allocations: 145.6 kB / 0.5185 GB, free: 37.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003648/0.4559, allocations: 53.64 kB / 0.5186 GB, free: 37.41 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.000766/0.4566, allocations: 258.1 kB / 0.5188 GB, free: 37.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004188/0.4571, allocations: 112.2 kB / 0.5189 GB, free: 37.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01384/0.4709, allocations: 3.802 MB / 0.5226 GB, free: 35.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.588e-05/0.471, allocations: 16.03 kB / 0.5226 GB, free: 35.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.471, allocations: 3.781 kB / 0.5226 GB, free: 35.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-05/0.471, allocations: 6.469 kB / 0.5226 GB, free: 35.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0151/0.4862, allocations: 5.318 MB / 0.5278 GB, free: 33.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.481e-05/0.4863, allocations: 0 / 0.5278 GB, free: 33.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/0.4873, allocations: 175.7 kB / 0.528 GB, free: 33.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01359/0.5009, allocations: 2.732 MB / 0.5307 GB, free: 32.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002841/0.5012, allocations: 32 kB / 0.5307 GB, free: 32.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02708/0.5283, allocations: 11.25 MB / 0.5417 GB, free: 20.94 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.5284, allocations: 0 / 0.5417 GB, free: 20.94 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01245/0.5408, allocations: 3.68 MB / 0.5453 GB, free: 17.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003009/0.5412, allocations: 202.4 kB / 0.5455 GB, free: 17.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002795/0.5415, allocations: 28 kB / 0.5455 GB, free: 17.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001527/0.543, allocations: 95.67 kB / 0.5456 GB, free: 16.92 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005297/0.5435, allocations: 122.4 kB / 0.5457 GB, free: 16.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001821/0.5437, allocations: 51.98 kB / 0.5458 GB, free: 16.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007626/0.5445, allocations: 439 kB / 0.5462 GB, free: 16.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5445, allocations: 0 / 0.5462 GB, free: 16.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002068/0.5466, allocations: 0.537 MB / 0.5467 GB, free: 15.79 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.0124/0.559, allocations: 4.286 MB / 0.5509 GB, free: 11.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.009606/0.5687, allocations: 3.191 MB / 0.554 GB, free: 8.281 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/0.5687, allocations: 4.656 kB / 0.554 GB, free: 8.277 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006884/0.5756, allocations: 2.114 MB / 0.5561 GB, free: 6.152 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001427/0.5771, allocations: 146.4 kB / 0.5562 GB, free: 6.008 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0401/0.6172, allocations: 14.08 MB / 0.57 GB, free: 7.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/0.6182, allocations: 1.088 MB / 0.571 GB, free: 6.719 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008117/0.6191, allocations: 151.5 kB / 0.5712 GB, free: 6.566 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008109/0.6199, allocations: 411.2 kB / 0.5716 GB, free: 6.164 MB / 398.1 MB Notification: Performance of SimCode: time 6.42e-07/0.6199, allocations: 0 / 0.5716 GB, free: 6.164 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09548/0.7154, allocations: 45.96 MB / 0.6164 GB, free: 8.426 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.17/14.89, allocations: 10.89 kB / 0.6165 GB, free: 8.418 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)