Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest") translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000784/0.0007843, allocations: 93.7 kB / 17.31 MB, free: 6.535 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.0009883/0.0009883, allocations: 175.3 kB / 18.21 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 223.3 MB / 242.2 MB, free: 264 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1937/0.1937, allocations: 38.09 MB / 331.4 MB, free: 8.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003954/0.0003956, allocations: 8 kB / 401.4 MB, free: 34.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1242, allocations: 59.17 MB / 460.5 MB, free: 7.082 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.00458/0.1288, allocations: 3.311 MB / 463.8 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002445/0.1313, allocations: 1.485 MB / 465.3 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002779/0.1316, allocations: 11.94 kB / 465.3 MB, free: 2.246 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001945/0.1318, allocations: 31.77 kB / 465.4 MB, free: 2.215 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008401/0.1327, allocations: 259.2 kB / 465.6 MB, free: 1.961 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003737/0.1331, allocations: 99.75 kB / 465.7 MB, free: 1.863 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007012/0.1338, allocations: 0.565 MB / 466.3 MB, free: 1.297 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006793/0.1345, allocations: 322.9 kB / 466.6 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003038/0.1348, allocations: 119.4 kB / 466.7 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000311/0.1351, allocations: 151.5 kB / 466.9 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.1352, allocations: 8 kB / 466.9 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006811/0.1359, allocations: 383.1 kB / 467.2 MB, free: 320 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001216/0.136, allocations: 91.77 kB / 467.3 MB, free: 228 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.1361, allocations: 121.2 kB / 467.5 MB, free: 100 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000415/0.1365, allocations: 255.4 kB / 467.7 MB, free: 15.85 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.1366, allocations: 0 / 467.7 MB, free: 15.85 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1366, allocations: 0 / 467.7 MB, free: 15.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.1366, allocations: 4 kB / 467.7 MB, free: 15.84 MB / 350.1 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.0007071/0.1373, allocations: 470.8 kB / 468.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.1373, allocations: 12.02 kB / 468.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000849/0.1382, allocations: 92.56 kB / 468.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003162/0.1385, allocations: 262.5 kB / 468.5 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.806e-05/0.1386, allocations: 20.31 kB / 468.5 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.597e-05/0.1386, allocations: 19.94 kB / 468.6 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004959/0.1391, allocations: 310.3 kB / 468.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.1392, allocations: 15.78 kB / 468.9 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.086e-05/0.1392, allocations: 15.98 kB / 468.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.368e-05/0.1392, allocations: 15.98 kB / 468.9 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004278/0.1397, allocations: 283.8 kB / 469.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001692/0.1414, allocations: 1.305 MB / 470.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005217/0.1419, allocations: 213.1 kB / 470.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.519e-05/0.142, allocations: 57.7 kB / 470.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.1421, allocations: 8 kB / 470.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.1421, allocations: 30.56 kB / 470.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.1421, allocations: 0 / 470.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008673/0.143, allocations: 426.5 kB / 471.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.143, allocations: 89.05 kB / 471.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.1432, allocations: 194.5 kB / 471.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.1432, allocations: 29.7 kB / 471.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.1433, allocations: 159.8 kB / 471.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.587e-05/0.1434, allocations: 55.28 kB / 471.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.014e-05/0.1434, allocations: 17.72 kB / 471.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1436, allocations: 338.8 kB / 472.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.259e-05/0.1437, allocations: 51.97 kB / 472.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.1438, allocations: 145.7 kB / 472.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002804/0.1441, allocations: 240.6 kB / 472.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1441, allocations: 0 / 472.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004399/0.1446, allocations: 258 kB / 472.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.1446, allocations: 4 kB / 472.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.1446, allocations: 4 kB / 472.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002231/0.1448, allocations: 40.83 kB / 472.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.145, allocations: 48.28 kB / 472.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001138/0.1461, allocations: 1.339 MB / 474.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.1463, allocations: 12.14 kB / 474.2 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.1463, allocations: 12 kB / 474.2 MB, free: 8.77 MB / 350.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 (24): * Single equations (assignments): 23 * 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.0001548/0.1465, allocations: 154.2 kB / 474.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.844e-05/0.1465, allocations: 23.8 kB / 474.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003766/0.1469, allocations: 187.9 kB / 474.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.1469, allocations: 4 kB / 474.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.1469, allocations: 3.984 kB / 474.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1469, allocations: 4 kB / 474.6 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008024/0.1477, allocations: 0.5639 MB / 475.1 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1478, allocations: 0 / 475.1 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.684e-05/0.1479, allocations: 23.98 kB / 475.2 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001349/0.148, allocations: 32.92 kB / 475.2 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.499e-05/0.148, allocations: 8 kB / 475.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001088/0.1491, allocations: 1.319 MB / 476.5 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.1492, allocations: 7.875 kB / 476.5 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003832/0.1496, allocations: 291.7 kB / 476.8 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.846e-05/0.1496, allocations: 96.92 kB / 476.9 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.1497, allocations: 0 / 476.9 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.1498, allocations: 11.98 kB / 476.9 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.573e-05/0.1498, allocations: 15.92 kB / 476.9 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.1498, allocations: 4 kB / 477 MB, free: 5.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000116/0.15, allocations: 152.3 kB / 477.1 MB, free: 5.621 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.953e-06/0.15, allocations: 0 / 477.1 MB, free: 5.621 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003572/0.1503, allocations: 51.94 kB / 477.1 MB, free: 5.57 MB / 350.1 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 (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.0001187/0.1505, allocations: 99.19 kB / 477.2 MB, free: 5.461 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004537/0.1509, allocations: 275 kB / 477.5 MB, free: 5.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1509, allocations: 0 / 477.5 MB, free: 5.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002228/0.1512, allocations: 174.6 kB / 477.7 MB, free: 4.996 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.1515, allocations: 27.98 kB / 477.7 MB, free: 4.969 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008468/0.1524, allocations: 0.5749 MB / 478.3 MB, free: 4.348 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003861/0.1528, allocations: 0.7556 MB / 479 MB, free: 3.562 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.418e-05/0.1529, allocations: 31.42 kB / 479.1 MB, free: 3.535 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1529, allocations: 0 / 479.1 MB, free: 3.535 MB / 350.1 MB Notification: Performance of Templates: time 0.005766/0.1586, allocations: 3.134 MB / 482.2 MB, free: 404 kB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTestCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTestCalcHelperMain.o] Error 1