Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.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.OneSourceOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 93.19 kB / 16.37 MB, free: 5.969 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.001478/0.001478, allocations: 180.6 kB / 17.27 MB, free: 5.824 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.548/1.548, allocations: 223.2 MB / 241.3 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2409/0.2409, allocations: 8.089 MB / 300.5 MB, free: 2.906 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003612/0.0003612, allocations: 8 kB / 363.5 MB, free: 13.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1295, allocations: 52.51 MB / 416 MB, free: 8.723 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoad): time 0.001438/0.131, allocations: 0.8707 MB / 416.9 MB, free: 7.852 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001835/0.1328, allocations: 1.412 MB / 418.3 MB, free: 6.426 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.583e-05/0.1329, allocations: 0 / 418.3 MB, free: 6.426 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002534/0.1332, allocations: 83.66 kB / 418.4 MB, free: 6.344 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001779/0.1334, allocations: 63.61 kB / 418.4 MB, free: 6.281 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001253/0.1346, allocations: 0.7203 MB / 419.1 MB, free: 5.559 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002314/0.1349, allocations: 139.2 kB / 419.3 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.135, allocations: 45.7 kB / 419.3 MB, free: 5.371 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.85e-05/0.1351, allocations: 55.78 kB / 419.4 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/0.1353, allocations: 71.69 kB / 419.4 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.495e-05/0.1353, allocations: 15.92 kB / 419.5 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003108/0.1356, allocations: 179.8 kB / 419.6 MB, free: 5.055 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.972e-05/0.1356, allocations: 23.91 kB / 419.7 MB, free: 5.031 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.306e-05/0.1357, allocations: 49.64 kB / 419.7 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002888/0.136, allocations: 215.7 kB / 419.9 MB, free: 4.766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.136, allocations: 0 / 419.9 MB, free: 4.766 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.049e-06/0.136, allocations: 3.984 kB / 419.9 MB, free: 4.762 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.136, allocations: 7.938 kB / 419.9 MB, free: 4.754 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.001505/0.1375, allocations: 0.6121 MB / 420.5 MB, free: 4.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.1376, allocations: 8.031 kB / 420.5 MB, free: 4.082 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.228e-05/0.1376, allocations: 19.77 kB / 420.6 MB, free: 4.062 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002671/0.1379, allocations: 219.4 kB / 420.8 MB, free: 3.809 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.1379, allocations: 12.23 kB / 420.8 MB, free: 3.797 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.138, allocations: 12 kB / 420.8 MB, free: 3.785 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003062/0.1383, allocations: 171.4 kB / 421 MB, free: 3.613 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.1383, allocations: 0 / 421 MB, free: 3.613 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/0.1383, allocations: 8 kB / 421 MB, free: 3.605 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1383, allocations: 4 kB / 421 MB, free: 3.602 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000245/0.1386, allocations: 160.6 kB / 421.1 MB, free: 3.445 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.1396, allocations: 0.707 MB / 421.8 MB, free: 2.664 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004688/0.1401, allocations: 201.6 kB / 422 MB, free: 2.461 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/0.1402, allocations: 96.83 kB / 422.1 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.347e-05/0.1403, allocations: 4 kB / 422.1 MB, free: 2.359 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.1403, allocations: 30.56 kB / 422.2 MB, free: 2.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.152e-06/0.1403, allocations: 4 kB / 422.2 MB, free: 2.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001561/0.1419, allocations: 0.5617 MB / 422.7 MB, free: 1.727 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.1419, allocations: 55.41 kB / 422.8 MB, free: 1.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.1421, allocations: 164.5 kB / 423 MB, free: 1.492 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.1422, allocations: 25.7 kB / 423 MB, free: 1.461 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.721e-05/0.1423, allocations: 132.1 kB / 423.1 MB, free: 1.328 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.769e-05/0.1423, allocations: 59.19 kB / 423.2 MB, free: 1.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.261e-05/0.1423, allocations: 4 kB / 423.2 MB, free: 1.266 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.1425, allocations: 322.8 kB / 423.5 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.1426, allocations: 91.97 kB / 423.6 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.1428, allocations: 95.91 kB / 423.7 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.1429, allocations: 101 kB / 423.8 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.143, allocations: 0 / 423.8 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007567/0.1437, allocations: 389.2 kB / 424.1 MB, free: 280 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.1437, allocations: 6.188 kB / 424.2 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1438, allocations: 0 / 424.2 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006583/0.1444, allocations: 140.7 kB / 424.3 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.1446, allocations: 31.92 kB / 424.3 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2574/0.4019, allocations: 1.875 MB / 426.2 MB, free: 40.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000205/0.4022, allocations: 18.88 kB / 426.2 MB, free: 40.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.4022, allocations: 8.719 kB / 426.2 MB, free: 40.43 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 (18): * Single equations (assignments): 17 * 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 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001344/0.4024, allocations: 129.4 kB / 426.3 MB, free: 40.31 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.03e-05/0.4024, allocations: 22.39 kB / 426.4 MB, free: 40.31 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007838/0.4032, allocations: 356.5 kB / 426.7 MB, free: 40.26 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.4032, allocations: 6.578 kB / 426.7 MB, free: 40.26 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.4032, allocations: 0 / 426.7 MB, free: 40.26 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.4032, allocations: 1.875 kB / 426.7 MB, free: 40.26 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002577/0.4035, allocations: 293.6 kB / 427 MB, free: 40.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.4035, allocations: 0.5938 kB / 427 MB, free: 40.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.874e-05/0.4036, allocations: 20.42 kB / 427 MB, free: 40.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005047/0.4041, allocations: 142.7 kB / 427.2 MB, free: 40.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.4041, allocations: 7.453 kB / 427.2 MB, free: 40.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001803/0.4059, allocations: 1.861 MB / 429 MB, free: 38.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.406, allocations: 0 / 429 MB, free: 38.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009006/0.4069, allocations: 433.7 kB / 429.5 MB, free: 38.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.371e-05/0.4069, allocations: 93.77 kB / 429.6 MB, free: 38.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.411e-05/0.407, allocations: 8.094 kB / 429.6 MB, free: 38.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/0.4072, allocations: 15.86 kB / 429.6 MB, free: 38.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.681e-05/0.4073, allocations: 9.578 kB / 429.6 MB, free: 38.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.4073, allocations: 12.31 kB / 429.6 MB, free: 38.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001381/0.4074, allocations: 132.8 kB / 429.7 MB, free: 38.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4074, allocations: 0 / 429.7 MB, free: 38.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004429/0.4079, allocations: 59.5 kB / 429.8 MB, free: 38.48 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 (13): * Single equations (assignments): 12 * 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 {2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001859/0.4081, allocations: 114.5 kB / 429.9 MB, free: 38.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006974/0.4088, allocations: 384.2 kB / 430.3 MB, free: 38.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.4088, allocations: 0 / 430.3 MB, free: 38.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003994/0.4092, allocations: 256.9 kB / 430.5 MB, free: 38.15 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.4095, allocations: 19.09 kB / 430.5 MB, free: 38.15 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000578/0.4101, allocations: 442.3 kB / 431 MB, free: 37.9 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001743/0.4103, allocations: 0.7201 MB / 431.7 MB, free: 37.21 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.706e-05/0.4104, allocations: 24.25 kB / 431.7 MB, free: 37.2 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4104, allocations: 5.188 kB / 431.7 MB, free: 37.2 MB / 350.1 MB Notification: Performance of Templates: time 0.004583/0.415, allocations: 3.076 MB / 434.8 MB, free: 37.01 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.makefile make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.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.OneSourceOneLineOneLoadCalcHelperMain.o OMCppPowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadCalcHelperMain.o] Error 1