Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.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/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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(PowerSysPro.Examples.OneSourceOneTransfoOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008354/0.0008353, allocations: 92.44 kB / 16.37 MB, free: 5.961 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.0008688/0.0008688, allocations: 188.3 kB / 17.27 MB, free: 5.84 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.567/1.567, allocations: 223.2 MB / 241.3 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2745/0.2745, allocations: 8.084 MB / 300.5 MB, free: 2.918 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000365/0.000365, allocations: 8 kB / 363.5 MB, free: 13.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1415, allocations: 52.51 MB / 416 MB, free: 8.723 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLoad): time 0.001633/0.1432, allocations: 0.898 MB / 416.9 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002165/0.1454, allocations: 1.412 MB / 418.3 MB, free: 6.398 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.195e-05/0.1455, allocations: 8 kB / 418.3 MB, free: 6.391 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002812/0.1458, allocations: 83.61 kB / 418.4 MB, free: 6.309 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002782/0.1461, allocations: 79.53 kB / 418.5 MB, free: 6.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00145/0.1476, allocations: 0.8061 MB / 419.3 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002599/0.1478, allocations: 147.2 kB / 419.4 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/0.148, allocations: 41.66 kB / 419.5 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.915e-05/0.1481, allocations: 63.77 kB / 419.5 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001655/0.1482, allocations: 71.69 kB / 419.6 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.1483, allocations: 11.94 kB / 419.6 MB, free: 5.086 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003815/0.1487, allocations: 215.8 kB / 419.8 MB, free: 4.875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.112e-05/0.1487, allocations: 23.86 kB / 419.8 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.823e-05/0.1488, allocations: 49.64 kB / 419.9 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003209/0.1491, allocations: 231.7 kB / 420.1 MB, free: 4.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.1491, allocations: 4 kB / 420.1 MB, free: 4.566 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.1491, allocations: 0 / 420.1 MB, free: 4.566 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1491, allocations: 0 / 420.1 MB, free: 4.566 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.002062/0.1512, allocations: 0.6978 MB / 420.8 MB, free: 3.816 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.1513, allocations: 16.02 kB / 420.8 MB, free: 3.801 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.784e-05/0.1513, allocations: 19.77 kB / 420.9 MB, free: 3.781 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/0.1517, allocations: 218.8 kB / 421.1 MB, free: 3.527 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.1517, allocations: 12.23 kB / 421.1 MB, free: 3.516 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.103e-05/0.1517, allocations: 12 kB / 421.1 MB, free: 3.504 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003448/0.1521, allocations: 205.3 kB / 421.3 MB, free: 3.293 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1521, allocations: 4 kB / 421.3 MB, free: 3.289 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.419e-05/0.1521, allocations: 8 kB / 421.3 MB, free: 3.281 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.1521, allocations: 0 / 421.3 MB, free: 3.281 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002512/0.1524, allocations: 160.6 kB / 421.5 MB, free: 3.125 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.1536, allocations: 0.734 MB / 422.2 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004811/0.1541, allocations: 194.5 kB / 422.4 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.1543, allocations: 96.83 kB / 422.5 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.377e-05/0.1543, allocations: 7.984 kB / 422.5 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.1544, allocations: 38.56 kB / 422.5 MB, free: 1.965 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.1544, allocations: 0 / 422.5 MB, free: 1.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001794/0.1562, allocations: 0.5912 MB / 423.1 MB, free: 1.348 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.768e-05/0.1562, allocations: 77.11 kB / 423.2 MB, free: 1.254 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/0.1564, allocations: 174.6 kB / 423.4 MB, free: 1.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.1565, allocations: 37.64 kB / 423.4 MB, free: 1.027 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.842e-05/0.1566, allocations: 120.3 kB / 423.5 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.585e-05/0.1566, allocations: 55.2 kB / 423.6 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.251e-05/0.1567, allocations: 0 / 423.6 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.1568, allocations: 326.8 kB / 423.9 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.157, allocations: 99.95 kB / 424 MB, free: 436 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.1572, allocations: 129.5 kB / 424.1 MB, free: 300 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.1574, allocations: 112 kB / 424.2 MB, free: 188 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1574, allocations: 0 / 424.2 MB, free: 188 kB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.2756/0.4329, allocations: 415.4 kB / 424.6 MB, free: 41.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.935e-05/0.433, allocations: 5.5 kB / 424.6 MB, free: 41.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.433, allocations: 0 / 424.6 MB, free: 41.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001378/0.4344, allocations: 209 kB / 424.8 MB, free: 41.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000271/0.4347, allocations: 36.92 kB / 424.9 MB, free: 41.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003141/0.4379, allocations: 1.832 MB / 426.7 MB, free: 39.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002437/0.4381, allocations: 24.55 kB / 426.7 MB, free: 39.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.919e-05/0.4382, allocations: 7.047 kB / 426.7 MB, free: 39.83 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * 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: 0 * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001533/0.4383, allocations: 130.4 kB / 426.9 MB, free: 39.72 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.307e-05/0.4384, allocations: 20.31 kB / 426.9 MB, free: 39.71 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001252/0.4397, allocations: 386.1 kB / 427.3 MB, free: 39.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/0.4397, allocations: 3.062 kB / 427.3 MB, free: 39.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.4397, allocations: 3.953 kB / 427.3 MB, free: 39.67 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.4397, allocations: 1.781 kB / 427.3 MB, free: 39.67 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003636/0.4401, allocations: 305.1 kB / 427.6 MB, free: 39.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.4401, allocations: 0 / 427.6 MB, free: 39.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/0.4402, allocations: 25.59 kB / 427.6 MB, free: 39.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001139/0.4414, allocations: 207 kB / 427.8 MB, free: 39.47 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.412e-05/0.4414, allocations: 6.875 kB / 427.8 MB, free: 39.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002392/0.4438, allocations: 1.79 MB / 429.6 MB, free: 38.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.4438, allocations: 5.016 kB / 429.6 MB, free: 38.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.445, allocations: 451.4 kB / 430 MB, free: 38.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.567e-05/0.4451, allocations: 97.08 kB / 430.1 MB, free: 37.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.492e-05/0.4451, allocations: 5.188 kB / 430.1 MB, free: 37.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.4454, allocations: 19.78 kB / 430.2 MB, free: 37.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.625e-05/0.4454, allocations: 15.23 kB / 430.2 MB, free: 37.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.4455, allocations: 5.25 kB / 430.2 MB, free: 37.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001505/0.4456, allocations: 129.7 kB / 430.3 MB, free: 37.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4456, allocations: 3.281 kB / 430.3 MB, free: 37.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005485/0.4462, allocations: 62.22 kB / 430.4 MB, free: 37.88 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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: 0 * Non-linear torn systems: 1 {3 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002187/0.4464, allocations: 116.2 kB / 430.5 MB, free: 37.78 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001183/0.4476, allocations: 421.7 kB / 430.9 MB, free: 37.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.4476, allocations: 0 / 430.9 MB, free: 37.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006467/0.4483, allocations: 287.2 kB / 431.2 MB, free: 37.53 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004311/0.4487, allocations: 20.3 kB / 431.2 MB, free: 37.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000826/0.4496, allocations: 464.8 kB / 431.6 MB, free: 37.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001863/0.4498, allocations: 0.7228 MB / 432.4 MB, free: 36.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.433e-05/0.4499, allocations: 21.66 kB / 432.4 MB, free: 36.57 MB / 350.1 MB Notification: Performance of SimCode: time 1.613e-06/0.4499, allocations: 0 / 432.4 MB, free: 36.57 MB / 350.1 MB Notification: Performance of Templates: time 0.006055/0.4559, allocations: 3.447 MB / 435.8 MB, free: 36.36 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.makefile make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoadCalcHelperMain.o OMCppPowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoadCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoadCalcHelperMain.o] Error 1