Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor") translateModel(PowerSystems.Examples.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008547/0.0008545, allocations: 94.56 kB / 17.31 MB, free: 5.656 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.0009867/0.0009868, allocations: 179.9 kB / 18.21 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.807/1.807, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.192/0.192, allocations: 38.05 MB / 310.7 MB, free: 5.914 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005255/0.0005256, allocations: 12.61 kB / 377.8 MB, free: 2.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3476, allocations: 56.34 MB / 434.1 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.00449/0.3521, allocations: 4.767 MB / 438.9 MB, free: 13.89 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002309/0.3545, allocations: 1.625 MB / 440.5 MB, free: 12.25 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002358/0.3547, allocations: 27.81 kB / 440.6 MB, free: 12.23 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002399/0.355, allocations: 67.53 kB / 440.6 MB, free: 12.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005759/0.3556, allocations: 262.9 kB / 440.9 MB, free: 11.9 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005692/0.3561, allocations: 231.6 kB / 441.1 MB, free: 11.68 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007143/0.3569, allocations: 1.002 MB / 442.1 MB, free: 10.67 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006355/0.3575, allocations: 417.1 kB / 442.5 MB, free: 10.24 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002841/0.3578, allocations: 231 kB / 442.8 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004857/0.3583, allocations: 418.7 kB / 443.2 MB, free: 9.605 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.988e-05/0.3584, allocations: 20 kB / 443.2 MB, free: 9.586 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003761/0.3587, allocations: 239.5 kB / 443.4 MB, free: 9.352 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001818/0.3589, allocations: 219.4 kB / 443.6 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002146/0.3592, allocations: 288.3 kB / 443.9 MB, free: 8.848 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004346/0.3596, allocations: 0.5377 MB / 444.4 MB, free: 8.309 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3596, allocations: 0 / 444.4 MB, free: 8.309 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3596, allocations: 0 / 444.4 MB, free: 8.309 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.225e-06/0.3596, allocations: 0 / 444.4 MB, free: 8.309 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001359/0.361, allocations: 0.7872 MB / 445.2 MB, free: 7.469 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.3611, allocations: 8.031 kB / 445.2 MB, free: 7.461 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005715/0.3616, allocations: 104 kB / 445.3 MB, free: 7.359 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004875/0.3621, allocations: 415.9 kB / 445.8 MB, free: 6.914 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.678e-05/0.3622, allocations: 29.31 kB / 445.8 MB, free: 6.887 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.411e-05/0.3623, allocations: 48.11 kB / 445.8 MB, free: 6.84 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.3633, allocations: 0.863 MB / 446.7 MB, free: 5.938 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.3633, allocations: 0 / 446.7 MB, free: 5.938 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.407e-05/0.3634, allocations: 19.98 kB / 446.7 MB, free: 5.918 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001312/0.3635, allocations: 64.89 kB / 446.8 MB, free: 5.852 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009112/0.3644, allocations: 0.8001 MB / 447.6 MB, free: 5.055 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002804/0.3673, allocations: 2.722 MB / 450.3 MB, free: 2.184 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006899/0.368, allocations: 0.5798 MB / 450.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003902/0.3684, allocations: 458.7 kB / 451.3 MB, free: 1.133 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.081e-05/0.3684, allocations: 7.984 kB / 451.3 MB, free: 1.125 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.3684, allocations: 38.5 kB / 451.4 MB, free: 1.078 MB / 318.1 MB Notification: Performance of pre-optimization done (n=56): time 1.754e-06/0.3685, allocations: 0 / 451.4 MB, free: 1.078 MB / 318.1 MB Notification: Performance of matching and sorting (n=57): time 0.002656/0.3711, allocations: 1.879 MB / 453.2 MB, free: 15.15 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/0.3712, allocations: 138.8 kB / 453.4 MB, free: 14.99 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003184/0.3716, allocations: 296.4 kB / 453.7 MB, free: 14.69 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.713e-05/0.3716, allocations: 33.7 kB / 453.7 MB, free: 14.65 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/0.3718, allocations: 256.3 kB / 454 MB, free: 14.39 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/0.372, allocations: 189.4 kB / 454.1 MB, free: 14.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.203e-05/0.3721, allocations: 53.69 kB / 454.2 MB, free: 14.15 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.3723, allocations: 354.7 kB / 454.5 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004726/0.3728, allocations: 344.9 kB / 454.9 MB, free: 13.46 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005713/0.3733, allocations: 481.8 kB / 455.3 MB, free: 12.93 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001241/0.3746, allocations: 0.976 MB / 456.3 MB, free: 11.88 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.3746, allocations: 4 kB / 456.3 MB, free: 11.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001423/0.376, allocations: 0.9844 MB / 457.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.369e-05/0.3761, allocations: 74.16 kB / 457.4 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.3762, allocations: 11.98 kB / 457.4 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002131/0.3764, allocations: 40.84 kB / 457.4 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003354/0.3767, allocations: 87.81 kB / 457.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001452/0.3782, allocations: 1.448 MB / 459 MB, free: 9.082 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003015/0.3785, allocations: 31.88 kB / 459 MB, free: 9.051 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.145e-05/0.3786, allocations: 31.92 kB / 459 MB, free: 9.02 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1],system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 1 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004008/0.379, allocations: 307.2 kB / 459.3 MB, free: 8.703 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.3791, allocations: 47.52 kB / 459.4 MB, free: 8.656 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001604/0.3807, allocations: 1.073 MB / 460.5 MB, free: 7.57 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-05/0.3808, allocations: 12 kB / 460.5 MB, free: 7.559 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.3808, allocations: 4 kB / 460.5 MB, free: 7.555 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.3808, allocations: 7.922 kB / 460.5 MB, free: 7.547 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002491/0.3833, allocations: 1.784 MB / 462.3 MB, free: 5.688 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.3833, allocations: 8 kB / 462.3 MB, free: 5.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002536/0.3836, allocations: 59.89 kB / 462.3 MB, free: 5.621 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001003/0.3837, allocations: 32.84 kB / 462.4 MB, free: 5.586 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.066e-05/0.3837, allocations: 15.97 kB / 462.4 MB, free: 5.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001278/0.385, allocations: 1.441 MB / 463.8 MB, free: 3.996 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.385, allocations: 4.031 kB / 463.8 MB, free: 3.992 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001534/0.3866, allocations: 1.179 MB / 465 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000224/0.3868, allocations: 168.5 kB / 465.2 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.214e-05/0.3869, allocations: 15.98 kB / 465.2 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002514/0.3871, allocations: 31.97 kB / 465.2 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.3873, allocations: 35.95 kB / 465.2 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-05/0.3873, allocations: 23.98 kB / 465.3 MB, free: 2.492 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002121/0.3875, allocations: 207 kB / 465.5 MB, free: 2.289 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.094e-06/0.3876, allocations: 4 kB / 465.5 MB, free: 2.285 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005622/0.3881, allocations: 143.9 kB / 465.6 MB, free: 2.145 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (system.initime,voltage.h_mod3[1],voltage.h_mod3[2],voltage.h_mod3[3]) * Number of discrete states: 3 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 1 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002843/0.3884, allocations: 151.1 kB / 465.8 MB, free: 1.988 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001676/0.3901, allocations: 1.363 MB / 467.1 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3901, allocations: 0 / 467.1 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.3911, allocations: 0.9219 MB / 468 MB, free: 15.65 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005615/0.3917, allocations: 73.44 kB / 468.1 MB, free: 15.58 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002246/0.394, allocations: 1.692 MB / 469.8 MB, free: 13.85 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005496/0.3945, allocations: 0.9055 MB / 470.7 MB, free: 12.92 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.3947, allocations: 31.44 kB / 470.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3947, allocations: 0 / 470.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of Templates: time 0.0113/0.406, allocations: 8.349 MB / 479.1 MB, free: 4.539 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.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_PowerSystems.Examples.AC3ph.Elementary.SensorCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Elementary.SensorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Elementary.SensorCalcHelperMain.o] Error 1