Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance") translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001347/0.001347, allocations: 173.1 kB / 15.77 MB, free: 6.32 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.579/1.579, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007637/0.0007637, allocations: 102.2 kB / 270.3 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1688/0.1688, allocations: 38.07 MB / 356.6 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003521/0.0003521, allocations: 8 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1088, allocations: 56.33 MB / 479.1 MB, free: 2.047 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.005297/0.1142, allocations: 4.598 MB / 483.7 MB, free: 13.42 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00254/0.1168, allocations: 1.607 MB / 485.3 MB, free: 11.81 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002265/0.117, allocations: 23.88 kB / 485.3 MB, free: 11.79 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002615/0.1173, allocations: 79.39 kB / 485.4 MB, free: 11.71 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005892/0.1179, allocations: 262.6 kB / 485.6 MB, free: 11.45 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006209/0.1185, allocations: 231.6 kB / 485.8 MB, free: 11.22 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006314/0.1192, allocations: 0.6664 MB / 486.5 MB, free: 10.55 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008094/0.12, allocations: 0.5398 MB / 487.1 MB, free: 9.984 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000288/0.1203, allocations: 211 kB / 487.3 MB, free: 9.777 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004473/0.1207, allocations: 307 kB / 487.6 MB, free: 9.477 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.976e-05/0.1208, allocations: 16 kB / 487.6 MB, free: 9.461 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002463/0.1211, allocations: 91.86 kB / 487.7 MB, free: 9.371 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002511/0.1213, allocations: 215.5 kB / 487.9 MB, free: 9.16 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.1214, allocations: 109.5 kB / 488 MB, free: 9.047 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004881/0.1219, allocations: 446.9 kB / 488.4 MB, free: 8.609 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.122, allocations: 4 kB / 488.4 MB, free: 8.605 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.122, allocations: 3.938 kB / 488.4 MB, free: 8.602 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.53e-05/0.122, allocations: 0 / 488.4 MB, free: 8.602 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001266/0.1233, allocations: 0.6918 MB / 489.1 MB, free: 7.859 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.1233, allocations: 8.031 kB / 489.1 MB, free: 7.852 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005555/0.1239, allocations: 95.28 kB / 489.2 MB, free: 7.758 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005888/0.1245, allocations: 383 kB / 489.6 MB, free: 7.34 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.143e-05/0.1245, allocations: 32.98 kB / 489.6 MB, free: 7.309 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/0.1247, allocations: 51.98 kB / 489.7 MB, free: 7.258 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009555/0.1256, allocations: 0.6411 MB / 490.3 MB, free: 6.551 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/0.1257, allocations: 3.938 kB / 490.3 MB, free: 6.547 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.586e-05/0.1257, allocations: 27.98 kB / 490.4 MB, free: 6.52 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001255/0.1259, allocations: 32.98 kB / 490.4 MB, free: 6.484 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007623/0.1266, allocations: 479.5 kB / 490.9 MB, free: 6.02 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003426/0.1301, allocations: 3.014 MB / 493.9 MB, free: 2.84 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000291/0.1304, allocations: 181 kB / 494 MB, free: 2.645 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/0.1305, allocations: 105.7 kB / 494.1 MB, free: 2.535 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-05/0.1306, allocations: 7.984 kB / 494.2 MB, free: 2.527 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.1306, allocations: 38.56 kB / 494.2 MB, free: 2.48 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 4.548e-06/0.1306, allocations: 0 / 494.2 MB, free: 2.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.001355/0.132, allocations: 0.8434 MB / 495 MB, free: 1.582 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.094e-05/0.1321, allocations: 81.11 kB / 495.1 MB, free: 1.484 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00034/0.1324, allocations: 349.5 kB / 495.5 MB, free: 1.137 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.857e-05/0.1325, allocations: 33.83 kB / 495.5 MB, free: 1.098 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002032/0.1327, allocations: 302.9 kB / 495.8 MB, free: 0.793 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.52e-05/0.1327, allocations: 74.94 kB / 495.9 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.885e-05/0.1328, allocations: 8 kB / 495.9 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.1329, allocations: 346.8 kB / 496.2 MB, free: 372 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/0.1332, allocations: 124.8 kB / 496.3 MB, free: 248 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000364/0.1335, allocations: 331 kB / 496.6 MB, free: 15.82 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002829/0.1338, allocations: 195.7 kB / 496.8 MB, free: 15.63 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.1338, allocations: 4 kB / 496.8 MB, free: 15.63 MB / 346.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009834/0.1348, allocations: 0.5497 MB / 497.4 MB, free: 15.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.1349, allocations: 12.19 kB / 497.4 MB, free: 15.06 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005284/0.1354, allocations: 272.6 kB / 497.7 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003677/0.1358, allocations: 80.78 kB / 497.8 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003277/0.1361, allocations: 95.83 kB / 497.8 MB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001699/0.1378, allocations: 1.605 MB / 499.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002331/0.1381, allocations: 23.98 kB / 499.5 MB, free: 12.85 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.986e-05/0.1381, allocations: 19.94 kB / 499.5 MB, free: 12.83 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002532/0.1384, allocations: 221.7 kB / 499.7 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.997e-05/0.1384, allocations: 35.58 kB / 499.7 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004669/0.1389, allocations: 292.8 kB / 0.4883 GB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1389, allocations: 0 / 0.4883 GB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1389, allocations: 4 kB / 0.4883 GB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.1389, allocations: 3.984 kB / 0.4883 GB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.1401, allocations: 0.798 MB / 0.4891 GB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1401, allocations: 0 / 0.4891 GB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002854/0.1404, allocations: 51.91 kB / 0.4891 GB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.1404, allocations: 4 kB / 0.4891 GB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/0.1405, allocations: 8 kB / 0.4892 GB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.1405, allocations: 4 kB / 0.4892 GB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1405, allocations: 0 / 0.4892 GB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000579/0.1411, allocations: 482.3 kB / 0.4896 GB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.1412, allocations: 120.6 kB / 0.4897 GB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.517e-05/0.1412, allocations: 4 kB / 0.4897 GB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.1414, allocations: 8 kB / 0.4897 GB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/0.1414, allocations: 23.97 kB / 0.4898 GB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.1415, allocations: 8 kB / 0.4898 GB, free: 10.67 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002294/0.1417, allocations: 231.2 kB / 0.49 GB, free: 10.45 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1417, allocations: 0 / 0.49 GB, free: 10.45 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004474/0.1422, allocations: 92 kB / 0.4901 GB, free: 10.36 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * 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 (24): * Single equations (assignments): 23 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001371/0.1423, allocations: 107.2 kB / 0.4902 GB, free: 10.24 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007392/0.1431, allocations: 442.3 kB / 0.4906 GB, free: 9.793 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1431, allocations: 1.75 kB / 0.4906 GB, free: 9.793 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001751/0.1433, allocations: 115.8 kB / 0.4907 GB, free: 9.68 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004794/0.1437, allocations: 73.47 kB / 0.4908 GB, free: 9.609 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001717/0.1455, allocations: 1.263 MB / 0.492 GB, free: 8.305 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004789/0.146, allocations: 0.8704 MB / 0.4929 GB, free: 7.41 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.1461, allocations: 31.44 kB / 0.4929 GB, free: 7.379 MB / 346.7 MB Notification: Performance of SimCode: time 1.974e-06/0.1461, allocations: 0 / 0.4929 GB, free: 7.379 MB / 346.7 MB Notification: Performance of Templates: time 0.007923/0.154, allocations: 5.602 MB / 0.4984 GB, free: 1.766 MB / 346.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1)