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.001144/0.001144, allocations: 111.8 kB / 17.74 MB, free: 5.316 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.001164/0.001163, allocations: 189.6 kB / 18.67 MB, free: 4.395 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.428/1.428, allocations: 205.1 MB / 224.5 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1734/0.1734, allocations: 37.98 MB / 309.9 MB, free: 5.938 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.00214/0.00214, allocations: 71.91 kB / 432.5 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1093, allocations: 55.24 MB / 487.8 MB, free: 8.328 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.006326/0.1156, allocations: 4.207 MB / 492 MB, free: 4.09 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001917/0.1176, allocations: 0.9791 MB / 493 MB, free: 3.105 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003151/0.1179, allocations: 11.94 kB / 493 MB, free: 3.094 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002726/0.1183, allocations: 51.5 kB / 493 MB, free: 3.043 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007517/0.119, allocations: 194.9 kB / 493.2 MB, free: 2.852 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002862/0.1193, allocations: 95.8 kB / 493.3 MB, free: 2.758 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007331/0.1201, allocations: 494.3 kB / 493.8 MB, free: 2.273 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002962/0.1204, allocations: 143.3 kB / 493.9 MB, free: 2.137 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004162/0.1208, allocations: 215 kB / 494.1 MB, free: 1.926 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005578/0.1214, allocations: 247.1 kB / 494.4 MB, free: 1.684 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.582e-05/0.1215, allocations: 28 kB / 494.4 MB, free: 1.656 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.771e-05/0.1216, allocations: 28 kB / 494.4 MB, free: 1.629 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001538/0.1217, allocations: 123.7 kB / 494.6 MB, free: 1.508 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002605/0.122, allocations: 175.1 kB / 494.7 MB, free: 1.336 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004662/0.1225, allocations: 386.5 kB / 495.1 MB, free: 0.957 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1225, allocations: 4 kB / 495.1 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1225, allocations: 0 / 495.1 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.388e-05/0.1225, allocations: 0 / 495.1 MB, free: 0.9531 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.00152/0.124, allocations: 0.6829 MB / 495.8 MB, free: 224 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.1241, allocations: 19.89 kB / 495.8 MB, free: 204 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.524e-05/0.1242, allocations: 36.47 kB / 495.9 MB, free: 168 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007193/0.1249, allocations: 415 kB / 496.3 MB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.125, allocations: 16.56 kB / 496.3 MB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.711e-05/0.125, allocations: 28 kB / 496.3 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005521/0.1256, allocations: 360.7 kB / 496.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.1256, allocations: 0 / 496.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.244e-05/0.1256, allocations: 12 kB / 496.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.1256, allocations: 11.98 kB / 496.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004115/0.1261, allocations: 254 kB / 496.9 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00188/0.128, allocations: 1.442 MB / 498.4 MB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002591/0.1282, allocations: 157.1 kB / 498.5 MB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.1284, allocations: 77.67 kB / 498.6 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.1284, allocations: 4 kB / 498.6 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.1284, allocations: 42.48 kB / 498.6 MB, free: 13.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/0.1284, allocations: 0 / 498.6 MB, free: 13.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001193/0.1296, allocations: 0.6732 MB / 499.3 MB, free: 12.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.277e-05/0.1297, allocations: 81.11 kB / 499.4 MB, free: 12.35 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003317/0.13, allocations: 304.5 kB / 499.7 MB, free: 12.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.1301, allocations: 25.7 kB / 499.7 MB, free: 12.01 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.1302, allocations: 227.7 kB / 499.9 MB, free: 11.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.742e-05/0.1303, allocations: 51.2 kB / 500 MB, free: 11.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.759e-05/0.1304, allocations: 49.7 kB / 0.4883 GB, free: 11.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.1305, allocations: 338.8 kB / 0.4886 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.1306, allocations: 67.95 kB / 0.4887 GB, free: 11.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/0.1308, allocations: 164.8 kB / 0.4889 GB, free: 11.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003322/0.1311, allocations: 260.7 kB / 0.4891 GB, free: 10.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.1312, allocations: 0 / 0.4891 GB, free: 10.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004173/0.1316, allocations: 293.2 kB / 0.4894 GB, free: 10.47 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.1316, allocations: 8 kB / 0.4894 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.1316, allocations: 8 kB / 0.4894 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.1316, allocations: 7.938 kB / 0.4894 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002616/0.1319, allocations: 59.91 kB / 0.4895 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.1319, allocations: 15.86 kB / 0.4895 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.1321, allocations: 8 kB / 0.4895 GB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/0.1322, allocations: 15.98 kB / 0.4895 GB, free: 10.35 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.0002091/0.1324, allocations: 165.8 kB / 0.4897 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.888e-05/0.1324, allocations: 35.59 kB / 0.4897 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003826/0.1328, allocations: 231.5 kB / 0.4899 GB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.1328, allocations: 4 kB / 0.4899 GB, free: 9.906 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.1329, allocations: 0 / 0.4899 GB, free: 9.906 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.1329, allocations: 3.984 kB / 0.4899 GB, free: 9.902 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000769/0.1336, allocations: 0.6239 MB / 0.4905 GB, free: 9.219 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.1336, allocations: 3.984 kB / 0.4905 GB, free: 9.215 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001945/0.1339, allocations: 39.92 kB / 0.4906 GB, free: 9.176 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.1339, allocations: 4.031 kB / 0.4906 GB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.944e-05/0.1339, allocations: 8 kB / 0.4906 GB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.1339, allocations: 0 / 0.4906 GB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1339, allocations: 0 / 0.4906 GB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005341/0.1345, allocations: 420.6 kB / 0.491 GB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.491e-05/0.1346, allocations: 104.8 kB / 0.4911 GB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.861e-05/0.1346, allocations: 8.062 kB / 0.4911 GB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.1348, allocations: 11.98 kB / 0.4911 GB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/0.1348, allocations: 11.92 kB / 0.4911 GB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.1348, allocations: 8 kB / 0.4911 GB, free: 8.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002152/0.1351, allocations: 211 kB / 0.4913 GB, free: 8.367 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1351, allocations: 0 / 0.4913 GB, free: 8.367 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003454/0.1354, allocations: 60 kB / 0.4914 GB, free: 8.309 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.0001242/0.1355, allocations: 107.2 kB / 0.4915 GB, free: 8.195 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003531/0.1359, allocations: 183.6 kB / 0.4917 GB, free: 8.016 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.1359, allocations: 4 kB / 0.4917 GB, free: 8.012 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.1361, allocations: 87.83 kB / 0.4918 GB, free: 7.926 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005206/0.1366, allocations: 85.66 kB / 0.4918 GB, free: 7.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.1377, allocations: 0.678 MB / 0.4925 GB, free: 7.121 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004003/0.1381, allocations: 0.8104 MB / 0.4933 GB, free: 6.285 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.657e-05/0.1382, allocations: 23.44 kB / 0.4933 GB, free: 6.262 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1382, allocations: 0 / 0.4933 GB, free: 6.262 MB / 382.1 MB Notification: Performance of Templates: time 0.006692/0.1449, allocations: 3.84 MB / 0.4971 GB, free: 2.41 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)