Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.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/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(PowerSystems.Examples.Generic.Network.NetworkOpened,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkOpened",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkOpened,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkOpened",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.001117/0.001117, allocations: 104.8 kB / 16.92 MB, free: 6.145 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.001101/0.001101, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.17/1.17, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.158/0.158, allocations: 38.03 MB / 329.7 MB, free: 8.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 74.16 kB / 398.9 MB, free: 33.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08232/0.08366, allocations: 58.06 MB / 457 MB, free: 7.953 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.007036/0.09073, allocations: 7.678 MB / 464.6 MB, free: 248 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005081/0.09583, allocations: 4.736 MB / 469.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002111/0.09606, allocations: 15.94 kB / 469.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002151/0.09824, allocations: 1.082 MB / 470.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001897/0.1001, allocations: 1.253 MB / 471.7 MB, free: 9.129 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006766/0.1008, allocations: 374.9 kB / 472.1 MB, free: 8.762 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001092/0.1019, allocations: 1.461 MB / 473.6 MB, free: 7.297 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006915/0.1026, allocations: 0.6733 MB / 474.2 MB, free: 6.621 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005692/0.1032, allocations: 0.638 MB / 474.9 MB, free: 5.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006514/0.1039, allocations: 0.7008 MB / 475.6 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.4e-05/0.104, allocations: 72 kB / 475.6 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001737/0.1057, allocations: 1.434 MB / 477.1 MB, free: 3.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003496/0.1061, allocations: 486.9 kB / 477.5 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003712/0.1064, allocations: 457.9 kB / 478 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001405/0.1079, allocations: 1.531 MB / 479.5 MB, free: 1.309 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1079, allocations: 0 / 479.5 MB, free: 1.309 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1079, allocations: 0 / 479.5 MB, free: 1.309 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.294e-05/0.1079, allocations: 0 / 479.5 MB, free: 1.309 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001358/0.1093, allocations: 1.167 MB / 480.7 MB, free: 96 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.1093, allocations: 15.89 kB / 480.7 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001514/0.1095, allocations: 135.4 kB / 480.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002954/0.1124, allocations: 407.4 kB / 481.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000563/0.113, allocations: 495.2 kB / 481.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.722e-05/0.113, allocations: 58.36 kB / 481.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.1132, allocations: 80.3 kB / 481.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001522/0.1147, allocations: 1.227 MB / 483.1 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/0.1147, allocations: 4 kB / 483.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.399e-05/0.1148, allocations: 31.98 kB / 483.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.313e-05/0.1149, allocations: 77.89 kB / 483.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001667/0.1166, allocations: 1.315 MB / 484.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00462/0.1212, allocations: 3.704 MB / 488.2 MB, free: 8.383 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001559/0.1228, allocations: 1.093 MB / 489.3 MB, free: 7.273 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007424/0.1235, allocations: 0.6353 MB / 489.9 MB, free: 6.633 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.522e-05/0.1236, allocations: 25.12 kB / 490 MB, free: 6.605 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.1236, allocations: 43.5 kB / 490 MB, free: 6.555 MB / 366.1 MB Notification: Performance of pre-optimization done (n=92): time 3.797e-06/0.1236, allocations: 0 / 490 MB, free: 6.555 MB / 366.1 MB Notification: Performance of matching and sorting (n=93): time 0.005946/0.1296, allocations: 3.141 MB / 493.2 MB, free: 3.387 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.1296, allocations: 86.11 kB / 493.2 MB, free: 3.285 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003337/0.13, allocations: 385.5 kB / 493.6 MB, free: 2.902 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.885e-05/0.13, allocations: 41.7 kB / 493.7 MB, free: 2.855 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.1302, allocations: 332 kB / 494 MB, free: 2.523 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002178/0.1304, allocations: 319.3 kB / 494.3 MB, free: 2.207 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000212/0.1306, allocations: 154.6 kB / 494.4 MB, free: 2.051 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.1308, allocations: 370.8 kB / 494.8 MB, free: 1.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006097/0.1314, allocations: 465.7 kB / 495.3 MB, free: 1.223 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006786/0.1321, allocations: 0.5743 MB / 495.8 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/0.1335, allocations: 1.114 MB / 496.9 MB, free: 15.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.1335, allocations: 0 / 496.9 MB, free: 15.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002162/0.1356, allocations: 1.493 MB / 498.4 MB, free: 13.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.1357, allocations: 4 kB / 498.4 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.1357, allocations: 4 kB / 498.4 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008414/0.1365, allocations: 334.5 kB / 498.8 MB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006155/0.1371, allocations: 191.7 kB / 499 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004803/0.142, allocations: 4.168 MB / 0.4913 GB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004414/0.1424, allocations: 47.94 kB / 0.4914 GB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.676e-05/0.1425, allocations: 39.92 kB / 0.4914 GB, free: 9.027 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * 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): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003415/0.1428, allocations: 301.6 kB / 0.4917 GB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.143, allocations: 59.33 kB / 0.4918 GB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002351/0.1453, allocations: 1.551 MB / 0.4933 GB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.1453, allocations: 12 kB / 0.4933 GB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.1454, allocations: 4 kB / 0.4933 GB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.1454, allocations: 7.984 kB / 0.4933 GB, free: 7.074 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004277/0.1497, allocations: 3.013 MB / 0.4962 GB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/0.1497, allocations: 4 kB / 0.4962 GB, free: 3.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000563/0.1502, allocations: 167.7 kB / 0.4964 GB, free: 3.766 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007226/0.151, allocations: 285.9 kB / 0.4967 GB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.21e-05/0.151, allocations: 31.98 kB / 0.4967 GB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1513/0.3023, allocations: 3.884 MB / 0.5005 GB, free: 54.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.251e-06/0.3023, allocations: 9.188 kB / 0.5005 GB, free: 54.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00226/0.3046, allocations: 1.581 MB / 0.5021 GB, free: 54.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.3047, allocations: 145.4 kB / 0.5022 GB, free: 54.47 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.457e-05/0.3048, allocations: 24.12 kB / 0.5022 GB, free: 54.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004105/0.3053, allocations: 44.66 kB / 0.5023 GB, free: 54.47 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.3054, allocations: 81.31 kB / 0.5023 GB, free: 54.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.406e-05/0.3055, allocations: 35.88 kB / 0.5024 GB, free: 54.47 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002513/0.3057, allocations: 266.7 kB / 0.5026 GB, free: 54.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3057, allocations: 3.625 kB / 0.5026 GB, free: 54.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008448/0.3066, allocations: 312.6 kB / 0.5029 GB, free: 54.39 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 1 system {(2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002178/0.3088, allocations: 2.135 MB / 0.505 GB, free: 53.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002439/0.3112, allocations: 1.666 MB / 0.5066 GB, free: 52.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.3112, allocations: 1.469 kB / 0.5066 GB, free: 52.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001049/0.3123, allocations: 0.8359 MB / 0.5075 GB, free: 52.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006242/0.3129, allocations: 104.4 kB / 0.5076 GB, free: 52.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009146/0.3221, allocations: 7.715 MB / 0.5151 GB, free: 48.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005601/0.3227, allocations: 1.084 MB / 0.5161 GB, free: 47.78 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004321/0.3231, allocations: 183.9 kB / 0.5163 GB, free: 47.76 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003194/0.3234, allocations: 269.9 kB / 0.5166 GB, free: 47.57 MB / 382.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3234, allocations: 0 / 0.5166 GB, free: 47.57 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.134/1.457, allocations: 16.37 MB / 0.5326 GB, free: 37.7 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.06/15.51, allocations: 16.38 kB / 0.5326 GB, free: 37.69 MB / 382.1 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Network_NetworkOpened_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkOpened.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1)