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.005538/0.005538, allocations: 91.56 kB / 15.91 MB, free: 6.305 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.001304/0.001304, allocations: 196.2 kB / 16.83 MB, free: 6.238 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.224/1.224, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.122/0.122, allocations: 8.092 MB / 298.7 MB, free: 2.055 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 59.91 kB / 361.2 MB, free: 13.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07961/0.08076, allocations: 51.51 MB / 412.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.Network): time 0.004293/0.08509, allocations: 3.861 MB / 416.5 MB, free: 6.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002686/0.08779, allocations: 1.941 MB / 418.5 MB, free: 4.223 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003831/0.0882, allocations: 12 kB / 418.5 MB, free: 4.211 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005189/0.08874, allocations: 195 kB / 418.7 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007974/0.08955, allocations: 346.1 kB / 419 MB, free: 3.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002183/0.09174, allocations: 1.276 MB / 420.3 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008194/0.09257, allocations: 0.7541 MB / 421 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003148/0.09289, allocations: 222.3 kB / 421.3 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003275/0.09323, allocations: 314.7 kB / 421.6 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004478/0.09368, allocations: 410.2 kB / 422 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001043/0.09379, allocations: 44 kB / 422 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004876/0.09429, allocations: 279.8 kB / 422.3 MB, free: 408 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.09442, allocations: 143.3 kB / 422.4 MB, free: 264 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003131/0.09474, allocations: 362.1 kB / 422.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008235/0.09557, allocations: 0.915 MB / 423.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.09558, allocations: 0 / 423.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.09559, allocations: 0 / 423.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.0956, allocations: 3.938 kB / 423.7 MB, free: 14.98 MB / 366.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.007612/0.1032, allocations: 2.136 MB / 425.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.1033, allocations: 12.03 kB / 425.8 MB, free: 12.78 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001204/0.1034, allocations: 90.7 kB / 425.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001544/0.1035, allocations: 84.09 kB / 426 MB, free: 12.6 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005551/0.1041, allocations: 481.8 kB / 426.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.274e-05/0.1042, allocations: 49.36 kB / 426.5 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.471e-05/0.1043, allocations: 60.38 kB / 426.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/0.1055, allocations: 0.8314 MB / 427.4 MB, free: 11.13 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.1055, allocations: 3.938 kB / 427.4 MB, free: 11.13 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.828e-05/0.1056, allocations: 24 kB / 427.4 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/0.1056, allocations: 12 kB / 427.5 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.1067, allocations: 0.7848 MB / 428.2 MB, free: 10.31 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003892/0.1106, allocations: 3.331 MB / 431.6 MB, free: 6.668 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/0.1121, allocations: 1.368 MB / 432.9 MB, free: 5.219 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007485/0.1129, allocations: 0.5882 MB / 433.5 MB, free: 4.633 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.463e-05/0.113, allocations: 20.97 kB / 433.5 MB, free: 4.613 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.1131, allocations: 51.56 kB / 433.6 MB, free: 4.551 MB / 366.1 MB Notification: Performance of pre-optimization done (n=89): time 1.904e-06/0.1131, allocations: 0 / 433.6 MB, free: 4.551 MB / 366.1 MB Notification: Performance of matching and sorting (n=89): time 0.01407/0.1271, allocations: 3.965 MB / 437.6 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.561e-05/0.1272, allocations: 115.8 kB / 437.7 MB, free: 432 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1364/0.2636, allocations: 432.4 kB / 438.1 MB, free: 56.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002607/0.2639, allocations: 49.98 kB / 438.1 MB, free: 56.49 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002363/0.2642, allocations: 230.4 kB / 438.4 MB, free: 56.4 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003199/0.2645, allocations: 305.3 kB / 438.7 MB, free: 56.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003938/0.2649, allocations: 179.5 kB / 438.8 MB, free: 56.28 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.725e-05/0.265, allocations: 370.4 kB / 439.2 MB, free: 55.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008867/0.2659, allocations: 0.5383 MB / 439.7 MB, free: 55.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008184/0.2668, allocations: 0.6174 MB / 440.4 MB, free: 55.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001533/0.2683, allocations: 1.21 MB / 441.6 MB, free: 55.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.2683, allocations: 0.6562 kB / 441.6 MB, free: 55.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.005887/0.2742, allocations: 2.382 MB / 444 MB, free: 55.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.2743, allocations: 5.75 kB / 444 MB, free: 55.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.2743, allocations: 0 / 444 MB, free: 55.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006154/0.2804, allocations: 1.769 MB / 445.7 MB, free: 54.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005689/0.281, allocations: 147.6 kB / 445.9 MB, free: 54.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01091/0.292, allocations: 6.716 MB / 452.6 MB, free: 50.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006777/0.2927, allocations: 87.94 kB / 452.7 MB, free: 50.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.821e-05/0.2927, allocations: 35.8 kB / 452.7 MB, free: 50.79 MB / 366.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.0002735/0.293, allocations: 201.7 kB / 452.9 MB, free: 50.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/0.2932, allocations: 68.66 kB / 453 MB, free: 50.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00576/0.2989, allocations: 2.33 MB / 455.3 MB, free: 49.69 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.375e-06/0.299, allocations: 16.03 kB / 455.3 MB, free: 49.69 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.299, allocations: 7.938 kB / 455.3 MB, free: 49.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.299, allocations: 3.328 kB / 455.3 MB, free: 49.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006134/0.3051, allocations: 3.316 MB / 458.6 MB, free: 48.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.3051, allocations: 1.531 kB / 458.6 MB, free: 48.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003248/0.3055, allocations: 117.9 kB / 458.8 MB, free: 48.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005834/0.3113, allocations: 1.498 MB / 460.3 MB, free: 47.97 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.645e-05/0.3114, allocations: 22.16 kB / 460.3 MB, free: 47.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01024/0.3216, allocations: 6.605 MB / 466.9 MB, free: 43.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.3217, allocations: 0 / 466.9 MB, free: 43.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005319/0.327, allocations: 2.273 MB / 469.2 MB, free: 43.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.3271, allocations: 156.9 kB / 469.3 MB, free: 42.9 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.3273, allocations: 25.38 kB / 469.3 MB, free: 42.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006127/0.3279, allocations: 50.64 kB / 469.4 MB, free: 42.87 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002447/0.3282, allocations: 77.17 kB / 469.5 MB, free: 42.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-05/0.3282, allocations: 30.08 kB / 469.5 MB, free: 42.85 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000299/0.3285, allocations: 294 kB / 469.8 MB, free: 42.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.72e-07/0.3285, allocations: 4 kB / 469.8 MB, free: 42.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008927/0.3294, allocations: 341.6 kB / 470.1 MB, free: 42.66 MB / 366.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.005498/0.3349, allocations: 2.854 MB / 473 MB, free: 41.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003976/0.3389, allocations: 1.934 MB / 474.9 MB, free: 40.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.339, allocations: 1.906 kB / 474.9 MB, free: 40.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002896/0.3419, allocations: 1.27 MB / 476.2 MB, free: 39.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000541/0.3424, allocations: 85.86 kB / 476.3 MB, free: 39.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01668/0.3591, allocations: 9.414 MB / 485.7 MB, free: 34.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.3595, allocations: 0.9232 MB / 486.6 MB, free: 34.24 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003301/0.3598, allocations: 93.64 kB / 486.7 MB, free: 34.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002808/0.3601, allocations: 241.7 kB / 486.9 MB, free: 34.04 MB / 366.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3601, allocations: 0 / 486.9 MB, free: 34.04 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1921/0.5522, allocations: 26.83 MB / 0.5017 GB, free: 17.67 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001922/0.5524, allocations: 224.3 kB / 0.5019 GB, free: 17.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.072/2.624, allocations: 0 / 0.5019 GB, free: 17.41 MB / 366.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)