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.001157/0.001157, allocations: 179.6 kB / 8.35 MB, free: 0.7227 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.652/1.652, allocations: 194.4 MB / 203.1 MB, free: 13.02 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.001704/0.001704, allocations: 112.7 kB / 248.1 MB, free: 36 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.174/0.174, allocations: 37.92 MB / 330.9 MB, free: 2.656 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.085e-05/2.094e-05, allocations: 0 / 390.5 MB, free: 7.004 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2882, allocations: 53.23 MB / 443.7 MB, free: 17.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1259/0.4141, allocations: 96.59 MB / 0.5276 GB, free: 1.035 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/0.4145, allocations: 91.94 kB / 0.5277 GB, free: 0.9453 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3278/0.7423, allocations: 32.27 MB / 0.5592 GB, free: 70.17 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.7424, allocations: 0 / 0.5592 GB, free: 70.17 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.746e-05/0.7424, allocations: 32 kB / 0.5592 GB, free: 70.14 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.002403/0.7448, allocations: 1.305 MB / 0.5605 GB, free: 68.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.7449, allocations: 8.031 kB / 0.5605 GB, free: 68.78 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001601/0.7465, allocations: 290.3 kB / 0.5608 GB, free: 68.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003754/0.7503, allocations: 1.761 MB / 0.5625 GB, free: 66.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.252e-05/0.7503, allocations: 39.94 kB / 0.5626 GB, free: 66.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001588/0.7505, allocations: 71.91 kB / 0.5626 GB, free: 66.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001615/0.7521, allocations: 1.125 MB / 0.5637 GB, free: 65.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001838/0.754, allocations: 1.604 MB / 0.5653 GB, free: 63.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.053e-05/0.754, allocations: 15.86 kB / 0.5653 GB, free: 63.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.341e-05/0.7541, allocations: 4 kB / 0.5653 GB, free: 63.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.045e-05/0.7542, allocations: 82.08 kB / 0.5654 GB, free: 63.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006377/0.7606, allocations: 7.73 MB / 0.5729 GB, free: 55.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008485/0.7615, allocations: 0.9057 MB / 0.5738 GB, free: 54.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005399/0.762, allocations: 0.5427 MB / 0.5744 GB, free: 54.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.52e-05/0.7621, allocations: 24.75 kB / 0.5744 GB, free: 54.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.7621, allocations: 39.34 kB / 0.5744 GB, free: 53.97 MB / 378.7 MB Notification: Performance of pre-optimization done (n=98): time 3.947e-06/0.7622, allocations: 4 kB / 0.5744 GB, free: 53.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=99): time 0.003317/0.7655, allocations: 2.404 MB / 0.5768 GB, free: 51.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.7655, allocations: 85.89 kB / 0.5769 GB, free: 51.4 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005424/0.7661, allocations: 0.5975 MB / 0.5774 GB, free: 50.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.985e-05/0.7661, allocations: 29.7 kB / 0.5775 GB, free: 50.76 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002452/0.7664, allocations: 0.638 MB / 0.5781 GB, free: 50.11 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/0.7666, allocations: 347 kB / 0.5784 GB, free: 49.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.013e-05/0.7666, allocations: 0 / 0.5784 GB, free: 49.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.7668, allocations: 418.7 kB / 0.5788 GB, free: 49.35 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005373/0.7673, allocations: 475.1 kB / 0.5793 GB, free: 48.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006751/0.768, allocations: 0.9422 MB / 0.5802 GB, free: 47.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008193/0.7688, allocations: 0.681 MB / 0.5809 GB, free: 47.05 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.7688, allocations: 8 kB / 0.5809 GB, free: 47.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.002463/0.7713, allocations: 1.698 MB / 0.5825 GB, free: 45.33 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.7713, allocations: 12 kB / 0.5825 GB, free: 45.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001549/0.7729, allocations: 1.109 MB / 0.5836 GB, free: 44.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007574/0.7737, allocations: 242.8 kB / 0.5838 GB, free: 43.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009463/0.7746, allocations: 307.4 kB / 0.5841 GB, free: 43.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002977/0.7776, allocations: 4.574 MB / 0.5886 GB, free: 38.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008579/0.7785, allocations: 43.94 kB / 0.5886 GB, free: 38.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.418e-05/0.7786, allocations: 63.95 kB / 0.5887 GB, free: 38.62 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.0001811/0.7788, allocations: 160.3 kB / 0.5889 GB, free: 38.46 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001307/0.7801, allocations: 0.9557 MB / 0.5898 GB, free: 37.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.7802, allocations: 98.77 kB / 0.5899 GB, free: 37.4 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001545/0.7817, allocations: 1.11 MB / 0.591 GB, free: 36.28 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.596e-05/0.7818, allocations: 16 kB / 0.591 GB, free: 36.26 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.7818, allocations: 7.953 kB / 0.591 GB, free: 36.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/0.7818, allocations: 3.984 kB / 0.591 GB, free: 36.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003424/0.7852, allocations: 2.2 MB / 0.5931 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.7853, allocations: 0 / 0.5931 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008825/0.7862, allocations: 211.9 kB / 0.5934 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.198e-05/0.7862, allocations: 8 kB / 0.5934 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.464e-05/0.7862, allocations: 11.92 kB / 0.5934 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/0.7863, allocations: 11.94 kB / 0.5934 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.7863, allocations: 0 / 0.5934 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001874/0.7881, allocations: 1.741 MB / 0.5951 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002647/0.7884, allocations: 163.9 kB / 0.5952 GB, free: 31.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.7886, allocations: 11.98 kB / 0.5952 GB, free: 31.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004722/0.789, allocations: 27.95 kB / 0.5953 GB, free: 31.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.564e-05/0.7891, allocations: 52.66 kB / 0.5953 GB, free: 31.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.098e-05/0.7892, allocations: 31.98 kB / 0.5954 GB, free: 31.62 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005279/0.7897, allocations: 447.1 kB / 0.5958 GB, free: 31.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7897, allocations: 4 kB / 0.5958 GB, free: 31.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001127/0.7909, allocations: 295.9 kB / 0.5961 GB, free: 30.89 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.002214/0.7931, allocations: 2.851 MB / 0.5989 GB, free: 27.96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001936/0.795, allocations: 1.504 MB / 0.6003 GB, free: 26.44 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.795, allocations: 4.062 kB / 0.6003 GB, free: 26.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005155/0.7956, allocations: 490.7 kB / 0.6008 GB, free: 25.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008013/0.7964, allocations: 143.9 kB / 0.6009 GB, free: 25.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003907/0.8003, allocations: 2.64 MB / 0.6035 GB, free: 23.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006269/0.8009, allocations: 1.276 MB / 0.6048 GB, free: 21.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009618/0.8019, allocations: 412.2 kB / 0.6051 GB, free: 21.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004836/0.8024, allocations: 459.3 kB / 0.6056 GB, free: 20.95 MB / 378.7 MB Notification: Performance of SimCode: time 9.21e-07/0.8024, allocations: 0 / 0.6056 GB, free: 20.95 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.042/0.8444, allocations: 20.11 MB / 0.6252 GB, free: 0.8203 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001707/0.8447, allocations: 144.8 kB / 0.6254 GB, free: 0.6289 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.732/3.577, allocations: 0 / 0.6254 GB, free: 0.6289 MB / 378.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)