Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_VoltageStability",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_VoltageStability",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001346/0.001346, allocations: 182.7 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.755/1.755, allocations: 194.3 MB / 208.4 MB, free: 6.707 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001727/0.001727, allocations: 122.3 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1763/0.1763, allocations: 37.91 MB / 336.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 6.996e-05/7.011e-05, allocations: 4 kB / 397.6 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.36, allocations: 53.22 MB / 450.9 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5275/0.8876, allocations: 97.25 MB / 0.5353 GB, free: 88.52 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003645/0.8881, allocations: 91.08 kB / 0.5354 GB, free: 88.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08777/0.9759, allocations: 32.55 MB / 0.5671 GB, free: 61.28 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.9759, allocations: 0 / 0.5671 GB, free: 61.28 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000107/0.976, allocations: 28 kB / 0.5672 GB, free: 61.25 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.004436/0.9805, allocations: 1.309 MB / 0.5684 GB, free: 59.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.344e-05/0.9806, allocations: 8.031 kB / 0.5685 GB, free: 59.89 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007826/0.9814, allocations: 198.2 kB / 0.5686 GB, free: 59.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002509/0.9839, allocations: 286.3 kB / 0.5689 GB, free: 59.4 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006047/0.99, allocations: 1.768 MB / 0.5706 GB, free: 57.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/0.9901, allocations: 94.31 kB / 0.5707 GB, free: 57.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006874/0.9908, allocations: 115.9 kB / 0.5708 GB, free: 57.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004432/0.9953, allocations: 1.776 MB / 0.5726 GB, free: 55.42 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-05/0.9954, allocations: 7.938 kB / 0.5726 GB, free: 55.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001936/0.9956, allocations: 52 kB / 0.5726 GB, free: 55.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001508/0.9957, allocations: 82.08 kB / 0.5727 GB, free: 55.28 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002664/0.9984, allocations: 1.351 MB / 0.574 GB, free: 53.92 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01146/1.01, allocations: 7.964 MB / 0.5818 GB, free: 45.67 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/1.011, allocations: 0.9373 MB / 0.5827 GB, free: 44.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008125/1.012, allocations: 0.5623 MB / 0.5833 GB, free: 44.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.446e-05/1.012, allocations: 20.77 kB / 0.5833 GB, free: 44.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.838e-05/1.012, allocations: 39.34 kB / 0.5833 GB, free: 44.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=98): time 6.251e-06/1.013, allocations: 0 / 0.5833 GB, free: 44.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=99): time 0.004942/1.017, allocations: 2.478 MB / 0.5858 GB, free: 41.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.569e-05/1.018, allocations: 89.92 kB / 0.5858 GB, free: 41.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/1.019, allocations: 0.6758 MB / 0.5865 GB, free: 40.69 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.289e-05/1.019, allocations: 45.64 kB / 0.5865 GB, free: 40.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004549/1.019, allocations: 0.6342 MB / 0.5872 GB, free: 40 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003508/1.02, allocations: 362.9 kB / 0.5875 GB, free: 39.64 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.912e-05/1.02, allocations: 24 kB / 0.5875 GB, free: 39.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002393/1.02, allocations: 414.7 kB / 0.5879 GB, free: 39.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007429/1.021, allocations: 0.4913 MB / 0.5884 GB, free: 38.71 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009201/1.022, allocations: 0.9791 MB / 0.5894 GB, free: 37.51 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000917/1.023, allocations: 0.6877 MB / 0.59 GB, free: 36.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.474e-05/1.023, allocations: 8 kB / 0.59 GB, free: 36.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.00307/1.026, allocations: 1.813 MB / 0.5918 GB, free: 34.99 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.343e-05/1.026, allocations: 16.25 kB / 0.5918 GB, free: 34.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001745/1.028, allocations: 1.145 MB / 0.5929 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009229/1.028, allocations: 250.3 kB / 0.5932 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/1.03, allocations: 307.4 kB / 0.5935 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004382/1.034, allocations: 4.771 MB / 0.5981 GB, free: 28.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/1.035, allocations: 71.89 kB / 0.5982 GB, free: 28.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/1.035, allocations: 67.97 kB / 0.5983 GB, free: 27.95 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (160): * Single equations (assignments): 153 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000261/1.036, allocations: 185.5 kB / 0.5984 GB, free: 27.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002685/1.036, allocations: 94.84 kB / 0.5985 GB, free: 27.67 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002062/1.038, allocations: 1.159 MB / 0.5997 GB, free: 26.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-05/1.038, allocations: 23.98 kB / 0.5997 GB, free: 26.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/1.038, allocations: 0 / 0.5997 GB, free: 26.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.976e-06/1.038, allocations: 4.172 kB / 0.5997 GB, free: 26.47 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004469/1.042, allocations: 2.414 MB / 0.6021 GB, free: 23.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/1.042, allocations: 4 kB / 0.6021 GB, free: 23.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009261/1.043, allocations: 203.7 kB / 0.6022 GB, free: 23.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-05/1.043, allocations: 4 kB / 0.6023 GB, free: 23.78 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.753e-05/1.044, allocations: 27.98 kB / 0.6023 GB, free: 23.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.185e-06/1.044, allocations: 4 kB / 0.6023 GB, free: 23.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/1.044, allocations: 7.891 kB / 0.6023 GB, free: 23.74 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002137/1.046, allocations: 1.778 MB / 0.604 GB, free: 21.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003149/1.046, allocations: 175.8 kB / 0.6042 GB, free: 21.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002061/1.046, allocations: 20 kB / 0.6042 GB, free: 21.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005879/1.047, allocations: 43.89 kB / 0.6043 GB, free: 21.62 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.556e-05/1.047, allocations: 56.72 kB / 0.6043 GB, free: 21.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.893e-05/1.047, allocations: 23.98 kB / 0.6043 GB, free: 21.54 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006035/1.048, allocations: 0.503 MB / 0.6048 GB, free: 21.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/1.048, allocations: 0 / 0.6048 GB, free: 21.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001371/1.049, allocations: 351.9 kB / 0.6052 GB, free: 20.7 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (line0.i[1],line0.i[2],line0.i[3],line1.i[1],line1.i[2],line1.i[3],line2.i[1],line2.i[2],line2.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 85 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002597/1.052, allocations: 2.918 MB / 0.608 GB, free: 17.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002458/1.054, allocations: 1.594 MB / 0.6096 GB, free: 16.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/1.054, allocations: 0 / 0.6096 GB, free: 16.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000598/1.055, allocations: 0.4924 MB / 0.61 GB, free: 15.58 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009915/1.056, allocations: 164.4 kB / 0.6102 GB, free: 15.42 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005175/1.061, allocations: 2.737 MB / 0.6129 GB, free: 12.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008057/1.062, allocations: 1.276 MB / 0.6141 GB, free: 11.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001053/1.063, allocations: 404.5 kB / 0.6145 GB, free: 10.92 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005957/1.063, allocations: 471.3 kB / 0.615 GB, free: 10.46 MB / 378.7 MB Notification: Performance of SimCode: time 1.283e-06/1.063, allocations: 0 / 0.615 GB, free: 10.46 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04893/1.112, allocations: 21.97 MB / 0.6364 GB, free: 4.465 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001929/1.113, allocations: 177 kB / 0.6366 GB, free: 4.242 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.847/3.96, allocations: 0 / 0.6366 GB, free: 4.242 MB / 394.7 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Transmission_VoltageStability_fmu --startTime=0 --stopTime=180 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Transmission_VoltageStability.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe 2>&1)