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.001104/0.001104, allocations: 109.6 kB / 16.03 MB, free: 6.363 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.0009963/0.0009963, allocations: 187.1 kB / 16.95 MB, free: 6.176 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.243/1.243, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05372/0.05372, allocations: 8.091 MB / 298.9 MB, free: 6.914 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 59.91 kB / 361.3 MB, free: 8.418 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1909, allocations: 51.52 MB / 412.8 MB, free: 25.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.Network): time 0.003423/0.1944, allocations: 3.849 MB / 416.7 MB, free: 21.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001934/0.1963, allocations: 1.935 MB / 418.6 MB, free: 19.96 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001676/0.1965, allocations: 12 kB / 418.6 MB, free: 19.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004051/0.1969, allocations: 183.2 kB / 418.8 MB, free: 19.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005812/0.1975, allocations: 354 kB / 419.2 MB, free: 19.43 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001724/0.1993, allocations: 1.24 MB / 420.4 MB, free: 18.19 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000549/0.1998, allocations: 0.7775 MB / 421.2 MB, free: 17.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002685/0.2001, allocations: 261.5 kB / 421.4 MB, free: 17.14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000186/0.2003, allocations: 330.8 kB / 421.8 MB, free: 16.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000318/0.2006, allocations: 434.1 kB / 422.2 MB, free: 16.39 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.718e-05/0.2007, allocations: 60 kB / 422.2 MB, free: 16.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003755/0.2011, allocations: 299.8 kB / 422.5 MB, free: 16.04 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.023e-05/0.2012, allocations: 155.4 kB / 422.7 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002121/0.2014, allocations: 382 kB / 423.1 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006239/0.202, allocations: 0.9306 MB / 424 MB, free: 14.58 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.202, allocations: 3.984 kB / 424 MB, free: 14.58 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.202, allocations: 0 / 424 MB, free: 14.58 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.202, allocations: 0 / 424 MB, free: 14.58 MB / 302.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.007283/0.2093, allocations: 2.129 MB / 426.1 MB, free: 12.39 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.2094, allocations: 15.83 kB / 426.1 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001006/0.2095, allocations: 98.7 kB / 426.2 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/0.2097, allocations: 76.09 kB / 426.3 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004953/0.2102, allocations: 489.7 kB / 426.8 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/0.2102, allocations: 45.38 kB / 426.8 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.527e-05/0.2103, allocations: 60.38 kB / 426.9 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.2113, allocations: 0.8353 MB / 427.7 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.2113, allocations: 3.938 kB / 427.7 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.56e-05/0.2114, allocations: 24 kB / 427.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.2114, allocations: 12 kB / 427.8 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009208/0.2123, allocations: 0.7848 MB / 428.5 MB, free: 9.898 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003229/0.2156, allocations: 3.334 MB / 431.9 MB, free: 6.254 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/0.2169, allocations: 1.364 MB / 433.2 MB, free: 4.809 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005858/0.2175, allocations: 0.5857 MB / 433.8 MB, free: 4.223 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.837e-05/0.2176, allocations: 24.91 kB / 433.9 MB, free: 4.199 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.2176, allocations: 55.5 kB / 433.9 MB, free: 4.137 MB / 302.1 MB Notification: Performance of pre-optimization done (n=89): time 2.444e-06/0.2176, allocations: 0 / 433.9 MB, free: 4.137 MB / 302.1 MB Notification: Performance of matching and sorting (n=89): time 0.01345/0.2311, allocations: 3.95 MB / 437.9 MB, free: 160 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.2311, allocations: 115.8 kB / 438 MB, free: 20 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005671/0.2317, allocations: 437.8 kB / 438.4 MB, free: 15.58 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001291/0.2318, allocations: 45.7 kB / 438.4 MB, free: 15.53 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.232, allocations: 237.4 kB / 438.7 MB, free: 15.29 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003078/0.2323, allocations: 303.5 kB / 439 MB, free: 14.99 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003591/0.2327, allocations: 182.6 kB / 439.2 MB, free: 14.81 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.2328, allocations: 370.8 kB / 439.5 MB, free: 14.44 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008724/0.2337, allocations: 0.533 MB / 440 MB, free: 13.9 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000865/0.2346, allocations: 0.6146 MB / 440.7 MB, free: 13.28 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001681/0.2363, allocations: 1.213 MB / 441.9 MB, free: 12.07 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.2363, allocations: 4.031 kB / 441.9 MB, free: 12.06 MB / 318.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.00647/0.2428, allocations: 2.382 MB / 444.3 MB, free: 9.668 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.124e-05/0.2428, allocations: 6.344 kB / 444.3 MB, free: 9.664 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.2429, allocations: 0 / 444.3 MB, free: 9.664 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006773/0.2496, allocations: 1.78 MB / 446 MB, free: 7.879 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006826/0.2503, allocations: 147.8 kB / 446.2 MB, free: 7.734 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01325/0.2636, allocations: 7.377 MB / 453.6 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007649/0.2644, allocations: 91.2 kB / 453.7 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.34e-05/0.2645, allocations: 28 kB / 453.7 MB, free: 112 kB / 318.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.0003422/0.2648, allocations: 205.7 kB / 453.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/0.265, allocations: 71.09 kB / 454 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006366/0.2714, allocations: 2.323 MB / 456.3 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.2714, allocations: 15.94 kB / 456.3 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.2714, allocations: 4 kB / 456.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.2714, allocations: 7.922 kB / 456.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007222/0.2787, allocations: 3.324 MB / 459.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.2787, allocations: 0 / 459.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003801/0.2791, allocations: 107.9 kB / 459.7 MB, free: 9.965 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006475/0.2856, allocations: 1.518 MB / 461.3 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001147/0.2857, allocations: 23.94 kB / 461.3 MB, free: 8.418 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01288/0.2986, allocations: 7.237 MB / 468.5 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.2986, allocations: 0 / 468.5 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006217/0.3049, allocations: 2.287 MB / 470.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002188/0.3051, allocations: 152 kB / 470.9 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.3052, allocations: 19.98 kB / 471 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006608/0.3059, allocations: 55.97 kB / 471 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003138/0.3062, allocations: 68.89 kB / 471.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-05/0.3063, allocations: 35.98 kB / 471.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003881/0.3067, allocations: 295.1 kB / 471.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3067, allocations: 0 / 471.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001067/0.3078, allocations: 335.8 kB / 471.7 MB, free: 13.77 MB / 350.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.006341/0.3141, allocations: 2.874 MB / 474.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004674/0.3188, allocations: 1.994 MB / 476.6 MB, free: 8.852 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.3188, allocations: 0 / 476.6 MB, free: 8.852 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003285/0.3221, allocations: 1.294 MB / 477.9 MB, free: 7.543 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006395/0.3228, allocations: 85.39 kB / 478 MB, free: 7.465 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01862/0.3414, allocations: 9.421 MB / 487.4 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005114/0.342, allocations: 0.9255 MB / 488.3 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003614/0.3423, allocations: 92.84 kB / 488.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003259/0.3427, allocations: 243.3 kB / 488.7 MB, free: 12.65 MB / 366.1 MB Notification: Performance of SimCode: time 1.292e-06/0.3427, allocations: 0 / 488.7 MB, free: 12.65 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04786/0.3905, allocations: 28.14 MB / 0.5047 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001734/0.3907, allocations: 221.8 kB / 0.5049 GB, free: 448 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.283/2.674, allocations: 0 / 0.5049 GB, free: 448 kB / 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)