Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7406,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7406,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 112.3 kB / 17.74 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 187 kB / 18.67 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.563/1.563, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.178/0.178, allocations: 37.99 MB / 309.9 MB, free: 5.957 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 71.89 kB / 432.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09963/0.101, allocations: 55.24 MB / 487.8 MB, free: 8.352 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.008267/0.1093, allocations: 4.086 MB / 491.9 MB, free: 4.234 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002324/0.1117, allocations: 0.8891 MB / 492.8 MB, free: 3.34 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001867/0.1119, allocations: 11.94 kB / 492.8 MB, free: 3.328 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002469/0.1122, allocations: 47.52 kB / 492.8 MB, free: 3.281 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006597/0.1129, allocations: 171.1 kB / 493 MB, free: 3.113 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004125/0.1133, allocations: 75.84 kB / 493.1 MB, free: 3.039 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000812/0.1141, allocations: 414.5 kB / 493.5 MB, free: 2.633 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003479/0.1145, allocations: 102.3 kB / 493.6 MB, free: 2.535 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004053/0.1149, allocations: 187.2 kB / 493.7 MB, free: 2.352 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000506/0.1154, allocations: 187.2 kB / 493.9 MB, free: 2.168 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.874e-05/0.1155, allocations: 20 kB / 493.9 MB, free: 2.148 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.693e-05/0.1156, allocations: 24 kB / 494 MB, free: 2.125 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001513/0.1158, allocations: 83.72 kB / 494 MB, free: 2.043 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002111/0.116, allocations: 143.3 kB / 494.2 MB, free: 1.902 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004336/0.1165, allocations: 286.9 kB / 494.5 MB, free: 1.621 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.1165, allocations: 0 / 494.5 MB, free: 1.621 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1165, allocations: 0 / 494.5 MB, free: 1.621 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.1165, allocations: 0 / 494.5 MB, free: 1.621 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001441/0.118, allocations: 0.5933 MB / 495.1 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.118, allocations: 15.89 kB / 495.1 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.833e-05/0.1181, allocations: 28.56 kB / 495.1 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007324/0.1189, allocations: 342.9 kB / 495.4 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.328e-05/0.1189, allocations: 20.81 kB / 495.5 MB, free: 0.543 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001727/0.1191, allocations: 40.03 kB / 495.5 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000591/0.1197, allocations: 286 kB / 495.8 MB, free: 200 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.1198, allocations: 4 kB / 495.8 MB, free: 196 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.658e-05/0.1198, allocations: 8 kB / 495.8 MB, free: 188 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.1198, allocations: 8 kB / 495.8 MB, free: 180 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004548/0.1203, allocations: 187.8 kB / 496 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002236/0.1225, allocations: 1.276 MB / 497.3 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003675/0.1229, allocations: 119.8 kB / 497.4 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.1231, allocations: 46.62 kB / 497.4 MB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.1231, allocations: 0 / 497.4 MB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.156e-05/0.1231, allocations: 38.5 kB / 497.5 MB, free: 14.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 3.807e-06/0.1232, allocations: 4 kB / 497.5 MB, free: 14.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001287/0.1244, allocations: 0.5271 MB / 498 MB, free: 13.79 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001504/0.1246, allocations: 102.8 kB / 498.1 MB, free: 13.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003802/0.125, allocations: 246.6 kB / 498.3 MB, free: 13.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.125, allocations: 25.7 kB / 498.4 MB, free: 13.38 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/0.1252, allocations: 199.8 kB / 498.6 MB, free: 13.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.692e-05/0.1253, allocations: 35.45 kB / 498.6 MB, free: 13.15 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.087e-05/0.1254, allocations: 45.7 kB / 498.6 MB, free: 13.1 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.1256, allocations: 338.8 kB / 499 MB, free: 12.76 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.1257, allocations: 55.86 kB / 499 MB, free: 12.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/0.1259, allocations: 131.9 kB / 499.1 MB, free: 12.53 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003357/0.1263, allocations: 187.8 kB / 499.3 MB, free: 12.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.1263, allocations: 4 kB / 499.3 MB, free: 12.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005901/0.1269, allocations: 229.8 kB / 499.6 MB, free: 12.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.1269, allocations: 4.406 kB / 499.6 MB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.1269, allocations: 12 kB / 499.6 MB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001652/0.1271, allocations: 28.84 kB / 499.6 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004987/0.1276, allocations: 67.83 kB / 499.7 MB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.602e-05/0.1277, allocations: 4 kB / 499.7 MB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.1279, allocations: 8 kB / 499.7 MB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.122e-05/0.1279, allocations: 8 kB / 499.7 MB, free: 11.93 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000196/0.1281, allocations: 149.7 kB / 499.8 MB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.947e-05/0.1282, allocations: 27.72 kB / 499.9 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003767/0.1286, allocations: 143.3 kB / 500 MB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.1286, allocations: 7.938 kB / 0.4883 GB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.1286, allocations: 0 / 0.4883 GB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.1286, allocations: 0 / 0.4883 GB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006032/0.1292, allocations: 293.5 kB / 0.4886 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1293, allocations: 0 / 0.4886 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000226/0.1295, allocations: 23.98 kB / 0.4886 GB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.1295, allocations: 4 kB / 0.4886 GB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.1295, allocations: 3.984 kB / 0.4886 GB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.59e-05/0.1296, allocations: 15.88 kB / 0.4886 GB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.1296, allocations: 0 / 0.4886 GB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005056/0.1301, allocations: 359.9 kB / 0.489 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.828e-05/0.1302, allocations: 96.81 kB / 0.489 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.814e-05/0.1302, allocations: 8 kB / 0.4891 GB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002453/0.1305, allocations: 8 kB / 0.4891 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.501e-05/0.1305, allocations: 11.98 kB / 0.4891 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.1306, allocations: 4 kB / 0.4891 GB, free: 10.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002253/0.1308, allocations: 170 kB / 0.4892 GB, free: 10.53 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.725e-06/0.1308, allocations: 0 / 0.4892 GB, free: 10.53 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005868/0.1314, allocations: 47.94 kB / 0.4893 GB, free: 10.48 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * 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 (14): * Single equations (assignments): 13 * 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.0001331/0.1316, allocations: 107.2 kB / 0.4894 GB, free: 10.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004829/0.1321, allocations: 221.9 kB / 0.4896 GB, free: 10.13 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.1321, allocations: 0 / 0.4896 GB, free: 10.13 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.1322, allocations: 47.92 kB / 0.4896 GB, free: 10.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000839/0.1331, allocations: 57.91 kB / 0.4897 GB, free: 10.03 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/0.1345, allocations: 0.6329 MB / 0.4903 GB, free: 9.355 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000577/0.1351, allocations: 0.7675 MB / 0.4911 GB, free: 8.562 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.013e-05/0.1352, allocations: 27.42 kB / 0.4911 GB, free: 8.535 MB / 382.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1352, allocations: 0 / 0.4911 GB, free: 8.535 MB / 382.1 MB Notification: Performance of Templates: time 0.008296/0.1435, allocations: 3.529 MB / 0.4945 GB, free: 4.996 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1)