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.0009425/0.0009427, allocations: 93.47 kB / 17.31 MB, free: 6.535 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.001005/0.001005, allocations: 175.4 kB / 18.21 MB, free: 5.684 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.837/1.837, 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.18/0.18, allocations: 38.06 MB / 310.7 MB, free: 5.918 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.0005695/0.0005697, allocations: 12 kB / 377.8 MB, free: 2.723 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3202, allocations: 56.33 MB / 434.1 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.004529/0.3247, allocations: 4.662 MB / 438.8 MB, free: 13.99 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002473/0.3273, allocations: 1.738 MB / 440.5 MB, free: 12.25 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002483/0.3275, allocations: 23.81 kB / 440.6 MB, free: 12.22 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002127/0.3278, allocations: 59.55 kB / 440.6 MB, free: 12.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005986/0.3284, allocations: 266.9 kB / 440.9 MB, free: 11.9 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005309/0.3289, allocations: 219.6 kB / 441.1 MB, free: 11.69 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006668/0.3296, allocations: 0.9512 MB / 442.1 MB, free: 10.73 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006276/0.3302, allocations: 455.6 kB / 442.5 MB, free: 10.26 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000253/0.3305, allocations: 215 kB / 442.7 MB, free: 10.05 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004287/0.3309, allocations: 366.9 kB / 443.1 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.324e-05/0.331, allocations: 24 kB / 443.1 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003696/0.3314, allocations: 239.5 kB / 443.3 MB, free: 9.43 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001673/0.3315, allocations: 207.4 kB / 443.5 MB, free: 9.227 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000198/0.3317, allocations: 256.5 kB / 443.8 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003897/0.3321, allocations: 498.9 kB / 444.3 MB, free: 8.48 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3321, allocations: 3.938 kB / 444.3 MB, free: 8.477 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.696e-06/0.3322, allocations: 0 / 444.3 MB, free: 8.477 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.3322, allocations: 3.938 kB / 444.3 MB, free: 8.473 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.001162/0.3333, allocations: 0.6881 MB / 445 MB, free: 7.738 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.3334, allocations: 12.03 kB / 445 MB, free: 7.727 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000583/0.334, allocations: 88.22 kB / 445.1 MB, free: 7.641 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004698/0.3345, allocations: 399.2 kB / 445.4 MB, free: 7.215 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.427e-05/0.3345, allocations: 33.34 kB / 445.5 MB, free: 7.18 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/0.3347, allocations: 48.11 kB / 445.5 MB, free: 7.133 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008267/0.3355, allocations: 0.6915 MB / 446.2 MB, free: 6.406 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.3355, allocations: 4 kB / 446.2 MB, free: 6.402 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.663e-05/0.3356, allocations: 15.98 kB / 446.2 MB, free: 6.387 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001912/0.3358, allocations: 68.94 kB / 446.3 MB, free: 6.316 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007984/0.3366, allocations: 0.6713 MB / 447 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002641/0.3392, allocations: 2.673 MB / 449.6 MB, free: 2.824 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004291/0.3397, allocations: 305.3 kB / 449.9 MB, free: 2.508 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002168/0.3399, allocations: 209.6 kB / 450.2 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.325e-05/0.34, allocations: 8 kB / 450.2 MB, free: 2.289 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.34, allocations: 42.55 kB / 450.2 MB, free: 2.238 MB / 318.1 MB Notification: Performance of pre-optimization done (n=39): time 2.354e-06/0.34, allocations: 0 / 450.2 MB, free: 2.238 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.001623/0.3416, allocations: 1.292 MB / 451.5 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.3417, allocations: 81.23 kB / 451.6 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002364/0.3419, allocations: 299.2 kB / 451.9 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.3419, allocations: 29.7 kB / 451.9 MB, free: 472 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.3421, allocations: 251.7 kB / 452.1 MB, free: 216 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.093e-05/0.3422, allocations: 130 kB / 452.3 MB, free: 84 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.612e-05/0.3422, allocations: 53.67 kB / 452.3 MB, free: 24 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001998/0.3424, allocations: 350.7 kB / 452.7 MB, free: 15.67 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003635/0.3428, allocations: 188.9 kB / 452.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003643/0.3432, allocations: 325.3 kB / 453.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007206/0.3439, allocations: 0.5621 MB / 453.7 MB, free: 14.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3439, allocations: 4 kB / 453.7 MB, free: 14.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001186/0.3451, allocations: 0.678 MB / 454.4 MB, free: 13.79 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.3452, allocations: 4 kB / 454.4 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007917/0.346, allocations: 487.5 kB / 454.9 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00042/0.3464, allocations: 113.9 kB / 455 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003013/0.3467, allocations: 87.83 kB / 455.1 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00278/0.3495, allocations: 3.018 MB / 458.1 MB, free: 9.816 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002223/0.3497, allocations: 28.05 kB / 458.1 MB, free: 9.789 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.16e-05/0.3498, allocations: 16 kB / 458.1 MB, free: 9.773 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002742/0.3501, allocations: 213.6 kB / 458.4 MB, free: 9.555 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.731e-05/0.3502, allocations: 39.47 kB / 458.4 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007349/0.3509, allocations: 464.7 kB / 458.8 MB, free: 9.055 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.166e-05/0.3509, allocations: 19.94 kB / 458.9 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.3509, allocations: 3.984 kB / 458.9 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.351, allocations: 0 / 458.9 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001399/0.3524, allocations: 1.015 MB / 459.9 MB, free: 7.953 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.3524, allocations: 0 / 459.9 MB, free: 7.953 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003189/0.3527, allocations: 75.88 kB / 460 MB, free: 7.879 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3527, allocations: 4.062 kB / 460 MB, free: 7.875 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/0.3527, allocations: 8 kB / 460 MB, free: 7.867 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.82e-06/0.3528, allocations: 4 kB / 460 MB, free: 7.863 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.3528, allocations: 0 / 460 MB, free: 7.863 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009465/0.3537, allocations: 0.7434 MB / 460.7 MB, free: 7.094 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/0.3539, allocations: 148.6 kB / 460.9 MB, free: 6.93 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.172e-05/0.3539, allocations: 8 kB / 460.9 MB, free: 6.922 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/0.3541, allocations: 16.22 kB / 460.9 MB, free: 6.906 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.89e-05/0.3542, allocations: 19.91 kB / 460.9 MB, free: 6.887 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.3542, allocations: 12 kB / 460.9 MB, free: 6.875 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002159/0.3544, allocations: 203.1 kB / 461.1 MB, free: 6.676 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3544, allocations: 0 / 461.1 MB, free: 6.676 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005252/0.355, allocations: 116 kB / 461.2 MB, free: 6.562 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002621/0.3552, allocations: 147 kB / 461.4 MB, free: 6.41 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001094/0.3563, allocations: 0.7097 MB / 462.1 MB, free: 5.676 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.3563, allocations: 0 / 462.1 MB, free: 5.676 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002818/0.3566, allocations: 216.2 kB / 462.3 MB, free: 5.465 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005464/0.3572, allocations: 61.12 kB / 462.4 MB, free: 5.406 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/0.3593, allocations: 1.416 MB / 463.8 MB, free: 3.949 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006303/0.3599, allocations: 0.8782 MB / 464.6 MB, free: 3.047 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.36, allocations: 31.44 kB / 464.7 MB, free: 3.016 MB / 334.1 MB Notification: Performance of SimCode: time 5.31e-07/0.36, allocations: 0 / 464.7 MB, free: 3.016 MB / 334.1 MB Notification: Performance of Templates: time 0.01005/0.3701, allocations: 6.808 MB / 471.5 MB, free: 12.2 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++ -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.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