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.001445/0.001445, allocations: 112.2 kB / 17.74 MB, free: 5.344 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.001537/0.001537, allocations: 187.1 kB / 18.67 MB, free: 4.422 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.453/1.453, 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.1798/0.1798, allocations: 37.99 MB / 309.9 MB, free: 5.949 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.001401/0.001401, allocations: 75.88 kB / 432.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1019, allocations: 55.23 MB / 487.8 MB, free: 8.355 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.005794/0.1077, allocations: 4.086 MB / 491.9 MB, free: 4.238 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001643/0.1094, allocations: 0.889 MB / 492.8 MB, free: 3.344 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000296/0.1097, allocations: 7.938 kB / 492.8 MB, free: 3.336 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002373/0.11, allocations: 47.52 kB / 492.8 MB, free: 3.289 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006104/0.1106, allocations: 175 kB / 493 MB, free: 3.117 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002711/0.1109, allocations: 87.81 kB / 493.1 MB, free: 3.031 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005346/0.1115, allocations: 394.6 kB / 493.4 MB, free: 2.645 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002398/0.1117, allocations: 118.2 kB / 493.6 MB, free: 2.531 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003623/0.1121, allocations: 179.2 kB / 493.7 MB, free: 2.355 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003871/0.1125, allocations: 187.2 kB / 493.9 MB, free: 2.172 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.766e-05/0.1126, allocations: 20 kB / 493.9 MB, free: 2.152 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.325e-05/0.1126, allocations: 20 kB / 494 MB, free: 2.133 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.1127, allocations: 91.72 kB / 494 MB, free: 2.043 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001712/0.1129, allocations: 139.3 kB / 494.2 MB, free: 1.906 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003349/0.1133, allocations: 290.9 kB / 494.5 MB, free: 1.621 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1133, allocations: 0 / 494.5 MB, free: 1.621 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1133, allocations: 0 / 494.5 MB, free: 1.621 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.1133, 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.001096/0.1144, allocations: 0.5933 MB / 495.1 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.1145, allocations: 11.89 kB / 495.1 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.826e-05/0.1145, allocations: 32.56 kB / 495.1 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005985/0.1151, allocations: 338.9 kB / 495.4 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.1152, allocations: 20.8 kB / 495.5 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.1153, allocations: 44.03 kB / 495.5 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000441/0.1158, allocations: 282 kB / 495.8 MB, free: 204 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.1158, allocations: 3.984 kB / 495.8 MB, free: 200 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.694e-05/0.1158, allocations: 12 kB / 495.8 MB, free: 188 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.1159, allocations: 8 kB / 495.8 MB, free: 180 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003234/0.1162, allocations: 183.9 kB / 496 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001601/0.1178, allocations: 1.272 MB / 497.2 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002923/0.1181, allocations: 119.8 kB / 497.4 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.327e-05/0.1182, allocations: 46.62 kB / 497.4 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.1182, allocations: 4 kB / 497.4 MB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.1182, allocations: 42.5 kB / 497.5 MB, free: 14.37 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 2.705e-06/0.1183, allocations: 0 / 497.5 MB, free: 14.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009712/0.1192, allocations: 0.5347 MB / 498 MB, free: 13.79 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.411e-05/0.1193, allocations: 106.8 kB / 498.1 MB, free: 13.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002443/0.1196, allocations: 234.6 kB / 498.3 MB, free: 13.42 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.1196, allocations: 29.8 kB / 498.4 MB, free: 13.38 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.1197, allocations: 211.7 kB / 498.6 MB, free: 13.17 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.1198, allocations: 35.45 kB / 498.6 MB, free: 13.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.5e-05/0.1199, allocations: 41.7 kB / 498.6 MB, free: 13.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.12, allocations: 342.8 kB / 499 MB, free: 12.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.638e-05/0.1201, allocations: 39.84 kB / 499 MB, free: 12.71 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.1202, allocations: 135.9 kB / 499.1 MB, free: 12.53 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002307/0.1204, allocations: 187.8 kB / 499.3 MB, free: 12.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1205, allocations: 0 / 499.3 MB, free: 12.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004258/0.1209, allocations: 233.8 kB / 499.6 MB, free: 12.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.1209, allocations: 8.406 kB / 499.6 MB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.1209, allocations: 12 kB / 499.6 MB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001281/0.1211, allocations: 24.84 kB / 499.6 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003212/0.1214, allocations: 63.83 kB / 499.7 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.1214, allocations: 7.984 kB / 499.7 MB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.1216, allocations: 8 kB / 499.7 MB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.391e-05/0.1216, 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.0001571/0.1217, allocations: 161.7 kB / 499.8 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.053e-05/0.1218, allocations: 19.72 kB / 499.9 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002682/0.1221, allocations: 139.3 kB / 500 MB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.1221, allocations: 7.922 kB / 0.4883 GB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1221, allocations: 0 / 0.4883 GB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.1221, allocations: 4 kB / 0.4883 GB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003694/0.1225, allocations: 285.5 kB / 0.4886 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1225, allocations: 0 / 0.4886 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.1227, allocations: 31.98 kB / 0.4886 GB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.309e-06/0.1227, allocations: 0 / 0.4886 GB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.1227, allocations: 11.98 kB / 0.4886 GB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.1227, allocations: 3.938 kB / 0.4886 GB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1227, allocations: 0 / 0.4886 GB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000395/0.1231, allocations: 359.8 kB / 0.489 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.102e-05/0.1232, allocations: 96.86 kB / 0.489 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.303e-05/0.1233, allocations: 0 / 0.489 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.1234, allocations: 16 kB / 0.4891 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.316e-05/0.1234, allocations: 7.984 kB / 0.4891 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.1235, allocations: 4 kB / 0.4891 GB, free: 10.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001459/0.1236, allocations: 174 kB / 0.4892 GB, free: 10.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1236, allocations: 0 / 0.4892 GB, free: 10.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000345/0.124, allocations: 48 kB / 0.4893 GB, free: 10.49 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.0001092/0.1241, allocations: 99.12 kB / 0.4894 GB, free: 10.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003509/0.1244, allocations: 221.9 kB / 0.4896 GB, free: 10.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1245, allocations: 0 / 0.4896 GB, free: 10.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.466e-05/0.1245, allocations: 47.92 kB / 0.4896 GB, free: 10.1 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005606/0.1251, allocations: 74.39 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.00102/0.1261, allocations: 0.6367 MB / 0.4903 GB, free: 9.348 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.1265, allocations: 0.7714 MB / 0.4911 GB, free: 8.551 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.159e-05/0.1266, allocations: 23.44 kB / 0.4911 GB, free: 8.527 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1266, allocations: 0 / 0.4911 GB, free: 8.527 MB / 382.1 MB Notification: Performance of Templates: time 0.006379/0.133, allocations: 3.494 MB / 0.4945 GB, free: 5.023 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)