Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.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.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008077/0.0008077, allocations: 90.48 kB / 16.95 MB, free: 5.559 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.000892/0.0008921, allocations: 191.8 kB / 17.85 MB, free: 5.227 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.569/1.569, allocations: 205.4 MB / 224 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1913/0.1913, allocations: 38.04 MB / 310.3 MB, free: 6.035 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.0005603/0.0005605, allocations: 16 kB / 377.1 MB, free: 3.098 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2973, allocations: 56.34 MB / 433.5 MB, free: 18.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.004541/0.3019, allocations: 4.443 MB / 437.9 MB, free: 14.36 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002153/0.3041, allocations: 1.657 MB / 439.6 MB, free: 12.7 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002242/0.3044, allocations: 27.81 kB / 439.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002222/0.3046, allocations: 71.45 kB / 439.7 MB, free: 12.6 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006179/0.3052, allocations: 302.6 kB / 440 MB, free: 12.3 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005243/0.3058, allocations: 227.6 kB / 440.2 MB, free: 12.08 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006084/0.3064, allocations: 0.7404 MB / 440.9 MB, free: 11.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006254/0.307, allocations: 422.6 kB / 441.3 MB, free: 10.89 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002611/0.3073, allocations: 223 kB / 441.6 MB, free: 10.68 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000436/0.3077, allocations: 371 kB / 441.9 MB, free: 10.31 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.745e-05/0.3078, allocations: 20 kB / 441.9 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003177/0.3081, allocations: 175.7 kB / 442.1 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001724/0.3083, allocations: 215.5 kB / 442.3 MB, free: 9.91 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.626e-05/0.3084, allocations: 113.4 kB / 442.4 MB, free: 9.793 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004151/0.3088, allocations: 490.9 kB / 442.9 MB, free: 9.312 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.3088, allocations: 4 kB / 442.9 MB, free: 9.309 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3089, allocations: 0 / 442.9 MB, free: 9.309 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.359e-05/0.3089, allocations: 0 / 442.9 MB, free: 9.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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001099/0.31, allocations: 0.6957 MB / 443.6 MB, free: 8.566 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.31, allocations: 8.031 kB / 443.6 MB, free: 8.559 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005581/0.3106, allocations: 91.23 kB / 443.7 MB, free: 8.469 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00048/0.3111, allocations: 398.1 kB / 444.1 MB, free: 8.043 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.092e-05/0.3111, allocations: 32.98 kB / 444.1 MB, free: 8.008 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/0.3113, allocations: 36 kB / 444.2 MB, free: 7.973 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008045/0.3121, allocations: 0.6953 MB / 444.9 MB, free: 7.242 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.3121, allocations: 3.938 kB / 444.9 MB, free: 7.238 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.386e-05/0.3121, allocations: 19.95 kB / 444.9 MB, free: 7.219 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001699/0.3123, allocations: 72.88 kB / 445 MB, free: 7.145 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007794/0.3131, allocations: 0.6635 MB / 445.6 MB, free: 6.484 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002654/0.3158, allocations: 2.658 MB / 448.3 MB, free: 3.672 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000421/0.3162, allocations: 317.3 kB / 448.6 MB, free: 3.344 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000227/0.3164, allocations: 205.5 kB / 448.8 MB, free: 3.137 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.438e-05/0.3165, allocations: 15.91 kB / 448.8 MB, free: 3.121 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.3165, allocations: 38.56 kB / 448.8 MB, free: 3.074 MB / 318.1 MB Notification: Performance of pre-optimization done (n=39): time 1.603e-06/0.3165, allocations: 0 / 448.8 MB, free: 3.074 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.00164/0.3182, allocations: 1.292 MB / 450.1 MB, free: 1.73 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.3182, allocations: 85.06 kB / 450.2 MB, free: 1.629 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/0.3185, allocations: 295.1 kB / 450.5 MB, free: 1.332 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.3185, allocations: 33.7 kB / 450.5 MB, free: 1.293 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.3186, allocations: 247.6 kB / 450.8 MB, free: 1.047 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.462e-05/0.3187, allocations: 138.1 kB / 450.9 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.926e-05/0.3187, allocations: 8.125 kB / 450.9 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.746e-05/0.3188, allocations: 346.8 kB / 451.3 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002095/0.3191, allocations: 184.9 kB / 451.4 MB, free: 380 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002614/0.3193, allocations: 325.3 kB / 451.8 MB, free: 0 / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004599/0.3198, allocations: 243.8 kB / 452 MB, free: 15.76 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.3198, allocations: 4 kB / 452 MB, free: 15.76 MB / 334.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001176/0.321, allocations: 0.666 MB / 452.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.321, allocations: 8 kB / 452.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008127/0.3218, allocations: 496.1 kB / 453.2 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004142/0.3223, allocations: 117.5 kB / 453.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002682/0.3225, allocations: 83.88 kB / 453.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002932/0.3255, allocations: 3.01 MB / 456.4 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001916/0.3257, allocations: 19.98 kB / 456.4 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.327e-05/0.3257, allocations: 23.94 kB / 456.4 MB, free: 11.05 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: 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: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002816/0.326, allocations: 209.7 kB / 456.6 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.096e-05/0.3261, allocations: 43.48 kB / 456.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008024/0.3269, allocations: 464.7 kB / 457.1 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.59e-05/0.327, allocations: 15.98 kB / 457.1 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.327, allocations: 0 / 457.1 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.327, allocations: 0 / 457.1 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001486/0.3285, allocations: 1.031 MB / 458.2 MB, free: 9.223 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3285, allocations: 0 / 458.2 MB, free: 9.223 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003139/0.3288, allocations: 67.89 kB / 458.2 MB, free: 9.156 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.3288, allocations: 4 kB / 458.2 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.516e-05/0.3289, allocations: 4 kB / 458.2 MB, free: 9.148 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3289, allocations: 4 kB / 458.2 MB, free: 9.145 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3289, allocations: 0 / 458.2 MB, free: 9.145 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009775/0.3299, allocations: 0.7511 MB / 459 MB, free: 8.367 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001508/0.33, allocations: 140.6 kB / 459.1 MB, free: 8.211 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.233e-05/0.3301, allocations: 8 kB / 459.1 MB, free: 8.203 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.3303, allocations: 19.97 kB / 459.2 MB, free: 8.184 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/0.3303, allocations: 11.98 kB / 459.2 MB, free: 8.172 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.021e-05/0.3304, allocations: 12 kB / 459.2 MB, free: 8.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002035/0.3306, allocations: 203.1 kB / 459.4 MB, free: 7.957 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3306, allocations: 0 / 459.4 MB, free: 7.957 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005041/0.3311, allocations: 116 kB / 459.5 MB, free: 7.844 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002094/0.3313, allocations: 123.1 kB / 459.6 MB, free: 7.715 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001099/0.3324, allocations: 0.7127 MB / 460.3 MB, free: 6.977 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.3324, allocations: 0 / 460.3 MB, free: 6.977 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002848/0.3327, allocations: 216.2 kB / 460.5 MB, free: 6.766 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000491/0.3332, allocations: 65.84 kB / 460.6 MB, free: 6.703 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001892/0.3351, allocations: 1.401 MB / 462 MB, free: 5.262 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005694/0.3357, allocations: 0.8743 MB / 462.9 MB, free: 4.363 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.3358, allocations: 31.44 kB / 462.9 MB, free: 4.332 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3358, allocations: 0 / 462.9 MB, free: 4.332 MB / 334.1 MB Notification: Performance of Templates: time 0.01001/0.3459, allocations: 6.807 MB / 469.7 MB, free: 13.52 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.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 OMCppPowerSystems_PowerSystems.Examples.AC3ph.Elementary.SourceCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Elementary.SourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Elementary.SourceCalcHelperMain.o] Error 1