Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance") translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009643/0.0009642, allocations: 89.98 kB / 17.31 MB, free: 5.59 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.001294/0.001294, allocations: 179.5 kB / 18.21 MB, free: 5.191 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.816/1.816, 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.1707/0.1707, allocations: 38.06 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.0005556/0.0005554, allocations: 16 kB / 377.8 MB, free: 2.727 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3068, allocations: 56.34 MB / 434.1 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.005203/0.3121, allocations: 4.834 MB / 439 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002885/0.315, allocations: 1.688 MB / 440.7 MB, free: 12.13 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002877/0.3153, allocations: 23.88 kB / 440.7 MB, free: 12.11 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002383/0.3156, allocations: 55.55 kB / 440.7 MB, free: 12.05 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005794/0.3161, allocations: 223 kB / 441 MB, free: 11.83 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006003/0.3168, allocations: 223.6 kB / 441.2 MB, free: 11.61 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00066/0.3174, allocations: 0.8497 MB / 442 MB, free: 10.76 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008445/0.3183, allocations: 0.5845 MB / 442.6 MB, free: 10.14 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002747/0.3186, allocations: 195.1 kB / 442.8 MB, free: 9.953 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004072/0.319, allocations: 318.9 kB / 443.1 MB, free: 9.641 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.672e-05/0.319, allocations: 23.94 kB / 443.1 MB, free: 9.617 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002424/0.3193, allocations: 139.8 kB / 443.3 MB, free: 9.48 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001704/0.3195, allocations: 199.5 kB / 443.5 MB, free: 9.285 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001822/0.3197, allocations: 260.4 kB / 443.7 MB, free: 9.023 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003485/0.32, allocations: 439 kB / 444.2 MB, free: 8.594 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.32, allocations: 0 / 444.2 MB, free: 8.594 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.32, allocations: 0 / 444.2 MB, free: 8.594 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.32, allocations: 0 / 444.2 MB, free: 8.594 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001073/0.3211, allocations: 0.6919 MB / 444.8 MB, free: 7.852 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.3212, allocations: 8.031 kB / 444.9 MB, free: 7.844 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005487/0.3217, allocations: 96.22 kB / 444.9 MB, free: 7.75 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004531/0.3222, allocations: 392.1 kB / 445.3 MB, free: 7.332 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.3222, allocations: 33.38 kB / 445.4 MB, free: 7.301 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.3224, allocations: 56 kB / 445.4 MB, free: 7.246 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007293/0.3231, allocations: 0.6489 MB / 446.1 MB, free: 6.531 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.3232, allocations: 7.844 kB / 446.1 MB, free: 6.523 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.598e-05/0.3232, allocations: 20 kB / 446.1 MB, free: 6.504 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001035/0.3233, allocations: 28.98 kB / 446.1 MB, free: 6.473 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005954/0.3239, allocations: 483.5 kB / 446.6 MB, free: 6.004 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002553/0.3265, allocations: 3.01 MB / 449.6 MB, free: 2.828 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002466/0.3267, allocations: 185 kB / 449.8 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.3269, allocations: 109.7 kB / 449.9 MB, free: 2.516 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.272e-05/0.3269, allocations: 7.984 kB / 449.9 MB, free: 2.508 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.327, allocations: 34.5 kB / 449.9 MB, free: 2.465 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.443e-06/0.327, allocations: 4 kB / 449.9 MB, free: 2.461 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001159/0.3281, allocations: 0.8436 MB / 450.8 MB, free: 1.562 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.3282, allocations: 81.11 kB / 450.9 MB, free: 1.465 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002588/0.3285, allocations: 345.5 kB / 451.2 MB, free: 1.121 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.3285, allocations: 29.7 kB / 451.2 MB, free: 1.086 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.3286, allocations: 302.9 kB / 451.5 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.543e-05/0.3287, allocations: 78.98 kB / 451.6 MB, free: 0.707 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.907e-05/0.3287, allocations: 41.7 kB / 451.6 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.291e-05/0.3288, allocations: 346.9 kB / 452 MB, free: 320 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.329, allocations: 132.7 kB / 452.1 MB, free: 188 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003285/0.3293, allocations: 322.9 kB / 452.4 MB, free: 15.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007657/0.3301, allocations: 0.5018 MB / 452.9 MB, free: 15.17 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.3301, allocations: 0 / 452.9 MB, free: 15.17 MB / 334.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001028/0.3311, allocations: 0.5565 MB / 453.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.3312, allocations: 8 kB / 453.5 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005391/0.3317, allocations: 272.4 kB / 453.8 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003697/0.3321, allocations: 80.78 kB / 453.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003168/0.3324, allocations: 99.81 kB / 453.9 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001777/0.3342, allocations: 1.605 MB / 455.5 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002275/0.3345, allocations: 23.92 kB / 455.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.279e-05/0.3345, allocations: 20.06 kB / 455.6 MB, free: 12.36 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * 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.0002809/0.3348, allocations: 225.7 kB / 455.8 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.67e-05/0.3348, allocations: 27.62 kB / 455.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004978/0.3354, allocations: 296.8 kB / 456.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.3354, allocations: 0 / 456.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3354, allocations: 7.938 kB / 456.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3354, allocations: 4 kB / 456.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.3366, allocations: 0.7965 MB / 456.9 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.197e-06/0.3366, allocations: 4 kB / 456.9 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000278/0.3369, allocations: 47.97 kB / 457 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.3369, allocations: 7.938 kB / 457 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/0.3369, allocations: 15.92 kB / 457 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.3369, allocations: 8 kB / 457 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.337, allocations: 4 kB / 457 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006017/0.3376, allocations: 473.3 kB / 457.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.58e-05/0.3377, allocations: 108.6 kB / 457.6 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.657e-05/0.3377, allocations: 4 kB / 457.6 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.3379, allocations: 15.98 kB / 457.6 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.478e-05/0.3379, allocations: 23.86 kB / 457.6 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.3379, allocations: 4 kB / 457.6 MB, free: 10.19 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002394/0.3382, allocations: 235.2 kB / 457.9 MB, free: 9.957 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3382, allocations: 0 / 457.9 MB, free: 9.957 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004535/0.3387, allocations: 92 kB / 457.9 MB, free: 9.867 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 (24): * Single equations (assignments): 23 * Array equations: 0 * 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.0001425/0.3388, allocations: 103.2 kB / 458 MB, free: 9.758 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007234/0.3395, allocations: 443.6 kB / 458.5 MB, free: 9.312 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.3396, allocations: 0 / 458.5 MB, free: 9.312 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001776/0.3397, allocations: 116.5 kB / 458.6 MB, free: 9.199 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005361/0.3403, allocations: 65.33 kB / 458.7 MB, free: 9.137 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.3422, allocations: 1.29 MB / 459.9 MB, free: 7.805 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005509/0.3427, allocations: 0.8665 MB / 460.8 MB, free: 6.914 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.3428, allocations: 35.42 kB / 460.9 MB, free: 6.879 MB / 334.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3428, allocations: 0 / 460.9 MB, free: 6.879 MB / 334.1 MB Notification: Performance of Templates: time 0.008124/0.351, allocations: 5.594 MB / 466.4 MB, free: 1.285 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.ImpedanceCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceCalcHelperMain.o] Error 1