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.00153/0.001535, allocations: 185.1 kB / 13.19 MB, free: 2.125 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.029/2.029, allocations: 205.2 MB / 218.9 MB, free: 9.199 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.001121/0.001121, allocations: 85.61 kB / 267.1 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.3384/0.3384, allocations: 37.96 MB / 353.1 MB, free: 3.062 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.825e-05/3.858e-05, allocations: 7.984 kB / 416.9 MB, free: 41.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1087, allocations: 56.3 MB / 473.2 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5182/0.6269, allocations: 102.4 MB / 0.5621 GB, free: 1.203 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000368/0.6274, allocations: 91.94 kB / 0.5622 GB, free: 1.113 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1532/0.7806, allocations: 32.56 MB / 0.594 GB, free: 164 kB / 426.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.7807, allocations: 4 kB / 0.594 GB, free: 160 kB / 426.7 MB Notification: Performance of Transformations before backend: time 8.903e-05/0.7808, allocations: 27.94 kB / 0.594 GB, free: 132 kB / 426.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.005031/0.7858, allocations: 1.317 MB / 0.5953 GB, free: 14.76 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.649e-05/0.7859, allocations: 12.03 kB / 0.5953 GB, free: 14.75 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006698/0.7866, allocations: 190.3 kB / 0.5955 GB, free: 14.55 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003004/0.7896, allocations: 278 kB / 0.5957 GB, free: 14.28 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007315/0.7969, allocations: 1.772 MB / 0.5975 GB, free: 12.46 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001421/0.7971, allocations: 90.33 kB / 0.5976 GB, free: 12.38 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003802/0.7975, allocations: 119.9 kB / 0.5977 GB, free: 12.26 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004696/0.8022, allocations: 1.765 MB / 0.5994 GB, free: 10.31 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.012e-05/0.8024, allocations: 15.94 kB / 0.5994 GB, free: 10.29 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001941/0.8026, allocations: 51.98 kB / 0.5995 GB, free: 10.24 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001892/0.8028, allocations: 86.06 kB / 0.5995 GB, free: 10.16 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004275/0.8071, allocations: 1.355 MB / 0.6009 GB, free: 8.793 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01493/0.8221, allocations: 7.974 MB / 0.6087 GB, free: 0.5352 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002078/0.8242, allocations: 0.9344 MB / 0.6096 GB, free: 15.52 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001422/0.8256, allocations: 0.5623 MB / 0.6101 GB, free: 14.96 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/0.8258, allocations: 16.75 kB / 0.6101 GB, free: 14.94 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.212e-05/0.8258, allocations: 43.34 kB / 0.6102 GB, free: 14.89 MB / 458.7 MB Notification: Performance of pre-optimization done (n=98): time 4.238e-06/0.8259, allocations: 0 / 0.6102 GB, free: 14.89 MB / 458.7 MB Notification: Performance of matching and sorting (n=99): time 0.006905/0.8328, allocations: 2.474 MB / 0.6126 GB, free: 12.36 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.948e-05/0.8329, allocations: 93.89 kB / 0.6127 GB, free: 12.25 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001405/0.8343, allocations: 0.6681 MB / 0.6133 GB, free: 11.57 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002097/0.8346, allocations: 37.7 kB / 0.6134 GB, free: 11.52 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006448/0.8352, allocations: 0.66 MB / 0.614 GB, free: 10.86 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006501/0.8359, allocations: 358.9 kB / 0.6144 GB, free: 10.5 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.836, allocations: 28.03 kB / 0.6144 GB, free: 10.47 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002276/0.8363, allocations: 374.7 kB / 0.6147 GB, free: 10.1 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001395/0.8377, allocations: 499.1 kB / 0.6152 GB, free: 9.613 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001752/0.8394, allocations: 0.9752 MB / 0.6162 GB, free: 8.422 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001796/0.8413, allocations: 0.6994 MB / 0.6169 GB, free: 7.723 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.327e-05/0.8413, allocations: 4 kB / 0.6169 GB, free: 7.719 MB / 458.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.005294/0.8466, allocations: 1.782 MB / 0.6186 GB, free: 5.922 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.492e-05/0.8467, allocations: 15.91 kB / 0.6186 GB, free: 5.906 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0036/0.8503, allocations: 1.134 MB / 0.6197 GB, free: 4.762 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001507/0.8518, allocations: 254.3 kB / 0.62 GB, free: 4.504 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00228/0.8542, allocations: 303.5 kB / 0.6203 GB, free: 4.207 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00713/0.8613, allocations: 4.775 MB / 0.6249 GB, free: 15.03 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/0.863, allocations: 71.84 kB / 0.625 GB, free: 14.96 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001798/0.8632, allocations: 64 kB / 0.625 GB, free: 14.9 MB / 474.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.0003746/0.8636, allocations: 188.5 kB / 0.6252 GB, free: 14.71 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002345/0.8638, allocations: 94.78 kB / 0.6253 GB, free: 14.61 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003354/0.8672, allocations: 1.147 MB / 0.6264 GB, free: 13.45 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.804e-05/0.8673, allocations: 20 kB / 0.6265 GB, free: 13.43 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.8673, allocations: 0 / 0.6265 GB, free: 13.43 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.865e-05/0.8674, allocations: 7.938 kB / 0.6265 GB, free: 13.43 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007705/0.8751, allocations: 2.421 MB / 0.6288 GB, free: 10.93 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/0.8751, allocations: 0 / 0.6288 GB, free: 10.93 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002072/0.8772, allocations: 211.9 kB / 0.629 GB, free: 10.72 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.776e-05/0.8773, allocations: 8 kB / 0.629 GB, free: 10.71 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001156/0.8774, allocations: 20 kB / 0.6291 GB, free: 10.69 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.335e-05/0.8774, allocations: 7.984 kB / 0.6291 GB, free: 10.68 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/0.8774, allocations: 4 kB / 0.6291 GB, free: 10.68 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004288/0.8817, allocations: 1.774 MB / 0.6308 GB, free: 8.824 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004396/0.8822, allocations: 163.9 kB / 0.631 GB, free: 8.645 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002139/0.8825, allocations: 20 kB / 0.631 GB, free: 8.625 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009541/0.8834, allocations: 51.92 kB / 0.631 GB, free: 8.574 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001809/0.8836, allocations: 56.69 kB / 0.6311 GB, free: 8.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.759e-05/0.8837, allocations: 28 kB / 0.6311 GB, free: 8.492 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001074/0.8848, allocations: 0.4991 MB / 0.6316 GB, free: 7.996 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.8848, allocations: 4 kB / 0.6316 GB, free: 7.992 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00199/0.8868, allocations: 339.9 kB / 0.6319 GB, free: 7.66 MB / 474.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.005395/0.8923, allocations: 2.921 MB / 0.6348 GB, free: 4.66 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004322/0.8967, allocations: 1.593 MB / 0.6363 GB, free: 3.031 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/0.8967, allocations: 0 / 0.6363 GB, free: 3.031 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001375/0.8981, allocations: 0.4978 MB / 0.6368 GB, free: 2.535 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001319/0.8995, allocations: 163.2 kB / 0.637 GB, free: 2.375 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3717/1.271, allocations: 2.838 MB / 0.6397 GB, free: 130.2 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002546/1.274, allocations: 1.273 MB / 0.641 GB, free: 129.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002005/1.276, allocations: 480.3 kB / 0.6414 GB, free: 129.5 MB / 474.7 MB Notification: Performance of SimCode: time 1.974e-06/1.276, allocations: 3.562 kB / 0.6414 GB, free: 129.5 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.56/4.836, allocations: 26.46 MB / 0.6673 GB, free: 128.5 MB / 474.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)