Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, 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.001388/0.001389, 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.405/1.405, 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.177/0.177, allocations: 37.99 MB / 309.9 MB, free: 5.941 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.001923/0.001923, allocations: 63.91 kB / 432.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1158, allocations: 55.25 MB / 487.8 MB, free: 8.332 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.005935/0.1218, allocations: 4.336 MB / 492.1 MB, free: 3.965 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001657/0.1234, allocations: 0.9788 MB / 493.1 MB, free: 2.98 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002893/0.1238, allocations: 19.88 kB / 493.1 MB, free: 2.961 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002518/0.124, allocations: 51.5 kB / 493.2 MB, free: 2.91 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007349/0.1248, allocations: 238.8 kB / 493.4 MB, free: 2.676 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002916/0.1251, allocations: 99.8 kB / 493.5 MB, free: 2.578 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006493/0.1258, allocations: 0.4906 MB / 494 MB, free: 2.086 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002708/0.126, allocations: 159.6 kB / 494.1 MB, free: 1.934 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004223/0.1265, allocations: 235 kB / 494.4 MB, free: 1.703 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005018/0.127, allocations: 267.1 kB / 494.6 MB, free: 1.441 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.902e-05/0.1271, allocations: 24 kB / 494.7 MB, free: 1.418 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.25e-05/0.1272, allocations: 24 kB / 494.7 MB, free: 1.395 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001741/0.1273, allocations: 151.6 kB / 494.8 MB, free: 1.246 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002068/0.1276, allocations: 171.1 kB / 495 MB, free: 1.078 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003771/0.1279, allocations: 370.6 kB / 495.4 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.128, allocations: 4 kB / 495.4 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.128, allocations: 0 / 495.4 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.275e-05/0.128, allocations: 0 / 495.4 MB, free: 0.7109 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.00119/0.1292, allocations: 0.6516 MB / 496 MB, free: 8 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.1292, allocations: 11.94 kB / 496 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.544e-05/0.1293, allocations: 44.47 kB / 496.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005967/0.1299, allocations: 383.6 kB / 496.4 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.13, allocations: 24.69 kB / 496.5 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.508e-05/0.13, allocations: 24 kB / 496.5 MB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005009/0.1305, allocations: 352.7 kB / 496.8 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.1306, allocations: 0 / 496.8 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.13e-05/0.1306, allocations: 16 kB / 496.9 MB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001015/0.1307, allocations: 28.47 kB / 496.9 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003786/0.1311, allocations: 238 kB / 497.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00165/0.1327, allocations: 1.355 MB / 498.5 MB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00034/0.1331, allocations: 173 kB / 498.6 MB, free: 13.22 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/0.1333, allocations: 101.7 kB / 498.7 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.1333, allocations: 0 / 498.7 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.193e-05/0.1334, allocations: 46.48 kB / 498.8 MB, free: 13.06 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.263e-06/0.1334, allocations: 0 / 498.8 MB, free: 13.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.001576/0.1349, allocations: 0.756 MB / 499.5 MB, free: 12.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.135, allocations: 81.11 kB / 499.6 MB, free: 12.13 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002859/0.1353, allocations: 304.3 kB / 499.9 MB, free: 11.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.1353, allocations: 29.7 kB / 499.9 MB, free: 11.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.1355, allocations: 211.8 kB / 0.4884 GB, free: 11.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/0.1355, allocations: 63.19 kB / 0.4885 GB, free: 11.51 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.216e-05/0.1356, allocations: 49.61 kB / 0.4885 GB, free: 11.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.1357, allocations: 342.8 kB / 0.4889 GB, free: 11.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.1358, allocations: 59.97 kB / 0.4889 GB, free: 11.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.136, allocations: 168.8 kB / 0.4891 GB, free: 10.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002955/0.1363, allocations: 260.6 kB / 0.4893 GB, free: 10.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1363, allocations: 0 / 0.4893 GB, free: 10.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004792/0.1368, allocations: 318 kB / 0.4896 GB, free: 10.22 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.1368, allocations: 12.06 kB / 0.4896 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.1368, allocations: 4 kB / 0.4897 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000207/0.1371, allocations: 56.75 kB / 0.4897 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.1372, allocations: 43.92 kB / 0.4897 GB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001353/0.1386, allocations: 1.609 MB / 0.4913 GB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.1388, allocations: 12 kB / 0.4913 GB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.1388, allocations: 15.98 kB / 0.4913 GB, free: 8.324 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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001734/0.139, allocations: 169.9 kB / 0.4915 GB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.073e-05/0.139, allocations: 27.62 kB / 0.4915 GB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004031/0.1394, allocations: 244.3 kB / 0.4918 GB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.1395, allocations: 4 kB / 0.4918 GB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.1395, allocations: 0 / 0.4918 GB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.1395, allocations: 3.984 kB / 0.4918 GB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000846/0.1403, allocations: 0.6443 MB / 0.4924 GB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1403, allocations: 0 / 0.4924 GB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.1404, allocations: 27.92 kB / 0.4924 GB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001816/0.1406, allocations: 52.8 kB / 0.4925 GB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.1407, allocations: 8 kB / 0.4925 GB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001243/0.1419, allocations: 1.605 MB / 0.4941 GB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.1419, allocations: 4.094 kB / 0.4941 GB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004992/0.1424, allocations: 417.4 kB / 0.4945 GB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.747e-05/0.1425, allocations: 100.7 kB / 0.4946 GB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.181e-05/0.1426, allocations: 11.98 kB / 0.4946 GB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.1427, allocations: 3.938 kB / 0.4946 GB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.1428, allocations: 20.05 kB / 0.4946 GB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.1428, allocations: 7.984 kB / 0.4946 GB, free: 4.727 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001941/0.143, allocations: 207.1 kB / 0.4948 GB, free: 4.523 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.143, allocations: 0 / 0.4948 GB, free: 4.523 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000373/0.1434, allocations: 68 kB / 0.4949 GB, free: 4.457 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001206/0.1435, allocations: 99.25 kB / 0.495 GB, free: 4.352 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005495/0.144, allocations: 310.5 kB / 0.4952 GB, free: 4.035 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1441, allocations: 0 / 0.4952 GB, free: 4.035 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003261/0.1444, allocations: 199.5 kB / 0.4954 GB, free: 3.828 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004965/0.1449, allocations: 72.5 kB / 0.4955 GB, free: 3.758 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.1461, allocations: 0.7653 MB / 0.4963 GB, free: 2.953 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003794/0.1465, allocations: 0.8104 MB / 0.497 GB, free: 2.117 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.024e-05/0.1466, allocations: 27.42 kB / 0.4971 GB, free: 2.09 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1466, allocations: 0 / 0.4971 GB, free: 2.09 MB / 382.1 MB Notification: Performance of Templates: time 0.007709/0.1543, allocations: 4.914 MB / 0.5019 GB, free: 13.16 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1)