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.0007957/0.0007957, allocations: 96.5 kB / 16.95 MB, free: 6.453 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.0007822/0.0007822, allocations: 179.2 kB / 17.84 MB, free: 6 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.608/1.608, allocations: 205.4 MB / 224 MB, free: 13.15 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.206/0.206, allocations: 38.05 MB / 310.3 MB, free: 6.02 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.0004861/0.0004862, allocations: 12 kB / 377.1 MB, free: 3.098 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2667, allocations: 56.33 MB / 433.5 MB, free: 18.81 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.004032/0.2707, allocations: 4.602 MB / 438.1 MB, free: 14.19 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002074/0.2728, allocations: 1.603 MB / 439.7 MB, free: 12.58 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002432/0.2731, allocations: 27.81 kB / 439.7 MB, free: 12.55 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002157/0.2733, allocations: 79.39 kB / 439.8 MB, free: 12.47 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005542/0.2739, allocations: 258.7 kB / 440 MB, free: 12.22 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000562/0.2745, allocations: 243.5 kB / 440.3 MB, free: 11.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004519/0.2749, allocations: 0.6625 MB / 440.9 MB, free: 11.32 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006839/0.2756, allocations: 0.532 MB / 441.5 MB, free: 10.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002324/0.2759, allocations: 215 kB / 441.7 MB, free: 10.54 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003506/0.2762, allocations: 311 kB / 442 MB, free: 10.24 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.438e-05/0.2763, allocations: 16 kB / 442 MB, free: 10.22 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001884/0.2765, allocations: 95.84 kB / 442.1 MB, free: 10.13 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001445/0.2766, allocations: 207.5 kB / 442.3 MB, free: 9.926 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.985e-05/0.2767, allocations: 109.5 kB / 442.4 MB, free: 9.812 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003355/0.277, allocations: 446.9 kB / 442.8 MB, free: 9.375 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.2771, allocations: 0 / 442.8 MB, free: 9.375 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2771, allocations: 4 kB / 442.8 MB, free: 9.371 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.2771, allocations: 4 kB / 442.8 MB, free: 9.367 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.0009387/0.278, allocations: 0.6878 MB / 443.5 MB, free: 8.629 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.2781, allocations: 12.03 kB / 443.5 MB, free: 8.617 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004997/0.2786, allocations: 87.28 kB / 443.6 MB, free: 8.531 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004442/0.279, allocations: 391 kB / 444 MB, free: 8.109 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.2791, allocations: 32.98 kB / 444 MB, free: 8.078 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.2792, allocations: 51.98 kB / 444.1 MB, free: 8.027 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006919/0.2799, allocations: 0.641 MB / 444.7 MB, free: 7.32 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.2799, allocations: 7.938 kB / 444.7 MB, free: 7.312 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.022e-05/0.28, allocations: 19.98 kB / 444.8 MB, free: 7.293 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.405e-05/0.2801, allocations: 36.98 kB / 444.8 MB, free: 7.254 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005814/0.2807, allocations: 483.4 kB / 445.3 MB, free: 6.785 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002386/0.2831, allocations: 3.018 MB / 448.3 MB, free: 3.602 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/0.2833, allocations: 177 kB / 448.5 MB, free: 3.41 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.2834, allocations: 105.7 kB / 448.6 MB, free: 3.301 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.09e-05/0.2835, allocations: 3.984 kB / 448.6 MB, free: 3.297 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.2835, allocations: 42.56 kB / 448.6 MB, free: 3.246 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.903e-06/0.2835, allocations: 0 / 448.6 MB, free: 3.246 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001086/0.2846, allocations: 0.8358 MB / 449.4 MB, free: 2.355 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.2846, allocations: 81.09 kB / 449.5 MB, free: 2.258 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002448/0.2849, allocations: 349.5 kB / 449.9 MB, free: 1.91 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.2849, allocations: 29.7 kB / 449.9 MB, free: 1.875 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.2851, allocations: 303.1 kB / 450.2 MB, free: 1.57 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.871e-05/0.2851, allocations: 78.91 kB / 450.3 MB, free: 1.492 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.766e-05/0.2851, allocations: 11.98 kB / 450.3 MB, free: 1.48 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.94e-05/0.2852, allocations: 346.8 kB / 450.6 MB, free: 1.133 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.2854, allocations: 120.8 kB / 450.7 MB, free: 1.016 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002471/0.2856, allocations: 335 kB / 451.1 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002247/0.2859, allocations: 191.8 kB / 451.3 MB, free: 416 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2859, allocations: 0 / 451.3 MB, free: 416 kB / 318.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008337/0.2867, allocations: 0.5536 MB / 451.8 MB, free: 15.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.2868, allocations: 8 kB / 451.8 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004913/0.2873, allocations: 276.7 kB / 452.1 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003164/0.2876, allocations: 80.78 kB / 452.2 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000295/0.2879, allocations: 95.83 kB / 452.3 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001532/0.2894, allocations: 1.605 MB / 453.9 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000221/0.2897, allocations: 23.89 kB / 453.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.998e-05/0.2897, allocations: 20 kB / 453.9 MB, free: 13.61 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002624/0.29, allocations: 221.6 kB / 454.1 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.778e-05/0.2901, allocations: 35.58 kB / 454.2 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004646/0.2905, allocations: 288.8 kB / 454.4 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.343e-06/0.2905, allocations: 7.984 kB / 454.4 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.2905, allocations: 0 / 454.4 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.2906, allocations: 4 kB / 454.5 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.2917, allocations: 0.7941 MB / 455.2 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.2917, allocations: 4 kB / 455.2 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002696/0.292, allocations: 55.84 kB / 455.3 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.292, allocations: 4 kB / 455.3 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.292, allocations: 4 kB / 455.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.292, allocations: 4 kB / 455.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.292, allocations: 3.984 kB / 455.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000529/0.2926, allocations: 477.4 kB / 455.8 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.248e-05/0.2927, allocations: 120.6 kB / 455.9 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.91e-05/0.2927, allocations: 8 kB / 455.9 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.2929, allocations: 4 kB / 455.9 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/0.2929, allocations: 23.97 kB / 455.9 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.2929, allocations: 4.234 kB / 455.9 MB, free: 11.45 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002191/0.2932, allocations: 235.2 kB / 456.2 MB, free: 11.22 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2932, allocations: 0 / 456.2 MB, free: 11.22 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004505/0.2936, allocations: 92 kB / 456.3 MB, free: 11.13 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 (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.0001346/0.2938, allocations: 111.2 kB / 456.4 MB, free: 11.01 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006816/0.2944, allocations: 442.6 kB / 456.8 MB, free: 10.56 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2945, allocations: 0 / 456.8 MB, free: 10.56 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.2946, allocations: 113.3 kB / 456.9 MB, free: 10.45 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004616/0.2951, allocations: 72.03 kB / 457 MB, free: 10.39 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.2967, allocations: 1.259 MB / 458.2 MB, free: 9.086 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004633/0.2972, allocations: 0.8665 MB / 459.1 MB, free: 8.195 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.911e-05/0.2973, allocations: 31.44 kB / 459.1 MB, free: 8.164 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2973, allocations: 3.938 kB / 459.1 MB, free: 8.16 MB / 334.1 MB Notification: Performance of Templates: time 0.007717/0.305, allocations: 5.603 MB / 464.7 MB, free: 2.551 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++ 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.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