Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.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.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 115.7 kB / 17.74 MB, free: 5.297 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.001223/0.001223, allocations: 189.6 kB / 18.67 MB, free: 4.375 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.439/1.439, allocations: 205.1 MB / 224.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1758/0.1758, allocations: 37.98 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.001388/0.001388, allocations: 68.38 kB / 432.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1073, allocations: 55.25 MB / 487.8 MB, free: 8.34 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.005967/0.1133, allocations: 4.203 MB / 492 MB, free: 4.105 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001739/0.1151, allocations: 0.9792 MB / 493 MB, free: 3.121 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002053/0.1153, allocations: 7.938 kB / 493 MB, free: 3.113 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002104/0.1156, allocations: 51.5 kB / 493 MB, free: 3.062 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005589/0.1162, allocations: 206.8 kB / 493.2 MB, free: 2.859 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002222/0.1164, allocations: 95.84 kB / 493.3 MB, free: 2.766 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005508/0.117, allocations: 490.3 kB / 493.8 MB, free: 2.285 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002772/0.1172, allocations: 147.3 kB / 493.9 MB, free: 2.145 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002936/0.1175, allocations: 215.2 kB / 494.2 MB, free: 1.934 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004083/0.118, allocations: 255 kB / 494.4 MB, free: 1.684 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.357e-05/0.118, allocations: 24 kB / 494.4 MB, free: 1.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.576e-05/0.1181, allocations: 28 kB / 494.5 MB, free: 1.633 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001416/0.1183, allocations: 115.7 kB / 494.6 MB, free: 1.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001698/0.1184, allocations: 183 kB / 494.7 MB, free: 1.34 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000412/0.1188, allocations: 378.6 kB / 495.1 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1189, allocations: 8 kB / 495.1 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1189, allocations: 0 / 495.1 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1189, allocations: 0 / 495.1 MB, free: 0.9609 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001299/0.1202, allocations: 0.6829 MB / 495.8 MB, free: 232 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.1202, allocations: 15.89 kB / 495.8 MB, free: 216 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.757e-05/0.1203, allocations: 40.47 kB / 495.9 MB, free: 176 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006113/0.121, allocations: 411 kB / 496.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.979e-05/0.121, allocations: 20.56 kB / 496.3 MB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.849e-05/0.1211, allocations: 24 kB / 496.3 MB, free: 15.69 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005121/0.1216, allocations: 356.7 kB / 496.7 MB, free: 15.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.1216, allocations: 7.938 kB / 496.7 MB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.026e-05/0.1216, allocations: 11.98 kB / 496.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.1216, allocations: 8 kB / 496.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003876/0.122, allocations: 254 kB / 496.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001697/0.1237, allocations: 1.45 MB / 498.4 MB, free: 13.49 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002515/0.124, allocations: 153.1 kB / 498.5 MB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.1241, allocations: 81.73 kB / 498.6 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.1242, allocations: 0 / 498.6 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.1242, allocations: 46.44 kB / 498.7 MB, free: 13.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.092e-06/0.1242, allocations: 0 / 498.7 MB, free: 13.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001163/0.1254, allocations: 0.6728 MB / 499.3 MB, free: 12.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/0.1255, allocations: 81.11 kB / 499.4 MB, free: 12.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003025/0.1258, allocations: 296.5 kB / 499.7 MB, free: 12.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.1258, allocations: 25.7 kB / 499.7 MB, free: 12.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.1259, allocations: 227.7 kB / 499.9 MB, free: 11.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.67e-05/0.126, allocations: 59.19 kB / 0.4883 GB, free: 11.74 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.905e-05/0.1261, allocations: 53.64 kB / 0.4883 GB, free: 11.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.1262, allocations: 334.8 kB / 0.4887 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.1264, allocations: 67.94 kB / 0.4887 GB, free: 11.28 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001735/0.1265, allocations: 168.8 kB / 0.4889 GB, free: 11.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003087/0.1269, allocations: 256.7 kB / 0.4891 GB, free: 10.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.1269, allocations: 7.938 kB / 0.4891 GB, free: 10.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003983/0.1273, allocations: 289.1 kB / 0.4894 GB, free: 10.47 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.1273, allocations: 4 kB / 0.4894 GB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.1273, allocations: 8 kB / 0.4894 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.1273, allocations: 4 kB / 0.4894 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00026/0.1276, allocations: 59.91 kB / 0.4895 GB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.367e-05/0.1276, allocations: 15.88 kB / 0.4895 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/0.1278, allocations: 11.98 kB / 0.4895 GB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.1278, allocations: 12 kB / 0.4895 GB, free: 10.36 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001661/0.128, allocations: 161.8 kB / 0.4897 GB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.196e-05/0.1281, allocations: 35.56 kB / 0.4897 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003874/0.1285, allocations: 235.5 kB / 0.4899 GB, free: 9.918 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.1285, allocations: 7.938 kB / 0.4899 GB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1285, allocations: 0 / 0.4899 GB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1285, allocations: 0 / 0.4899 GB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008282/0.1293, allocations: 0.6278 MB / 0.4906 GB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1293, allocations: 0 / 0.4906 GB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001948/0.1295, allocations: 35.92 kB / 0.4906 GB, free: 9.188 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.1296, allocations: 12.02 kB / 0.4906 GB, free: 9.176 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.1296, allocations: 4 kB / 0.4906 GB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.1296, allocations: 0 / 0.4906 GB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.1296, allocations: 4 kB / 0.4906 GB, free: 9.168 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005468/0.1302, allocations: 424.6 kB / 0.491 GB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.813e-05/0.1302, allocations: 100.9 kB / 0.4911 GB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.401e-05/0.1303, allocations: 11.98 kB / 0.4911 GB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/0.1305, allocations: 4 kB / 0.4911 GB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.1305, allocations: 15.98 kB / 0.4911 GB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.1305, allocations: 4 kB / 0.4911 GB, free: 8.578 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002124/0.1307, allocations: 219 kB / 0.4914 GB, free: 8.367 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1308, allocations: 0 / 0.4914 GB, free: 8.367 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003366/0.1311, allocations: 56 kB / 0.4914 GB, free: 8.312 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (zLoadAC.psi) * 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 (20): * Single equations (assignments): 19 * 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.0001228/0.1312, allocations: 103.2 kB / 0.4915 GB, free: 8.203 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003312/0.1316, allocations: 191.6 kB / 0.4917 GB, free: 8.016 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.1316, allocations: 0 / 0.4917 GB, free: 8.016 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.1317, allocations: 87.89 kB / 0.4918 GB, free: 7.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005333/0.1322, allocations: 81.66 kB / 0.4918 GB, free: 7.848 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.1334, allocations: 0.6741 MB / 0.4925 GB, free: 7.133 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004018/0.1338, allocations: 0.8104 MB / 0.4933 GB, free: 6.297 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.44e-05/0.1339, allocations: 27.42 kB / 0.4933 GB, free: 6.27 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1339, allocations: 0 / 0.4933 GB, free: 6.27 MB / 382.1 MB Notification: Performance of Templates: time 0.006975/0.1409, allocations: 3.871 MB / 0.4971 GB, free: 2.387 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe 2>&1)