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.001207/0.001207, allocations: 180 kB / 16.38 MB, free: 5.766 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.158/1.158, allocations: 194.5 MB / 211.6 MB, free: 3.039 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.001532/0.001532, allocations: 120.5 kB / 256.9 MB, free: 4.363 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1485/0.1485, allocations: 38 MB / 340.1 MB, free: 1.359 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000319/0.0003191, allocations: 12 kB / 403.9 MB, free: 68.71 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06249/0.06282, allocations: 53.23 MB / 457.1 MB, free: 15.47 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2296/0.2924, allocations: 97.35 MB / 0.5415 GB, free: 14.07 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002007/0.2926, allocations: 98.45 kB / 0.5416 GB, free: 14.02 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07628/0.3689, allocations: 32.57 MB / 0.5734 GB, free: 1.938 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.369, allocations: 0 / 0.5734 GB, free: 1.938 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.246e-05/0.369, allocations: 32 kB / 0.5734 GB, free: 1.906 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.002247/0.3713, allocations: 1.445 MB / 0.5748 GB, free: 0.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.3713, allocations: 12.02 kB / 0.5748 GB, free: 500 kB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000191/0.3715, allocations: 195 kB / 0.575 GB, free: 372 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001342/0.3728, allocations: 282.3 kB / 0.5753 GB, free: 88 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003434/0.3763, allocations: 1.779 MB / 0.577 GB, free: 14.57 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.911e-05/0.3764, allocations: 90.52 kB / 0.5771 GB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/0.3765, allocations: 116.9 kB / 0.5772 GB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001957/0.3785, allocations: 1.789 MB / 0.579 GB, free: 12.93 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.166e-05/0.3785, allocations: 15.78 kB / 0.579 GB, free: 12.91 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.604e-05/0.3786, allocations: 53.11 kB / 0.579 GB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.144e-05/0.3787, allocations: 81.64 kB / 0.5791 GB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001702/0.3804, allocations: 1.389 MB / 0.5805 GB, free: 11.81 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006506/0.3869, allocations: 7.961 MB / 0.5882 GB, free: 4.535 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009218/0.3879, allocations: 0.9484 MB / 0.5892 GB, free: 3.73 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.946e-05/0.3879, allocations: 17.03 kB / 0.5892 GB, free: 3.715 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.388, allocations: 45.62 kB / 0.5892 GB, free: 3.668 MB / 394.7 MB Notification: Performance of pre-optimization done (n=98): time 2.395e-06/0.388, allocations: 0 / 0.5892 GB, free: 3.668 MB / 394.7 MB Notification: Performance of matching and sorting (n=99): time 0.003681/0.3917, allocations: 3.23 MB / 0.5924 GB, free: 0.6719 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.3917, allocations: 94.05 kB / 0.5925 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006309/0.3923, allocations: 0.6797 MB / 0.5931 GB, free: 15.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.04e-05/0.3924, allocations: 41.77 kB / 0.5932 GB, free: 15.83 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003291/0.3927, allocations: 0.6381 MB / 0.5938 GB, free: 15.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002153/0.393, allocations: 362.9 kB / 0.5941 GB, free: 14.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.548e-05/0.393, allocations: 28 kB / 0.5942 GB, free: 14.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.3932, allocations: 414.7 kB / 0.5946 GB, free: 14.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006312/0.3938, allocations: 0.499 MB / 0.595 GB, free: 13.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008688/0.3947, allocations: 0.9866 MB / 0.596 GB, free: 12.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008238/0.3955, allocations: 0.6977 MB / 0.5967 GB, free: 11.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.3955, allocations: 4 kB / 0.5967 GB, free: 11.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.002623/0.3982, allocations: 1.841 MB / 0.5985 GB, free: 10.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.3982, allocations: 12 kB / 0.5985 GB, free: 10.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00169/0.3999, allocations: 1.165 MB / 0.5996 GB, free: 8.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007717/0.4007, allocations: 250.3 kB / 0.5999 GB, free: 8.676 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009205/0.4016, allocations: 299.5 kB / 0.6002 GB, free: 8.383 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00363/0.4052, allocations: 4.853 MB / 0.6049 GB, free: 3.129 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000603/0.4059, allocations: 67.95 kB / 0.605 GB, free: 3.062 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.988e-05/0.4059, allocations: 56 kB / 0.605 GB, free: 3.008 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 () * 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.0004448/0.4064, allocations: 421.7 kB / 0.6054 GB, free: 2.586 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.4065, allocations: 98.69 kB / 0.6055 GB, free: 2.488 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001728/0.4083, allocations: 1.172 MB / 0.6067 GB, free: 1.309 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.057e-05/0.4083, allocations: 27.98 kB / 0.6067 GB, free: 1.281 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.4083, allocations: 0 / 0.6067 GB, free: 1.281 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.4083, allocations: 3.984 kB / 0.6067 GB, free: 1.277 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003787/0.4121, allocations: 2.423 MB / 0.6091 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/0.4121, allocations: 4 kB / 0.6091 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009131/0.4131, allocations: 203.7 kB / 0.6093 GB, free: 14.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.797e-06/0.4131, allocations: 4 kB / 0.6093 GB, free: 14.57 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.743e-05/0.4131, allocations: 23.98 kB / 0.6093 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.518e-06/0.4132, allocations: 11.98 kB / 0.6093 GB, free: 14.53 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.4132, allocations: 3.938 kB / 0.6093 GB, free: 14.53 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002126/0.4153, allocations: 1.813 MB / 0.6111 GB, free: 12.63 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001716/0.4155, allocations: 163.9 kB / 0.6112 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.4156, allocations: 23.98 kB / 0.6112 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004452/0.416, allocations: 43.91 kB / 0.6113 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.639e-05/0.4161, allocations: 56.92 kB / 0.6113 GB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.459e-05/0.4162, allocations: 27.98 kB / 0.6114 GB, free: 12.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005263/0.4167, allocations: 0.5146 MB / 0.6119 GB, free: 11.79 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4167, allocations: 0 / 0.6119 GB, free: 11.79 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009145/0.4177, allocations: 343.9 kB / 0.6122 GB, free: 11.46 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 () * 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.00273/0.4204, allocations: 2.925 MB / 0.6151 GB, free: 8.457 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002102/0.4225, allocations: 1.621 MB / 0.6166 GB, free: 6.801 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4225, allocations: 4.375 kB / 0.6166 GB, free: 6.797 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006201/0.4232, allocations: 0.5053 MB / 0.6171 GB, free: 6.289 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006147/0.4238, allocations: 159.8 kB / 0.6173 GB, free: 6.129 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01338/0.4372, allocations: 18.76 MB / 0.6356 GB, free: 2.812 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008778/0.4381, allocations: 1.28 MB / 0.6369 GB, free: 1.504 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0009735/0.439, allocations: 408.5 kB / 0.6372 GB, free: 1.102 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005427/0.4396, allocations: 467.3 kB / 0.6377 GB, free: 0.6484 MB / 442.7 MB Notification: Performance of SimCode: time 5.41e-07/0.4396, allocations: 0 / 0.6377 GB, free: 0.6484 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3284/0.768, allocations: 21.69 MB / 0.6589 GB, free: 10.95 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001961/0.7682, allocations: 206.6 kB / 0.6591 GB, free: 10.71 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.712/4.48, allocations: 0 / 0.6591 GB, free: 10.71 MB / 474.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)