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.001055/0.001055, allocations: 87.5 kB / 16.3 MB, free: 5.996 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.001151/0.001151, allocations: 186.9 kB / 17.2 MB, free: 5.91 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.682/1.682, allocations: 205.4 MB / 223.4 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3399/0.3399, allocations: 38.04 MB / 309.7 MB, free: 8.953 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.0005135/0.0005136, allocations: 18.19 kB / 376.5 MB, free: 15.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1154, allocations: 56.34 MB / 432.8 MB, free: 6.707 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.004712/0.1202, allocations: 4.219 MB / 437 MB, free: 2.465 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001715/0.1219, allocations: 1.143 MB / 438.2 MB, free: 1.316 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000225/0.1222, allocations: 19.88 kB / 438.2 MB, free: 1.297 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001619/0.1223, allocations: 59.53 kB / 438.3 MB, free: 1.238 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006166/0.1229, allocations: 211.3 kB / 438.5 MB, free: 1.031 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002944/0.1233, allocations: 115.8 kB / 438.6 MB, free: 0.918 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003061/0.1236, allocations: 251.4 kB / 438.8 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002029/0.1238, allocations: 113.7 kB / 438.9 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002325/0.124, allocations: 155.4 kB / 439.1 MB, free: 416 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003022/0.1243, allocations: 179.4 kB / 439.3 MB, free: 236 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.852e-05/0.1244, allocations: 12 kB / 439.3 MB, free: 224 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.754e-05/0.1244, allocations: 12 kB / 439.3 MB, free: 212 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.1245, allocations: 119.7 kB / 439.4 MB, free: 92 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.175e-05/0.1246, allocations: 89.59 kB / 439.5 MB, free: 15.99 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002684/0.1249, allocations: 271.2 kB / 439.8 MB, free: 15.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.1249, allocations: 0 / 439.8 MB, free: 15.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1249, allocations: 0 / 439.8 MB, free: 15.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.046e-06/0.1249, allocations: 4 kB / 439.8 MB, free: 15.73 MB / 382.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.0009011/0.1259, allocations: 0.6008 MB / 440.4 MB, free: 15.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.906e-05/0.1259, allocations: 8.031 kB / 440.4 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.134e-05/0.126, allocations: 43.45 kB / 440.4 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004379/0.1264, allocations: 346.7 kB / 440.8 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.1264, allocations: 20.56 kB / 440.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.729e-05/0.1265, allocations: 28 kB / 440.8 MB, free: 14.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004217/0.1269, allocations: 344.7 kB / 441.1 MB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.1269, allocations: 3.938 kB / 441.1 MB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.833e-05/0.127, allocations: 19.94 kB / 441.2 MB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.169e-05/0.1271, allocations: 28.53 kB / 441.2 MB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003291/0.1274, allocations: 238 kB / 441.4 MB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001516/0.1289, allocations: 1.386 MB / 442.8 MB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003192/0.1293, allocations: 157 kB / 443 MB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.1293, allocations: 8.062 kB / 443 MB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.1293, allocations: 38.55 kB / 443 MB, free: 12.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.1293, allocations: 3.938 kB / 443 MB, free: 12.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.001233/0.1306, allocations: 0.76 MB / 443.8 MB, free: 11.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.1306, allocations: 81.23 kB / 443.9 MB, free: 11.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002755/0.1309, allocations: 296.5 kB / 444.1 MB, free: 11.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.1309, allocations: 29.7 kB / 444.2 MB, free: 10.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.1311, allocations: 215.6 kB / 444.4 MB, free: 10.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.659e-05/0.1312, allocations: 63.12 kB / 444.4 MB, free: 10.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.397e-06/0.1312, allocations: 4 kB / 444.4 MB, free: 10.7 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.1313, allocations: 338.8 kB / 444.8 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.1314, allocations: 63.95 kB / 444.8 MB, free: 10.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/0.1316, allocations: 172.7 kB / 445 MB, free: 10.08 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.1317, allocations: 103.8 kB / 445.1 MB, free: 9.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1317, allocations: 0 / 445.1 MB, free: 9.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004463/0.1322, allocations: 325.7 kB / 445.4 MB, free: 9.652 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1322, allocations: 4 kB / 445.4 MB, free: 9.648 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.1323, allocations: 4 kB / 445.4 MB, free: 9.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001852/0.1324, allocations: 57.25 kB / 445.5 MB, free: 9.586 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.1326, allocations: 51.92 kB / 445.5 MB, free: 9.535 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001193/0.1338, allocations: 1.507 MB / 447.1 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.134, allocations: 4 kB / 447.1 MB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.134, allocations: 12 kB / 447.1 MB, free: 7.879 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001598/0.1342, allocations: 182.6 kB / 447.2 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.379e-05/0.1342, allocations: 27.7 kB / 447.3 MB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003713/0.1346, allocations: 236.3 kB / 447.5 MB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.1346, allocations: 4.188 kB / 447.5 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1346, allocations: 4 kB / 447.5 MB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.1346, allocations: 7.938 kB / 447.5 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007622/0.1354, allocations: 0.621 MB / 448.1 MB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1354, allocations: 4 kB / 448.1 MB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.1355, allocations: 23.92 kB / 448.2 MB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001768/0.1357, allocations: 68.73 kB / 448.2 MB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.1357, allocations: 8.031 kB / 448.2 MB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001318/0.1371, allocations: 1.507 MB / 449.7 MB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1371, allocations: 0 / 449.7 MB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004791/0.1376, allocations: 429 kB / 450.2 MB, free: 4.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.82e-05/0.1377, allocations: 105 kB / 450.3 MB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.43e-05/0.1377, allocations: 8 kB / 450.3 MB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.1378, allocations: 7.984 kB / 450.3 MB, free: 4.383 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.347e-05/0.1379, allocations: 15.94 kB / 450.3 MB, free: 4.367 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.1379, allocations: 4 kB / 450.3 MB, free: 4.363 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001816/0.1381, allocations: 207.1 kB / 450.5 MB, free: 4.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1381, allocations: 0 / 450.5 MB, free: 4.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000369/0.1385, allocations: 68 kB / 450.6 MB, free: 4.094 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001197/0.1386, allocations: 111.1 kB / 450.7 MB, free: 3.977 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004695/0.1391, allocations: 290.4 kB / 451 MB, free: 3.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.1391, allocations: 0 / 451 MB, free: 3.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000343/0.1394, allocations: 220.1 kB / 451.2 MB, free: 3.453 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004257/0.1399, allocations: 60.55 kB / 451.2 MB, free: 3.395 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.1412, allocations: 0.8886 MB / 452.1 MB, free: 2.473 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004089/0.1416, allocations: 0.8145 MB / 452.9 MB, free: 1.633 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001463/0.1418, allocations: 46.95 kB / 453 MB, free: 1.586 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.49e-05/0.1418, allocations: 19.44 kB / 453 MB, free: 1.566 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1418, allocations: 0 / 453 MB, free: 1.566 MB / 382.1 MB Notification: Performance of Templates: time 0.1957/0.3376, allocations: 2.714 MB / 455.7 MB, free: 50.36 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: