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.000885/0.0008851, allocations: 110.5 kB / 17.16 MB, free: 6.082 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.0008597/0.0008597, allocations: 198.9 kB / 18.08 MB, free: 5.285 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.19/1.19, allocations: 205.1 MB / 223.9 MB, free: 12.47 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1549/0.1549, allocations: 37.98 MB / 309.2 MB, free: 6.234 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.001179/0.001179, allocations: 67.55 kB / 375.3 MB, free: 4.102 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1953, allocations: 55.25 MB / 430.5 MB, free: 19.78 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.004263/0.1996, allocations: 5.219 MB / 435.7 MB, free: 14.53 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001753/0.2014, allocations: 1.711 MB / 437.4 MB, free: 12.81 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001718/0.2016, allocations: 31.81 kB / 437.5 MB, free: 12.78 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000724/0.2023, allocations: 362.7 kB / 437.8 MB, free: 12.43 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000293/0.2026, allocations: 215 kB / 438 MB, free: 12.21 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003961/0.203, allocations: 231.6 kB / 438.3 MB, free: 11.99 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004293/0.2035, allocations: 0.8342 MB / 439.1 MB, free: 11.15 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003608/0.2038, allocations: 318.4 kB / 439.4 MB, free: 10.84 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001956/0.204, allocations: 222.9 kB / 439.6 MB, free: 10.62 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003168/0.2044, allocations: 330.9 kB / 440 MB, free: 10.3 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.387e-05/0.2044, allocations: 24 kB / 440 MB, free: 10.27 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002145/0.2046, allocations: 151.7 kB / 440.1 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001402/0.2048, allocations: 215.5 kB / 440.3 MB, free: 9.914 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001653/0.205, allocations: 238.7 kB / 440.6 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002927/0.2052, allocations: 451 kB / 441 MB, free: 9.238 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2053, allocations: 8 kB / 441 MB, free: 9.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.62e-07/0.2053, allocations: 0 / 441 MB, free: 9.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.2053, allocations: 0 / 441 MB, free: 9.23 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.0009875/0.2063, allocations: 0.7738 MB / 441.8 MB, free: 8.406 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.2063, allocations: 12.03 kB / 441.8 MB, free: 8.395 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005182/0.2068, allocations: 88.22 kB / 441.9 MB, free: 8.309 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004187/0.2073, allocations: 396.1 kB / 442.3 MB, free: 7.887 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.2073, allocations: 33.36 kB / 442.3 MB, free: 7.855 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.2074, allocations: 60.02 kB / 442.4 MB, free: 7.797 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006414/0.2081, allocations: 0.645 MB / 443 MB, free: 7.086 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.2081, allocations: 0 / 443 MB, free: 7.086 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.79e-05/0.2081, allocations: 20 kB / 443 MB, free: 7.066 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001047/0.2082, allocations: 40.92 kB / 443.1 MB, free: 7.023 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005467/0.2088, allocations: 479.5 kB / 443.5 MB, free: 6.559 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00215/0.211, allocations: 3.01 MB / 446.6 MB, free: 3.383 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002233/0.2112, allocations: 185.5 kB / 446.7 MB, free: 3.184 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.2113, allocations: 109.7 kB / 446.8 MB, free: 3.07 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.2113, allocations: 4 kB / 446.8 MB, free: 3.066 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.55e-05/0.2114, allocations: 38.55 kB / 446.9 MB, free: 3.02 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.312e-06/0.2114, allocations: 3.938 kB / 446.9 MB, free: 3.016 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001001/0.2124, allocations: 0.8353 MB / 447.7 MB, free: 2.125 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.2124, allocations: 85.23 kB / 447.8 MB, free: 2.023 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.2126, allocations: 345.5 kB / 448.1 MB, free: 1.68 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.2127, allocations: 33.7 kB / 448.2 MB, free: 1.641 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.2128, allocations: 302.9 kB / 448.5 MB, free: 1.34 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.39e-05/0.2128, allocations: 78.94 kB / 448.5 MB, free: 1.262 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.857e-05/0.2129, allocations: 89.97 kB / 448.6 MB, free: 1.168 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.385e-05/0.213, allocations: 338.8 kB / 449 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.2131, allocations: 132.8 kB / 449.1 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001979/0.2134, allocations: 326.9 kB / 449.4 MB, free: 292 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004702/0.2138, allocations: 0.4992 MB / 449.9 MB, free: 15.69 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.2138, allocations: 4 kB / 449.9 MB, free: 15.69 MB / 334.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008899/0.2147, allocations: 0.5565 MB / 450.5 MB, free: 15.12 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.2148, allocations: 8 kB / 450.5 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004732/0.2152, allocations: 276.6 kB / 450.8 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003124/0.2156, allocations: 84.77 kB / 450.8 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002982/0.2159, allocations: 95.83 kB / 450.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001404/0.2173, allocations: 1.601 MB / 452.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002133/0.2175, allocations: 23.98 kB / 452.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.769e-05/0.2176, allocations: 16 kB / 452.6 MB, free: 12.88 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.0001999/0.2178, allocations: 225.6 kB / 452.8 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.413e-05/0.2178, allocations: 31.62 kB / 452.8 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004274/0.2183, allocations: 292.5 kB / 453.1 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.2183, allocations: 4 kB / 453.1 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.2183, allocations: 0 / 453.1 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.2183, allocations: 3.984 kB / 453.1 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.2193, allocations: 0.7888 MB / 453.9 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2193, allocations: 0 / 453.9 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002725/0.2196, allocations: 59.91 kB / 454 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.2196, allocations: 0 / 454 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.055e-05/0.2197, allocations: 8 kB / 454 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.2197, allocations: 0 / 454 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2197, allocations: 4 kB / 454 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005079/0.2202, allocations: 493.4 kB / 454.5 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.897e-05/0.2203, allocations: 109 kB / 454.6 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.125e-05/0.2203, allocations: 8 kB / 454.6 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.2205, allocations: 4 kB / 454.6 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.977e-05/0.2205, allocations: 27.89 kB / 454.6 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.2205, allocations: 8 kB / 454.6 MB, free: 10.71 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001916/0.2207, allocations: 235.2 kB / 454.8 MB, free: 10.48 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2207, allocations: 0 / 454.8 MB, free: 10.48 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004121/0.2212, allocations: 92 kB / 454.9 MB, free: 10.39 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 9.344e-05/0.2213, allocations: 103.2 kB / 455 MB, free: 10.28 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006044/0.2219, allocations: 442.8 kB / 455.5 MB, free: 9.836 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2219, allocations: 0 / 455.5 MB, free: 9.836 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.222, allocations: 117.2 kB / 455.6 MB, free: 9.723 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004317/0.2225, allocations: 74.72 kB / 455.6 MB, free: 9.652 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.2239, allocations: 1.219 MB / 456.9 MB, free: 8.391 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.2243, allocations: 0.8665 MB / 457.7 MB, free: 7.5 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.254e-05/0.2243, allocations: 39.38 kB / 457.8 MB, free: 7.461 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2244, allocations: 0 / 457.8 MB, free: 7.461 MB / 334.1 MB Notification: Performance of Templates: time 0.006314/0.2307, allocations: 5.634 MB / 463.4 MB, free: 1.824 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