Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009527/0.0009527, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 182 kB / 16.92 MB, free: 6.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001879/0.001879, allocations: 270.8 kB / 292.3 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9947/0.9947, allocations: 169.5 MB / 0.501 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004472/0.0004472, allocations: 17.98 kB / 0.5993 GB, free: 28.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1956, allocations: 88.53 MB / 0.6858 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.03885/0.2345, allocations: 36.36 MB / 0.7213 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02218/0.2568, allocations: 12.91 MB / 0.7339 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004442/0.2612, allocations: 147.1 kB / 0.734 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002998/0.2643, allocations: 0.7636 MB / 0.7348 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.008165/0.2724, allocations: 2.349 MB / 0.7371 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.007484/0.28, allocations: 2.306 MB / 0.7393 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01843/0.2984, allocations: 13.36 MB / 0.7524 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4895/0.788, allocations: 13.19 MB / 0.7653 GB, free: 20.84 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007374/0.7954, allocations: 2.936 MB / 0.7681 GB, free: 20.75 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008505/0.804, allocations: 3.876 MB / 0.7719 GB, free: 20.23 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001238/0.8052, allocations: 316.1 kB / 0.7722 GB, free: 20.23 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005307/0.8105, allocations: 1.63 MB / 0.7738 GB, free: 20.23 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.004739/0.8153, allocations: 2.469 MB / 0.7762 GB, free: 20.02 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.01103/0.8263, allocations: 2.948 MB / 0.7791 GB, free: 19.11 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01636/0.8427, allocations: 9.776 MB / 0.7886 GB, free: 18.73 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.8428, allocations: 4 kB / 0.7886 GB, free: 18.72 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.304e-06/0.8428, allocations: 0 / 0.7886 GB, free: 18.72 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0005727/0.8434, allocations: 4.781 kB / 0.7886 GB, free: 18.72 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.02078/0.8642, allocations: 5.147 MB / 0.7937 GB, free: 15.88 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.8642, allocations: 8.438 kB / 0.7937 GB, free: 15.88 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01158/0.8758, allocations: 1.304 MB / 0.7949 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01148/0.8874, allocations: 3.558 MB / 0.7984 GB, free: 13.99 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006339/0.888, allocations: 386.8 kB / 0.7988 GB, free: 13.98 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003537/0.8916, allocations: 0.4998 MB / 0.7993 GB, free: 13.97 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02529/0.9169, allocations: 8.88 MB / 0.808 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001807/0.9171, allocations: 30.41 kB / 0.808 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007266/0.9178, allocations: 224.8 kB / 0.8082 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002123/0.92, allocations: 0.6281 MB / 0.8088 GB, free: 11.04 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01331/0.9333, allocations: 7.015 MB / 0.8157 GB, free: 9.68 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05725/0.9906, allocations: 40.44 MB / 0.8551 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005102/0.9957, allocations: 2.889 MB / 0.858 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004609/1, allocations: 2.666 MB / 0.8606 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003413/1.001, allocations: 30.09 kB / 0.8606 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.023e-05/1.001, allocations: 60.66 kB / 0.8607 GB, free: 15 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=265): time 7.313e-06/1.001, allocations: 4 kB / 0.8607 GB, free: 15 MB / 0.5919 GB Notification: Performance of matching and sorting (n=424): time 0.3211/1.322, allocations: 77.51 MB / 0.9364 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.928e-05/1.322, allocations: 98.73 kB / 0.9364 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004908/1.327, allocations: 2.352 MB / 0.9387 GB, free: 14.67 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.001217/1.328, allocations: 97.7 kB / 0.9388 GB, free: 14.57 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.002049/1.33, allocations: 2.334 MB / 0.9411 GB, free: 12.21 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.002655/1.333, allocations: 1.435 MB / 0.9425 GB, free: 10.79 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001253/1.334, allocations: 343 kB / 0.9428 GB, free: 10.45 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001093/1.334, allocations: 309 kB / 0.9431 GB, free: 10.14 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005721/1.34, allocations: 2.999 MB / 0.9461 GB, free: 7.137 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006259/1.346, allocations: 3.843 MB / 0.9498 GB, free: 2.973 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01199/1.358, allocations: 7.382 MB / 0.957 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.079e-05/1.358, allocations: 8 kB / 0.957 GB, free: 11.35 MB / 0.6856 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03273/1.391, allocations: 12.56 MB / 0.9693 GB, free: 15 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 5.522e-05/1.391, allocations: 24.23 kB / 0.9693 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.856e-05/1.391, allocations: 20 kB / 0.9693 GB, free: 14.96 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02426/1.416, allocations: 6.022 MB / 0.9752 GB, free: 8.887 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002541/1.418, allocations: 0.489 MB / 0.9757 GB, free: 8.43 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08809/1.506, allocations: 67.3 MB / 1.041 GB, free: 2.227 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005349/1.512, allocations: 215.8 kB / 1.042 GB, free: 2.016 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001296/1.513, allocations: 152 kB / 1.042 GB, free: 1.867 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.4099/1.923, allocations: 1.99 MB / 1.044 GB, free: 263.8 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001626/1.925, allocations: 388.7 kB / 1.044 GB, free: 263.8 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03075/1.955, allocations: 12.23 MB / 1.056 GB, free: 263.3 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-05/1.955, allocations: 43.91 kB / 1.056 GB, free: 263.3 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001943/1.956, allocations: 49.59 kB / 1.056 GB, free: 263.3 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001132/1.956, allocations: 20.11 kB / 1.056 GB, free: 263.3 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04175/1.998, allocations: 19.17 MB / 1.075 GB, free: 256.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.069e-05/1.998, allocations: 7.156 kB / 1.075 GB, free: 256.6 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001463/1.999, allocations: 293.5 kB / 1.075 GB, free: 256.6 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01895/2.018, allocations: 5.568 MB / 1.081 GB, free: 255.2 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004849/2.019, allocations: 82.56 kB / 1.081 GB, free: 255.2 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06315/2.082, allocations: 64.92 MB / 1.144 GB, free: 200.8 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/2.082, allocations: 11.94 kB / 1.144 GB, free: 200.7 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02775/2.11, allocations: 15.62 MB / 1.159 GB, free: 185 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002894/2.112, allocations: 1.043 MB / 1.16 GB, free: 183.9 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001101/2.114, allocations: 87.92 kB / 1.16 GB, free: 183.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003005/2.117, allocations: 211.7 kB / 1.161 GB, free: 183.6 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001395/2.118, allocations: 402.3 kB / 1.161 GB, free: 183.2 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002695/2.118, allocations: 111.8 kB / 1.161 GB, free: 183.1 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001938/2.12, allocations: 1.556 MB / 1.163 GB, free: 181.6 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.5e-07/2.12, allocations: 4 kB / 1.163 GB, free: 181.6 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.006584/2.127, allocations: 1.859 MB / 1.164 GB, free: 179.7 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005473/2.127, allocations: 224.6 kB / 1.165 GB, free: 179.5 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0175/2.145, allocations: 12.18 MB / 1.177 GB, free: 167 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.404e-05/2.145, allocations: 8.125 kB / 1.177 GB, free: 167 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.01292/2.158, allocations: 8.374 MB / 1.185 GB, free: 158.3 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009354/2.167, allocations: 1.118 MB / 1.186 GB, free: 157.2 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02425/2.192, allocations: 15.6 MB / 1.201 GB, free: 141.6 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005607/2.197, allocations: 4.16 MB / 1.205 GB, free: 137.4 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001038/2.198, allocations: 191.4 kB / 1.205 GB, free: 137.2 MB / 0.7637 GB Notification: Performance of SimCode: time 8.81e-07/2.198, allocations: 4 kB / 1.205 GB, free: 137.2 MB / 0.7637 GB Notification: Performance of Templates: time 1.696/3.895, allocations: 0.743 GB / 1.948 GB, free: 239.9 MB / 0.7794 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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 OMCppBuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLCCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLCCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLCCalcHelperMain.o] Error 1