Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.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.TwoSourcesOneLineThreeSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors") translateModel(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00137/0.001369, allocations: 91.7 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.001346/0.001346, allocations: 182.4 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.557/1.557, allocations: 223.2 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.06397/0.06397, allocations: 8.097 MB / 300.5 MB, free: 6.555 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004489/0.0004491, allocations: 12 kB / 363.5 MB, free: 7.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3175, allocations: 52.5 MB / 416 MB, free: 24.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors): time 0.001532/0.3191, allocations: 1.361 MB / 417.4 MB, free: 23.6 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.3205, allocations: 1.4 MB / 418.8 MB, free: 22.19 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.914e-05/0.3206, allocations: 4 kB / 418.8 MB, free: 22.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002482/0.3209, allocations: 91.59 kB / 418.8 MB, free: 22.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001892/0.321, allocations: 91.48 kB / 418.9 MB, free: 22 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.3221, allocations: 0.7505 MB / 419.7 MB, free: 21.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002301/0.3224, allocations: 207 kB / 419.9 MB, free: 21.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.3225, allocations: 93.59 kB / 420 MB, free: 20.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.605e-05/0.3226, allocations: 83.64 kB / 420.1 MB, free: 20.87 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/0.3228, allocations: 123.5 kB / 420.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.667e-05/0.3228, allocations: 12 kB / 420.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002835/0.3231, allocations: 191.8 kB / 420.4 MB, free: 20.55 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.764e-05/0.3231, allocations: 35.8 kB / 420.4 MB, free: 20.51 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.239e-05/0.3232, allocations: 65.64 kB / 420.5 MB, free: 20.44 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002778/0.3235, allocations: 289.2 kB / 420.8 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3235, allocations: 0 / 420.8 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3235, allocations: 0 / 420.8 MB, free: 20.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.3235, allocations: 0 / 420.8 MB, free: 20.16 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001751/0.3253, allocations: 0.7293 MB / 421.5 MB, free: 19.38 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.3253, allocations: 11.97 kB / 421.5 MB, free: 19.37 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.84e-05/0.3254, allocations: 27.67 kB / 421.5 MB, free: 19.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.3256, allocations: 234.7 kB / 421.8 MB, free: 19.07 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.3256, allocations: 24.56 kB / 421.8 MB, free: 19.05 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.317e-05/0.3256, allocations: 24 kB / 421.8 MB, free: 19.03 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004169/0.3261, allocations: 288.8 kB / 422.1 MB, free: 18.74 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.3261, allocations: 4 kB / 422.1 MB, free: 18.74 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.373e-05/0.3261, allocations: 15.94 kB / 422.1 MB, free: 18.72 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.3261, allocations: 11.95 kB / 422.1 MB, free: 18.71 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003477/0.3265, allocations: 290.1 kB / 422.4 MB, free: 18.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/0.3276, allocations: 0.8931 MB / 423.3 MB, free: 17.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003985/0.328, allocations: 286.5 kB / 423.6 MB, free: 17.19 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001578/0.3282, allocations: 128.8 kB / 423.7 MB, free: 17.06 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.483e-05/0.3282, allocations: 15.91 kB / 423.7 MB, free: 17.05 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/0.3283, allocations: 38.56 kB / 423.8 MB, free: 17 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 1.643e-06/0.3283, allocations: 0 / 423.8 MB, free: 17 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.0009957/0.3293, allocations: 0.509 MB / 424.3 MB, free: 16.46 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.3293, allocations: 55.39 kB / 424.3 MB, free: 16.4 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.3294, allocations: 175.9 kB / 424.5 MB, free: 16.22 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.3295, allocations: 33.64 kB / 424.5 MB, free: 16.18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.223e-05/0.3295, allocations: 152.4 kB / 424.7 MB, free: 16.03 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.592e-05/0.3296, allocations: 82.72 kB / 424.8 MB, free: 15.95 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.486e-05/0.3296, allocations: 8 kB / 424.8 MB, free: 15.94 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.318e-05/0.3297, allocations: 322.8 kB / 425.1 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.3298, allocations: 131.8 kB / 425.2 MB, free: 15.48 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000154/0.33, allocations: 128 kB / 425.3 MB, free: 15.36 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001779/0.3302, allocations: 140.6 kB / 425.5 MB, free: 15.22 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3302, allocations: 3.938 kB / 425.5 MB, free: 15.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005416/0.3307, allocations: 405.9 kB / 425.9 MB, free: 14.81 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.3308, allocations: 4 kB / 425.9 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.495e-06/0.3308, allocations: 0 / 425.9 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002538/0.331, allocations: 60.75 kB / 425.9 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002475/0.3313, allocations: 55.92 kB / 426 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/0.3323, allocations: 1.432 MB / 427.4 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.3325, allocations: 27.72 kB / 427.4 MB, free: 13.1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/0.3325, allocations: 16.14 kB / 427.5 MB, free: 13.08 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 (35): * 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: 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.000112/0.3326, allocations: 138.3 kB / 427.6 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.895e-05/0.3327, allocations: 15.81 kB / 427.6 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005714/0.3333, allocations: 356.4 kB / 428 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.3333, allocations: 8 kB / 428 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.3333, allocations: 0 / 428 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3333, allocations: 0 / 428 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000292/0.3336, allocations: 365.3 kB / 428.3 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3336, allocations: 4 kB / 428.3 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.3338, allocations: 39.92 kB / 428.4 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001715/0.3339, allocations: 52.81 kB / 428.4 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.334, allocations: 11.95 kB / 428.4 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009079/0.3349, allocations: 1.433 MB / 429.9 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3349, allocations: 0 / 429.9 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004559/0.3354, allocations: 392.7 kB / 430.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.872e-05/0.3354, allocations: 104.8 kB / 430.3 MB, free: 9.953 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/0.3354, allocations: 8 kB / 430.4 MB, free: 9.945 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.3356, allocations: 0 / 430.4 MB, free: 9.945 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.724e-05/0.3356, allocations: 20.05 kB / 430.4 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.3356, allocations: 11.88 kB / 430.4 MB, free: 9.914 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.718e-05/0.3357, allocations: 134.5 kB / 430.5 MB, free: 9.785 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.3357, allocations: 0 / 430.5 MB, free: 9.785 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003685/0.3361, allocations: 87.73 kB / 430.6 MB, free: 9.699 MB / 302.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 (25): * Single equations (assignments): 24 * 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 Backend phase and start with SimCode phase: time 0.0001967/0.3363, allocations: 115.2 kB / 430.7 MB, free: 9.574 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006353/0.3369, allocations: 418.5 kB / 431.1 MB, free: 9.152 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.337, allocations: 3.938 kB / 431.1 MB, free: 9.148 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003356/0.3373, allocations: 258.5 kB / 431.4 MB, free: 8.883 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.3376, allocations: 14.95 kB / 431.4 MB, free: 8.871 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007379/0.3383, allocations: 0.5699 MB / 432 MB, free: 8.273 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001622/0.3385, allocations: 0.7439 MB / 432.7 MB, free: 7.504 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.906e-05/0.3386, allocations: 31.42 kB / 432.7 MB, free: 7.473 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3386, allocations: 0 / 432.7 MB, free: 7.473 MB / 302.1 MB Notification: Performance of Templates: time 0.004926/0.3435, allocations: 4.073 MB / 436.8 MB, free: 3.402 MB / 302.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.makefile make -j1 -f PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.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.TwoSourcesOneLineThreeSensorsCalcHelperMain.o OMCppPowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensorsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensorsCalcHelperMain.o] Error 1