Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Transmission_VoltageStability",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,fileNamePrefix="PowerSystems_cpp_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.3+maint.om/package.mo): time 0.001412/0.001412, allocations: 185.7 kB / 8.01 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.094/2.094, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001125/0.001124, allocations: 86.36 kB / 261.8 MB, free: 1.684 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.3038/0.3038, allocations: 37.98 MB / 347.7 MB, free: 5.781 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.547e-05/2.563e-05, allocations: 0 / 409.9 MB, free: 35.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1103, allocations: 56.32 MB / 466.3 MB, free: 10.75 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5063/0.6167, allocations: 101.7 MB / 0.5547 GB, free: 8.777 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/0.617, allocations: 90.75 kB / 0.5547 GB, free: 8.762 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1449/0.7619, allocations: 32.29 MB / 0.5863 GB, free: 14.09 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.762, allocations: 0 / 0.5863 GB, free: 14.09 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.16e-05/0.7621, allocations: 24 kB / 0.5863 GB, free: 14.07 MB / 394.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.004644/0.7668, allocations: 1.32 MB / 0.5876 GB, free: 12.79 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.741e-05/0.7668, allocations: 12.03 kB / 0.5876 GB, free: 12.77 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003077/0.77, allocations: 278 kB / 0.5879 GB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007286/0.7773, allocations: 1.763 MB / 0.5896 GB, free: 11.02 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.562e-05/0.7774, allocations: 43.38 kB / 0.5896 GB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003351/0.7778, allocations: 75.89 kB / 0.5897 GB, free: 10.91 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003318/0.7811, allocations: 1.119 MB / 0.5908 GB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004015/0.7852, allocations: 1.603 MB / 0.5924 GB, free: 8.723 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.695e-05/0.7853, allocations: 7.938 kB / 0.5924 GB, free: 8.715 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001488/0.7854, allocations: 8 kB / 0.5924 GB, free: 8.707 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001857/0.7856, allocations: 77.33 kB / 0.5924 GB, free: 8.633 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01534/0.801, allocations: 7.743 MB / 0.6 GB, free: 1.508 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001998/0.803, allocations: 0.9068 MB / 0.6009 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001283/0.8044, allocations: 0.5345 MB / 0.6014 GB, free: 404 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000109/0.8045, allocations: 16.2 kB / 0.6014 GB, free: 392 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.72e-05/0.8046, allocations: 42.78 kB / 0.6015 GB, free: 344 kB / 394.7 MB Notification: Performance of pre-optimization done (n=98): time 5.22e-06/0.8046, allocations: 0 / 0.6015 GB, free: 344 kB / 394.7 MB Notification: Performance of matching and sorting (n=99): time 0.007294/0.8119, allocations: 2.405 MB / 0.6038 GB, free: 14.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.104e-05/0.812, allocations: 85.89 kB / 0.6039 GB, free: 14.24 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001235/0.8133, allocations: 0.6019 MB / 0.6045 GB, free: 13.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002409/0.8135, allocations: 25.7 kB / 0.6045 GB, free: 13.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006518/0.8142, allocations: 0.6622 MB / 0.6052 GB, free: 13.19 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006047/0.8148, allocations: 343.2 kB / 0.6055 GB, free: 12.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.267e-05/0.815, allocations: 0 / 0.6055 GB, free: 12.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002221/0.8152, allocations: 373.9 kB / 0.6058 GB, free: 12.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001272/0.8165, allocations: 475.2 kB / 0.6063 GB, free: 12.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001756/0.8183, allocations: 0.9456 MB / 0.6072 GB, free: 11.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002216/0.8205, allocations: 0.6847 MB / 0.6079 GB, free: 10.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.811e-05/0.8206, allocations: 8 kB / 0.6079 GB, free: 10.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.005922/0.8266, allocations: 1.656 MB / 0.6095 GB, free: 8.656 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.265e-05/0.8266, allocations: 15.95 kB / 0.6095 GB, free: 8.641 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004125/0.8308, allocations: 1.105 MB / 0.6106 GB, free: 7.523 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00156/0.8324, allocations: 242.6 kB / 0.6108 GB, free: 7.277 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002284/0.8348, allocations: 303.5 kB / 0.6111 GB, free: 6.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007002/0.8418, allocations: 4.588 MB / 0.6156 GB, free: 2.047 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/0.8434, allocations: 43.86 kB / 0.6157 GB, free: 2.004 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002498/0.8437, allocations: 67.92 kB / 0.6157 GB, free: 1.938 MB / 410.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.0003755/0.8441, allocations: 160.4 kB / 0.6159 GB, free: 1.773 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002883/0.847, allocations: 0.9558 MB / 0.6168 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002938/0.8474, allocations: 94.78 kB / 0.6169 GB, free: 0.7148 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00331/0.8507, allocations: 1.106 MB / 0.618 GB, free: 15.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.694e-05/0.8508, allocations: 19.98 kB / 0.618 GB, free: 15.58 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.8508, allocations: 4 kB / 0.618 GB, free: 15.58 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.537e-05/0.8508, allocations: 3.984 kB / 0.618 GB, free: 15.57 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007557/0.8584, allocations: 2.215 MB / 0.6202 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/0.8585, allocations: 0 / 0.6202 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002035/0.8605, allocations: 203.7 kB / 0.6204 GB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.851e-05/0.8606, allocations: 12.19 kB / 0.6204 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.527e-05/0.8607, allocations: 11.98 kB / 0.6204 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.285e-05/0.8607, allocations: 8 kB / 0.6204 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.208e-06/0.8607, allocations: 3.984 kB / 0.6204 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004147/0.8649, allocations: 1.737 MB / 0.6221 GB, free: 11.24 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004404/0.8654, allocations: 163.9 kB / 0.6222 GB, free: 11.06 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002134/0.8656, allocations: 8 kB / 0.6223 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009239/0.8666, allocations: 31.94 kB / 0.6223 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/0.8667, allocations: 56.73 kB / 0.6223 GB, free: 10.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.146e-05/0.8668, allocations: 24 kB / 0.6224 GB, free: 10.95 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009038/0.8678, allocations: 451 kB / 0.6228 GB, free: 10.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.8678, allocations: 4 kB / 0.6228 GB, free: 10.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001911/0.8697, allocations: 295.9 kB / 0.6231 GB, free: 10.21 MB / 426.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.005165/0.8749, allocations: 2.842 MB / 0.6259 GB, free: 7.293 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003976/0.879, allocations: 1.496 MB / 0.6273 GB, free: 5.773 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/0.879, allocations: 4.312 kB / 0.6273 GB, free: 5.77 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001254/0.8803, allocations: 490.7 kB / 0.6278 GB, free: 5.289 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001347/0.8817, allocations: 147.9 kB / 0.6279 GB, free: 5.145 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008354/0.8901, allocations: 2.755 MB / 0.6306 GB, free: 2.32 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00155/0.8917, allocations: 1.276 MB / 0.6319 GB, free: 1.016 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001292/0.893, allocations: 471.3 kB / 0.6323 GB, free: 0.5547 MB / 426.7 MB Notification: Performance of SimCode: time 2.364e-06/0.893, allocations: 0 / 0.6323 GB, free: 0.5547 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.238/4.131, allocations: 26.17 MB / 0.6579 GB, free: 6.316 MB / 458.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_AC3ph_Transmission_VoltageStability_fmu --startTime=0 --stopTime=180 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_AC3ph_Transmission_VoltageStability.fmu > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe 2>&1)