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: translateModel(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability") translateModel(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001122/0.001122, allocations: 191.9 kB / 17.27 MB, free: 4.5 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.169/1.169, allocations: 194.2 MB / 212.2 MB, free: 2.367 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.001791/0.001791, allocations: 113.7 kB / 256.6 MB, free: 4.312 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1657/0.1657, allocations: 37.96 MB / 338.8 MB, free: 2.219 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 63.91 kB / 401.8 MB, free: 68.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07644/0.07762, allocations: 52.19 MB / 454 MB, free: 16.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.007384/0.08504, allocations: 10.98 MB / 465 MB, free: 5.535 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004929/0.08999, allocations: 3.759 MB / 468.7 MB, free: 1.762 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007372/0.09076, allocations: 75.5 kB / 468.8 MB, free: 1.688 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001914/0.09268, allocations: 1.012 MB / 469.8 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001043/0.09373, allocations: 0.5912 MB / 470.4 MB, free: 80 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001528/0.09527, allocations: 0.6435 MB / 471.1 MB, free: 15.43 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002278/0.09757, allocations: 2.471 MB / 473.5 MB, free: 12.95 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001283/0.09886, allocations: 0.873 MB / 474.4 MB, free: 12.06 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001132/0.1, allocations: 0.6378 MB / 475 MB, free: 11.42 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001508/0.1015, allocations: 0.997 MB / 476 MB, free: 10.42 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002905/0.1018, allocations: 72 kB / 476.1 MB, free: 10.35 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001048/0.1029, allocations: 467.2 kB / 476.6 MB, free: 9.891 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006936/0.1036, allocations: 0.639 MB / 477.2 MB, free: 9.25 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001105/0.1047, allocations: 0.6723 MB / 477.9 MB, free: 8.574 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001981/0.1067, allocations: 1.737 MB / 479.6 MB, free: 6.832 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.1067, allocations: 0 / 479.6 MB, free: 6.832 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1067, allocations: 3.938 kB / 479.6 MB, free: 6.828 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.975e-05/0.1068, allocations: 0 / 479.6 MB, free: 6.828 MB / 330.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.002948/0.1097, allocations: 1.646 MB / 481.3 MB, free: 5.125 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.9e-05/0.1098, allocations: 12.03 kB / 481.3 MB, free: 5.113 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00156/0.1113, allocations: 267 kB / 481.5 MB, free: 4.852 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001517/0.1129, allocations: 0.8441 MB / 482.4 MB, free: 3.961 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.155e-05/0.1129, allocations: 86.72 kB / 482.5 MB, free: 3.875 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003029/0.1133, allocations: 155.8 kB / 482.6 MB, free: 3.723 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002366/0.1156, allocations: 1.846 MB / 484.5 MB, free: 1.691 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.585e-05/0.1157, allocations: 15.84 kB / 484.5 MB, free: 1.676 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.1158, allocations: 55.98 kB / 484.5 MB, free: 1.621 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002667/0.1161, allocations: 98.16 kB / 484.6 MB, free: 1.523 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002034/0.1181, allocations: 1.487 MB / 486.1 MB, free: 28 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008255/0.1264, allocations: 8.292 MB / 494.4 MB, free: 7.395 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/0.1276, allocations: 1.162 MB / 495.6 MB, free: 6.105 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006043/0.1282, allocations: 488.2 kB / 496 MB, free: 5.621 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.982e-05/0.1283, allocations: 24.62 kB / 496.1 MB, free: 5.598 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.1283, allocations: 39.22 kB / 496.1 MB, free: 5.551 MB / 346.7 MB Notification: Performance of pre-optimization done (n=82): time 2.345e-06/0.1284, allocations: 0 / 496.1 MB, free: 5.551 MB / 346.7 MB Notification: Performance of matching and sorting (n=83): time 0.003384/0.1317, allocations: 2.445 MB / 498.6 MB, free: 3.047 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.1318, allocations: 89.7 kB / 498.6 MB, free: 2.941 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008099/0.1326, allocations: 0.8173 MB / 499.5 MB, free: 2.113 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.299e-05/0.1327, allocations: 45.83 kB / 499.5 MB, free: 2.062 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003952/0.1331, allocations: 0.6841 MB / 0.4885 GB, free: 1.367 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002045/0.1333, allocations: 303.8 kB / 0.4888 GB, free: 1.066 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003091/0.1336, allocations: 255.3 kB / 0.489 GB, free: 0.8086 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.1338, allocations: 418.7 kB / 0.4894 GB, free: 400 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006136/0.1344, allocations: 447.7 kB / 0.4898 GB, free: 15.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008811/0.1353, allocations: 1.005 MB / 0.4908 GB, free: 14.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001603/0.1369, allocations: 1.596 MB / 0.4924 GB, free: 12.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.1369, allocations: 4 kB / 0.4924 GB, free: 12.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.002672/0.1396, allocations: 1.764 MB / 0.4941 GB, free: 11.06 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.1396, allocations: 12 kB / 0.4941 GB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001591/0.1412, allocations: 0.9958 MB / 0.4951 GB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008325/0.1421, allocations: 250.5 kB / 0.4953 GB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009043/0.143, allocations: 311.5 kB / 0.4956 GB, free: 9.484 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004072/0.1471, allocations: 4.798 MB / 0.5003 GB, free: 4.285 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006542/0.1478, allocations: 51.98 kB / 0.5003 GB, free: 4.234 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.132e-05/0.1479, allocations: 71.98 kB / 0.5004 GB, free: 4.164 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * 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 (168): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005422/0.1484, allocations: 433.1 kB / 0.5008 GB, free: 3.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/0.1485, allocations: 102.8 kB / 0.5009 GB, free: 3.629 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001483/0.15, allocations: 0.9531 MB / 0.5019 GB, free: 2.668 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.15, allocations: 8 kB / 0.5019 GB, free: 2.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/0.1501, allocations: 0 / 0.5019 GB, free: 2.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/0.1501, allocations: 3.984 kB / 0.5019 GB, free: 2.656 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003578/0.1537, allocations: 2.123 MB / 0.5039 GB, free: 468 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.1537, allocations: 0 / 0.5039 GB, free: 468 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008189/0.1545, allocations: 187.8 kB / 0.5041 GB, free: 280 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/0.1545, allocations: 4 kB / 0.5041 GB, free: 276 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-05/0.1546, allocations: 20 kB / 0.5041 GB, free: 256 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-05/0.1546, allocations: 20.05 kB / 0.5042 GB, free: 236 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.1546, allocations: 4 kB / 0.5042 GB, free: 232 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1693/0.324, allocations: 5.099 MB / 0.5091 GB, free: 63.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002138/0.3242, allocations: 168.4 kB / 0.5093 GB, free: 63.63 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001394/0.3244, allocations: 28.5 kB / 0.5093 GB, free: 63.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004231/0.3248, allocations: 24.84 kB / 0.5094 GB, free: 63.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.3249, allocations: 55.47 kB / 0.5094 GB, free: 63.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.625e-05/0.325, allocations: 25.89 kB / 0.5094 GB, free: 63.6 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007195/0.3257, allocations: 0.5452 MB / 0.51 GB, free: 63.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3257, allocations: 0 / 0.51 GB, free: 63.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001364/0.3271, allocations: 377.5 kB / 0.5103 GB, free: 63.35 MB / 362.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 (86): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001797/0.3273, allocations: 121.7 kB / 0.5104 GB, free: 63.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00218/0.3295, allocations: 1.461 MB / 0.5119 GB, free: 62.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.3295, allocations: 1.469 kB / 0.5119 GB, free: 62.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005608/0.3301, allocations: 413.8 kB / 0.5123 GB, free: 62.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008858/0.331, allocations: 173.8 kB / 0.5124 GB, free: 62.38 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003821/0.3348, allocations: 3.732 MB / 0.5161 GB, free: 60.22 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008793/0.3357, allocations: 1.267 MB / 0.5173 GB, free: 59.44 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001146/0.3368, allocations: 423.2 kB / 0.5177 GB, free: 59.4 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002823/0.3371, allocations: 84.98 kB / 0.5178 GB, free: 59.39 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.3371, allocations: 0 / 0.5178 GB, free: 59.39 MB / 362.7 MB Notification: Performance of Templates: time 0.01811/0.3553, allocations: 11.52 MB / 0.529 GB, free: 53.3 MB / 362.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.makefile (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 & ./PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe 2>&1)