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.001196/0.001196, allocations: 107.1 kB / 17.74 MB, free: 5.188 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.002222/0.002222, allocations: 193.6 kB / 18.67 MB, free: 4.266 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.42/1.42, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1773/0.1773, 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.001423/0.001423, allocations: 72.45 kB / 432.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.122, allocations: 55.24 MB / 487.8 MB, free: 8.336 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.006111/0.1282, allocations: 4.344 MB / 492.1 MB, free: 3.961 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001764/0.13, allocations: 0.9788 MB / 493.1 MB, free: 2.977 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002586/0.1302, allocations: 15.88 kB / 493.1 MB, free: 2.961 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002437/0.1305, allocations: 51.5 kB / 493.2 MB, free: 2.91 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007739/0.1313, allocations: 238.8 kB / 493.4 MB, free: 2.676 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000278/0.1316, allocations: 103.8 kB / 493.5 MB, free: 2.574 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000531/0.1322, allocations: 0.4945 MB / 494 MB, free: 2.078 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002698/0.1324, allocations: 159.6 kB / 494.2 MB, free: 1.926 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003196/0.1328, allocations: 231 kB / 494.4 MB, free: 1.699 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004447/0.1332, allocations: 263.1 kB / 494.6 MB, free: 1.441 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.698e-05/0.1333, allocations: 24 kB / 494.7 MB, free: 1.418 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.849e-05/0.1334, allocations: 28 kB / 494.7 MB, free: 1.391 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001548/0.1335, allocations: 147.6 kB / 494.8 MB, free: 1.246 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000165/0.1337, allocations: 179 kB / 495 MB, free: 1.07 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004027/0.1341, allocations: 362.7 kB / 495.4 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.1341, allocations: 0 / 495.4 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1341, allocations: 0 / 495.4 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.1341, allocations: 0 / 495.4 MB, free: 0.7148 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.001164/0.1353, allocations: 0.6633 MB / 496 MB, free: 0 / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.032e-05/0.1354, allocations: 15.94 kB / 496 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.435e-05/0.1355, allocations: 36.47 kB / 496.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005664/0.136, allocations: 383.7 kB / 496.5 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.933e-05/0.1361, allocations: 24.69 kB / 496.5 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.441e-05/0.1361, allocations: 24 kB / 496.5 MB, free: 15.49 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000527/0.1367, allocations: 352.7 kB / 496.8 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.1367, allocations: 3.938 kB / 496.8 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.793e-05/0.1367, allocations: 12 kB / 496.9 MB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001176/0.1368, allocations: 28.53 kB / 496.9 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003619/0.1372, allocations: 238 kB / 497.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001597/0.1388, allocations: 1.366 MB / 498.5 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003437/0.1392, allocations: 161.1 kB / 498.6 MB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/0.1394, allocations: 89.73 kB / 498.7 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.1394, allocations: 15.92 kB / 498.7 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.1394, allocations: 38.5 kB / 498.8 MB, free: 13.06 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.1395, allocations: 0 / 498.8 MB, free: 13.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.001348/0.1408, allocations: 0.7568 MB / 499.5 MB, free: 12.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/0.1409, allocations: 81.05 kB / 499.6 MB, free: 12.13 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002698/0.1412, allocations: 308.5 kB / 499.9 MB, free: 11.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.1412, allocations: 29.7 kB / 500 MB, free: 11.78 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.1413, allocations: 215.6 kB / 0.4884 GB, free: 11.56 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.464e-05/0.1414, allocations: 55.2 kB / 0.4885 GB, free: 11.51 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.668e-05/0.1415, allocations: 53.61 kB / 0.4885 GB, free: 11.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.1416, allocations: 338.8 kB / 0.4889 GB, free: 11.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.1417, allocations: 67.95 kB / 0.4889 GB, free: 11.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.1419, allocations: 160.8 kB / 0.4891 GB, free: 10.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002901/0.1422, allocations: 260.6 kB / 0.4893 GB, free: 10.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1422, allocations: 0 / 0.4893 GB, free: 10.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004843/0.1427, allocations: 321.6 kB / 0.4896 GB, free: 10.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.1427, allocations: 8 kB / 0.4896 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.1427, allocations: 4 kB / 0.4897 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002048/0.1429, allocations: 52.77 kB / 0.4897 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.1431, allocations: 51.91 kB / 0.4898 GB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001506/0.1446, allocations: 1.617 MB / 0.4913 GB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/0.1448, allocations: 8 kB / 0.4913 GB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.542e-05/0.1448, allocations: 8 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.0002163/0.1451, allocations: 169.8 kB / 0.4915 GB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.853e-05/0.1451, allocations: 35.61 kB / 0.4915 GB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004116/0.1455, allocations: 236.2 kB / 0.4918 GB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.1456, allocations: 4 kB / 0.4918 GB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1456, allocations: 4.062 kB / 0.4918 GB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1456, allocations: 0 / 0.4918 GB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008514/0.1464, allocations: 0.6365 MB / 0.4924 GB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.1464, allocations: 4 kB / 0.4924 GB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.1466, allocations: 23.92 kB / 0.4924 GB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001882/0.1468, allocations: 60.78 kB / 0.4925 GB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.1468, allocations: 4.031 kB / 0.4925 GB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001345/0.1481, allocations: 1.613 MB / 0.4941 GB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.1482, allocations: 4.031 kB / 0.4941 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004966/0.1487, allocations: 409.2 kB / 0.4945 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.654e-05/0.1487, allocations: 108.9 kB / 0.4946 GB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.45e-05/0.1488, allocations: 4 kB / 0.4946 GB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.1489, allocations: 7.984 kB / 0.4946 GB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/0.149, allocations: 11.98 kB / 0.4946 GB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.149, allocations: 4 kB / 0.4946 GB, free: 4.738 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000198/0.1492, allocations: 211.1 kB / 0.4948 GB, free: 4.531 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1492, allocations: 0 / 0.4948 GB, free: 4.531 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003804/0.1496, allocations: 68 kB / 0.4949 GB, free: 4.465 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.0001343/0.1497, allocations: 107.2 kB / 0.495 GB, free: 4.352 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005589/0.1503, allocations: 298.4 kB / 0.4952 GB, free: 4.047 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1503, allocations: 0.875 kB / 0.4952 GB, free: 4.047 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003384/0.1507, allocations: 210.6 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.0005072/0.1512, allocations: 76.44 kB / 0.4955 GB, free: 3.754 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.1525, allocations: 0.7654 MB / 0.4963 GB, free: 2.949 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004214/0.1529, allocations: 0.8065 MB / 0.497 GB, free: 2.117 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.89e-05/0.153, allocations: 23.44 kB / 0.4971 GB, free: 2.094 MB / 382.1 MB Notification: Performance of SimCode: time 5e-07/0.153, allocations: 0 / 0.4971 GB, free: 2.094 MB / 382.1 MB Notification: Performance of Templates: time 0.008082/0.1611, allocations: 4.87 MB / 0.5018 GB, free: 13.21 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)