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.002377/0.002377, allocations: 182.3 kB / 15.76 MB, free: 6.34 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.114/2.114, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001188/0.001187, allocations: 94.83 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2608/0.2608, allocations: 38.05 MB / 356.6 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004724/0.0004726, allocations: 16 kB / 422.8 MB, free: 26.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1281, allocations: 56.33 MB / 479.1 MB, free: 1.945 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5407/0.6688, allocations: 102.5 MB / 0.568 GB, free: 13.36 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003475/0.6692, allocations: 90.83 kB / 0.568 GB, free: 13.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1482/0.8174, allocations: 32.59 MB / 0.5999 GB, free: 1.215 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.757e-06/0.8175, allocations: 0 / 0.5999 GB, free: 1.215 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.661e-05/0.8176, allocations: 24 kB / 0.5999 GB, free: 1.191 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.006178/0.8238, allocations: 1.458 MB / 0.6013 GB, free: 15.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.646e-05/0.8239, allocations: 11.97 kB / 0.6013 GB, free: 15.76 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008988/0.8248, allocations: 194.8 kB / 0.6015 GB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003158/0.828, allocations: 274 kB / 0.6018 GB, free: 15.37 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007481/0.8355, allocations: 1.79 MB / 0.6035 GB, free: 13.85 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/0.8357, allocations: 90.52 kB / 0.6036 GB, free: 13.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004591/0.8362, allocations: 117.9 kB / 0.6037 GB, free: 13.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00489/0.8411, allocations: 1.791 MB / 0.6055 GB, free: 12.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.463e-05/0.8412, allocations: 11.84 kB / 0.6055 GB, free: 12.19 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001823/0.8414, allocations: 50.73 kB / 0.6055 GB, free: 12.17 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001973/0.8417, allocations: 82.02 kB / 0.6056 GB, free: 12.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004403/0.8461, allocations: 1.39 MB / 0.607 GB, free: 11.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01648/0.8626, allocations: 7.947 MB / 0.6147 GB, free: 3.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002169/0.8649, allocations: 0.9503 MB / 0.6157 GB, free: 3.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001315/0.865, allocations: 19.98 kB / 0.6157 GB, free: 3.004 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.403e-05/0.8651, allocations: 46.44 kB / 0.6157 GB, free: 2.957 MB / 410.7 MB Notification: Performance of pre-optimization done (n=98): time 4.729e-06/0.8651, allocations: 0 / 0.6157 GB, free: 2.957 MB / 410.7 MB Notification: Performance of matching and sorting (n=99): time 0.008668/0.8738, allocations: 3.223 MB / 0.6189 GB, free: 328 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.566e-05/0.8739, allocations: 86.11 kB / 0.619 GB, free: 224 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001433/0.8754, allocations: 0.6788 MB / 0.6196 GB, free: 15.54 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002473/0.8757, allocations: 45.61 kB / 0.6197 GB, free: 15.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006068/0.8763, allocations: 0.6638 MB / 0.6203 GB, free: 14.82 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005804/0.8769, allocations: 351 kB / 0.6206 GB, free: 14.48 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.877, allocations: 24.12 kB / 0.6207 GB, free: 14.45 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001976/0.8772, allocations: 378.7 kB / 0.621 GB, free: 14.07 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001466/0.8787, allocations: 0.5029 MB / 0.6215 GB, free: 13.57 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001914/0.8807, allocations: 0.9827 MB / 0.6225 GB, free: 12.37 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001991/0.8827, allocations: 0.6899 MB / 0.6231 GB, free: 11.68 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-05/0.8828, allocations: 4 kB / 0.6232 GB, free: 11.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.005864/0.8886, allocations: 1.811 MB / 0.6249 GB, free: 9.848 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.953e-05/0.8887, allocations: 12 kB / 0.6249 GB, free: 9.836 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003842/0.8926, allocations: 1.16 MB / 0.6261 GB, free: 8.668 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001588/0.8942, allocations: 246.6 kB / 0.6263 GB, free: 8.418 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002358/0.8966, allocations: 307.4 kB / 0.6266 GB, free: 8.117 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007401/0.9041, allocations: 4.853 MB / 0.6313 GB, free: 2.863 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001711/0.9058, allocations: 63.95 kB / 0.6314 GB, free: 2.801 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002077/0.9061, allocations: 63.98 kB / 0.6315 GB, free: 2.738 MB / 426.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 () * Number of clocked 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.001123/0.9072, allocations: 433.2 kB / 0.6319 GB, free: 2.305 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003044/0.9076, allocations: 94.78 kB / 0.632 GB, free: 2.211 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003322/0.9109, allocations: 1.16 MB / 0.6331 GB, free: 1.043 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-05/0.911, allocations: 23.98 kB / 0.6331 GB, free: 1.02 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.911, allocations: 0 / 0.6331 GB, free: 1.02 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.722e-05/0.9111, allocations: 8.266 kB / 0.6331 GB, free: 1.012 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007764/0.9188, allocations: 2.43 MB / 0.6355 GB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.399e-05/0.9189, allocations: 4 kB / 0.6355 GB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002041/0.921, allocations: 203.7 kB / 0.6357 GB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.499e-05/0.921, allocations: 4.188 kB / 0.6357 GB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001552/0.9212, allocations: 39.89 kB / 0.6357 GB, free: 14.26 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.321e-05/0.9212, allocations: 8 kB / 0.6357 GB, free: 14.25 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.9212, allocations: 0 / 0.6357 GB, free: 14.25 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004377/0.9256, allocations: 1.805 MB / 0.6375 GB, free: 12.36 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004373/0.9261, allocations: 167.9 kB / 0.6377 GB, free: 12.18 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002306/0.9264, allocations: 20 kB / 0.6377 GB, free: 12.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009195/0.9273, allocations: 51.94 kB / 0.6377 GB, free: 12.11 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001742/0.9275, allocations: 56.88 kB / 0.6378 GB, free: 12.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-05/0.9276, allocations: 24 kB / 0.6378 GB, free: 12.03 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001078/0.9287, allocations: 0.5107 MB / 0.6383 GB, free: 11.52 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.9287, allocations: 0 / 0.6383 GB, free: 11.52 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001934/0.9306, allocations: 343.9 kB / 0.6386 GB, free: 11.18 MB / 442.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 () * Number of clocked 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.005128/0.9358, allocations: 2.922 MB / 0.6415 GB, free: 8.184 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004263/0.9401, allocations: 1.624 MB / 0.6431 GB, free: 6.523 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.9402, allocations: 0 / 0.6431 GB, free: 6.523 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001375/0.9416, allocations: 0.5028 MB / 0.6436 GB, free: 6.023 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001404/0.943, allocations: 164.2 kB / 0.6437 GB, free: 5.859 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02473/0.9677, allocations: 18.86 MB / 0.6621 GB, free: 2.441 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001364/0.9692, allocations: 1.28 MB / 0.6634 GB, free: 1.133 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001286/0.9705, allocations: 475.3 kB / 0.6639 GB, free: 0.668 MB / 458.7 MB Notification: Performance of SimCode: time 1.202e-06/0.9705, allocations: 4 kB / 0.6639 GB, free: 0.6641 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.398/4.368, allocations: 26.33 MB / 0.6896 GB, free: 6.266 MB / 490.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)