Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest") translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002319/0.002319, allocations: 183.5 kB / 15.77 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.204/2.204, allocations: 205.4 MB / 221.9 MB, free: 13.8 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.001169/0.001169, allocations: 98.84 kB / 270.2 MB, free: 13.33 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2693/0.2693, allocations: 38.06 MB / 356.6 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004583/0.0004585, allocations: 8 kB / 422.7 MB, free: 26.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1084, allocations: 56.34 MB / 479 MB, free: 2.043 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.005268/0.1137, allocations: 3.101 MB / 482.1 MB, free: 14.92 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003146/0.1169, allocations: 1.409 MB / 483.5 MB, free: 13.5 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002498/0.1172, allocations: 15.88 kB / 483.6 MB, free: 13.49 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001912/0.1174, allocations: 39.7 kB / 483.6 MB, free: 13.45 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008016/0.1182, allocations: 171.5 kB / 483.8 MB, free: 13.28 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004353/0.1187, allocations: 91.73 kB / 483.9 MB, free: 13.19 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003559/0.1191, allocations: 151.7 kB / 484 MB, free: 13.04 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009281/0.12, allocations: 311.1 kB / 484.3 MB, free: 12.72 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003217/0.1204, allocations: 103.6 kB / 484.4 MB, free: 12.62 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002042/0.1206, allocations: 79.67 kB / 484.5 MB, free: 12.54 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.308e-05/0.1206, allocations: 12 kB / 484.5 MB, free: 12.53 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005331/0.1212, allocations: 155.7 kB / 484.6 MB, free: 12.38 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001393/0.1213, allocations: 79.78 kB / 484.7 MB, free: 12.3 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.128e-05/0.1214, allocations: 65.58 kB / 484.8 MB, free: 12.23 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005156/0.122, allocations: 243.5 kB / 485 MB, free: 11.99 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.122, allocations: 3.938 kB / 485 MB, free: 11.99 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.118e-06/0.122, allocations: 3.984 kB / 485 MB, free: 11.98 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.122, allocations: 0 / 485 MB, free: 11.98 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008448/0.1229, allocations: 474.7 kB / 485.5 MB, free: 11.47 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.1229, allocations: 11.97 kB / 485.5 MB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001316/0.1243, allocations: 103.6 kB / 485.6 MB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005045/0.1248, allocations: 259.1 kB / 485.9 MB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.937e-05/0.1248, allocations: 12 kB / 485.9 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.518e-05/0.1249, allocations: 16 kB / 485.9 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007647/0.1257, allocations: 318.2 kB / 486.2 MB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.1257, allocations: 0 / 486.2 MB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.663e-05/0.1258, allocations: 8 kB / 486.2 MB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.926e-05/0.1258, allocations: 19.98 kB / 486.2 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007208/0.1266, allocations: 291.6 kB / 486.5 MB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002658/0.1293, allocations: 1.293 MB / 487.8 MB, free: 9 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009755/0.1303, allocations: 205.2 kB / 488 MB, free: 8.781 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.983e-05/0.1304, allocations: 4.062 kB / 488 MB, free: 8.777 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.1304, allocations: 38.56 kB / 488 MB, free: 8.73 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 3.376e-06/0.1304, allocations: 224 / 488 MB, free: 8.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.001482/0.1319, allocations: 430.1 kB / 488.5 MB, free: 8.281 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.583e-05/0.132, allocations: 85.05 kB / 488.6 MB, free: 8.18 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000289/0.1323, allocations: 202.3 kB / 488.8 MB, free: 7.969 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.1324, allocations: 25.7 kB / 488.8 MB, free: 7.938 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001654/0.1325, allocations: 230.2 kB / 489 MB, free: 7.711 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.245e-05/0.1326, allocations: 47.3 kB / 489 MB, free: 7.664 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.454e-05/0.1326, allocations: 8 kB / 489.1 MB, free: 7.656 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1328, allocations: 322.8 kB / 489.4 MB, free: 7.332 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.133, allocations: 47.97 kB / 489.4 MB, free: 7.285 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/0.1332, allocations: 156.8 kB / 489.6 MB, free: 7.086 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002209/0.1334, allocations: 75.97 kB / 489.6 MB, free: 7.012 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.1335, allocations: 7.938 kB / 489.7 MB, free: 7.004 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007424/0.1342, allocations: 250.6 kB / 489.9 MB, free: 6.75 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.98e-05/0.1342, allocations: 8 kB / 489.9 MB, free: 6.742 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.1343, allocations: 4 kB / 489.9 MB, free: 6.738 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003447/0.1346, allocations: 37.27 kB / 489.9 MB, free: 6.699 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002963/0.1349, allocations: 51.98 kB / 490 MB, free: 6.648 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001742/0.1367, allocations: 1.35 MB / 491.3 MB, free: 5.164 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002481/0.137, allocations: 4 kB / 491.3 MB, free: 5.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.776e-05/0.137, allocations: 16 kB / 491.4 MB, free: 5.145 MB / 330.7 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 (24): * Single equations (assignments): 23 * 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.000267/0.1373, allocations: 153.8 kB / 491.5 MB, free: 4.984 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.656e-05/0.1374, allocations: 15.81 kB / 491.5 MB, free: 4.969 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006838/0.1381, allocations: 192.1 kB / 491.7 MB, free: 4.777 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.869e-06/0.1381, allocations: 3.953 kB / 491.7 MB, free: 4.773 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.1382, allocations: 4 kB / 491.7 MB, free: 4.77 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.1382, allocations: 0 / 491.7 MB, free: 4.77 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001468/0.1396, allocations: 0.5679 MB / 492.3 MB, free: 4.133 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.723e-05/0.1397, allocations: 4.031 kB / 492.3 MB, free: 4.129 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001953/0.1399, allocations: 20 kB / 492.3 MB, free: 4.109 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002529/0.1402, allocations: 28.83 kB / 492.3 MB, free: 4.078 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-05/0.1403, allocations: 7.984 kB / 492.4 MB, free: 4.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001608/0.1419, allocations: 1.323 MB / 493.7 MB, free: 2.613 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.142, allocations: 0 / 493.7 MB, free: 2.613 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006816/0.1426, allocations: 358.5 kB / 494 MB, free: 2.207 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.913e-05/0.1428, allocations: 88.92 kB / 494.1 MB, free: 2.102 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.611e-05/0.1428, allocations: 12 kB / 494.1 MB, free: 2.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.143, allocations: 11.98 kB / 494.1 MB, free: 2.078 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.392e-05/0.1431, allocations: 11.92 kB / 494.1 MB, free: 2.066 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/0.1431, allocations: 8 kB / 494.2 MB, free: 2.059 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001843/0.1433, allocations: 144.1 kB / 494.3 MB, free: 1.918 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.1433, allocations: 0 / 494.3 MB, free: 1.918 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005394/0.1439, allocations: 52 kB / 494.3 MB, free: 1.867 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (14): * Single equations (assignments): 12 * 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.0001379/0.144, allocations: 103.2 kB / 494.4 MB, free: 1.758 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007476/0.1448, allocations: 278.2 kB / 494.7 MB, free: 1.473 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.1448, allocations: 0.875 kB / 494.7 MB, free: 1.473 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003539/0.1452, allocations: 178.7 kB / 494.9 MB, free: 1.285 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003795/0.1455, allocations: 32.08 kB / 494.9 MB, free: 1.254 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.1468, allocations: 0.5551 MB / 495.5 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000485/0.1473, allocations: 0.7676 MB / 496.3 MB, free: 15.86 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.336e-05/0.1474, allocations: 19.44 kB / 496.3 MB, free: 15.84 MB / 346.7 MB Notification: Performance of SimCode: time 9.92e-07/0.1474, allocations: 3.938 kB / 496.3 MB, free: 15.84 MB / 346.7 MB Notification: Performance of Templates: time 0.007814/0.1552, allocations: 3.067 MB / 499.3 MB, free: 12.76 MB / 346.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1)