Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.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.OneSourceThreeLinesThreeLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads") translateModel(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 92.17 kB / 16.37 MB, free: 6.43 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.001265/0.001265, allocations: 192.2 kB / 17.27 MB, free: 6.246 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.571/1.571, allocations: 223.3 MB / 241.3 MB, free: 14.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.0665/0.0665, allocations: 8.099 MB / 300.5 MB, free: 6.562 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005009/0.0005009, allocations: 8 kB / 363.5 MB, free: 7.516 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3403, allocations: 52.5 MB / 416 MB, free: 24.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads): time 0.001985/0.3424, allocations: 1.772 MB / 417.8 MB, free: 23.19 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002185/0.3446, allocations: 1.598 MB / 419.4 MB, free: 21.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002678/0.3449, allocations: 4 kB / 419.4 MB, free: 21.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000413/0.3453, allocations: 107.5 kB / 419.5 MB, free: 21.46 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005148/0.3458, allocations: 159 kB / 419.6 MB, free: 21.31 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.3473, allocations: 0.7796 MB / 420.4 MB, free: 20.53 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005212/0.3478, allocations: 374 kB / 420.8 MB, free: 20.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001948/0.348, allocations: 105.7 kB / 420.9 MB, free: 20.06 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.3481, allocations: 151.3 kB / 421 MB, free: 19.91 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002442/0.3484, allocations: 199.2 kB / 421.2 MB, free: 19.71 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.863e-05/0.3484, allocations: 16 kB / 421.2 MB, free: 19.7 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003915/0.3488, allocations: 195.8 kB / 421.4 MB, free: 19.51 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.143e-05/0.3489, allocations: 63.69 kB / 421.5 MB, free: 19.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.553e-05/0.349, allocations: 93.52 kB / 421.6 MB, free: 19.35 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003531/0.3493, allocations: 389 kB / 422 MB, free: 18.97 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.3493, allocations: 4 kB / 422 MB, free: 18.96 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.417e-06/0.3493, allocations: 0 / 422 MB, free: 18.96 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.892e-06/0.3494, allocations: 0 / 422 MB, free: 18.96 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.002963/0.3523, allocations: 1.092 MB / 423.1 MB, free: 17.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.3524, allocations: 8.031 kB / 423.1 MB, free: 17.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.3525, allocations: 51.39 kB / 423.1 MB, free: 17.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003841/0.3529, allocations: 310.4 kB / 423.4 MB, free: 17.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/0.3529, allocations: 24.56 kB / 423.4 MB, free: 17.4 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.11e-05/0.353, allocations: 31.94 kB / 423.5 MB, free: 17.37 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006093/0.3536, allocations: 416.8 kB / 423.9 MB, free: 16.95 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.3536, allocations: 0 / 423.9 MB, free: 16.95 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.877e-05/0.3537, allocations: 15.94 kB / 423.9 MB, free: 16.94 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.3537, allocations: 11.95 kB / 423.9 MB, free: 16.93 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005479/0.3543, allocations: 406.1 kB / 424.3 MB, free: 16.53 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001852/0.3561, allocations: 1.553 MB / 425.9 MB, free: 14.85 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009186/0.3571, allocations: 0.555 MB / 426.4 MB, free: 14.28 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000312/0.3574, allocations: 281.5 kB / 426.7 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.869e-05/0.3575, allocations: 16.34 kB / 426.7 MB, free: 13.99 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.3575, allocations: 38.94 kB / 426.7 MB, free: 13.94 MB / 302.1 MB Notification: Performance of pre-optimization done (n=46): time 2.585e-06/0.3575, allocations: 3.984 kB / 426.7 MB, free: 13.94 MB / 302.1 MB Notification: Performance of matching and sorting (n=46): time 0.003602/0.3611, allocations: 1.632 MB / 428.4 MB, free: 12.23 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.3611, allocations: 59.36 kB / 428.4 MB, free: 12.16 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002527/0.3614, allocations: 270.6 kB / 428.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.642e-05/0.3614, allocations: 37.7 kB / 428.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.03e-05/0.3615, allocations: 164.9 kB / 428.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.329e-05/0.3616, allocations: 157.7 kB / 429 MB, free: 11.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.781e-05/0.3617, allocations: 8 kB / 429.1 MB, free: 11.52 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.583e-05/0.3618, allocations: 350.7 kB / 429.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003187/0.3621, allocations: 261 kB / 429.7 MB, free: 10.91 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003036/0.3624, allocations: 265 kB / 429.9 MB, free: 10.65 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003513/0.3628, allocations: 286.2 kB / 430.2 MB, free: 10.37 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3628, allocations: 0 / 430.2 MB, free: 10.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.002079/0.3649, allocations: 1.024 MB / 431.2 MB, free: 9.332 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.3649, allocations: 8 kB / 431.2 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.3649, allocations: 0 / 431.2 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0015/0.3664, allocations: 426.1 kB / 431.6 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002558/0.3667, allocations: 71.91 kB / 431.7 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005075/0.3718, allocations: 5.661 MB / 437.4 MB, free: 2.781 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003339/0.3721, allocations: 47.64 kB / 437.4 MB, free: 2.734 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.765e-05/0.3722, allocations: 12 kB / 437.4 MB, free: 2.723 MB / 302.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 (46): * Single equations (assignments): 43 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 4,2 4,2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002043/0.3724, allocations: 165.3 kB / 437.6 MB, free: 2.555 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.919e-05/0.3725, allocations: 35.53 kB / 437.6 MB, free: 2.52 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001948/0.3744, allocations: 0.9975 MB / 438.6 MB, free: 1.5 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.3744, allocations: 8 kB / 438.6 MB, free: 1.492 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.3744, allocations: 4 kB / 438.6 MB, free: 1.488 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3744, allocations: 3.984 kB / 438.6 MB, free: 1.484 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004781/0.3749, allocations: 0.5559 MB / 439.2 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.3749, allocations: 3.984 kB / 439.2 MB, free: 0.875 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001716/0.3751, allocations: 55.92 kB / 439.3 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001362/0.3765, allocations: 422.1 kB / 439.7 MB, free: 408 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.042e-05/0.3765, allocations: 15.98 kB / 439.7 MB, free: 392 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006172/0.3827, allocations: 5.593 MB / 445.3 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.3827, allocations: 3.953 kB / 445.3 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002091/0.3848, allocations: 1.006 MB / 446.3 MB, free: 9.344 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.385, allocations: 124.5 kB / 446.4 MB, free: 9.203 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.403e-05/0.385, allocations: 12 kB / 446.4 MB, free: 9.191 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000305/0.3854, allocations: 38.56 kB / 446.5 MB, free: 9.156 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.3855, allocations: 40.39 kB / 446.5 MB, free: 9.117 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.435e-05/0.3855, allocations: 12 kB / 446.5 MB, free: 9.105 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002428/0.3858, allocations: 201.9 kB / 446.7 MB, free: 8.91 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3858, allocations: 0 / 446.7 MB, free: 8.91 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006742/0.3864, allocations: 168 kB / 446.9 MB, free: 8.746 MB / 318.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 (37): * Single equations (assignments): 34 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 4,2 4,2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.000228/0.3867, allocations: 135.1 kB / 447 MB, free: 8.605 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001912/0.3886, allocations: 1.076 MB / 448.1 MB, free: 7.492 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.3886, allocations: 4 kB / 448.1 MB, free: 7.488 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001296/0.3899, allocations: 0.7561 MB / 448.8 MB, free: 6.695 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004459/0.3904, allocations: 44.88 kB / 448.9 MB, free: 6.652 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.3918, allocations: 0.8963 MB / 449.8 MB, free: 5.723 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004246/0.3922, allocations: 0.7974 MB / 450.6 MB, free: 4.902 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.3923, allocations: 43.42 kB / 450.6 MB, free: 4.859 MB / 318.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3923, allocations: 0 / 450.6 MB, free: 4.859 MB / 318.1 MB Notification: Performance of Templates: time 0.01372/0.4061, allocations: 9.943 MB / 460.6 MB, free: 10.93 MB / 334.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.makefile make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.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.OneSourceThreeLinesThreeLoadsCalcHelperMain.o OMCppPowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoadsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoadsCalcHelperMain.o] Error 1