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.00151/0.00151, allocations: 100.1 kB / 15.88 MB, free: 12 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.001473/0.001473, allocations: 198.8 kB / 16.79 MB, free: 6.863 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.468/1.468, allocations: 222.9 MB / 240.5 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002353/0.002353, allocations: 287.1 kB / 290.9 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.041/1.041, allocations: 169.2 MB / 0.4983 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001749/0.001749, allocations: 90.38 kB / 0.5951 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2078, allocations: 86.99 MB / 0.6801 GB, free: 1.164 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.03883/0.2466, allocations: 37.23 MB / 0.7164 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02402/0.2707, allocations: 13.02 MB / 0.7292 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005076/0.2759, allocations: 155.1 kB / 0.7293 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.01004/0.2859, allocations: 3.599 MB / 0.7328 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.007779/0.2937, allocations: 2.349 MB / 0.7351 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.007021/0.3008, allocations: 2.483 MB / 0.7375 GB, free: 6.176 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01643/0.3172, allocations: 13.36 MB / 0.7506 GB, free: 8.781 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01718/0.3344, allocations: 11.69 MB / 0.762 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006547/0.341, allocations: 3.405 MB / 0.7653 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008266/0.3493, allocations: 4.455 MB / 0.7697 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001926/0.3512, allocations: 0.4922 MB / 0.7702 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00533/0.3566, allocations: 1.817 MB / 0.7719 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.003862/0.3605, allocations: 2.755 MB / 0.7746 GB, free: 4 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.4472/0.8076, allocations: 3.261 MB / 0.7778 GB, free: 31.13 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01735/0.825, allocations: 10 MB / 0.7876 GB, free: 30.84 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.046e-05/0.8251, allocations: 0.6094 kB / 0.7876 GB, free: 30.84 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.284e-06/0.8251, allocations: 3.938 kB / 0.7876 GB, free: 30.84 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0005395/0.8256, allocations: 0 / 0.7876 GB, free: 30.84 MB / 0.5606 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.03059/0.8562, allocations: 6.352 MB / 0.7938 GB, free: 28.55 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.8563, allocations: 10.09 kB / 0.7938 GB, free: 28.55 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01194/0.8683, allocations: 1.306 MB / 0.7951 GB, free: 28.23 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01011/0.8784, allocations: 3.562 MB / 0.7986 GB, free: 27.45 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004665/0.8789, allocations: 379.9 kB / 0.7989 GB, free: 27.44 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00375/0.8827, allocations: 0.5035 MB / 0.7994 GB, free: 27.43 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03018/0.9129, allocations: 8.876 MB / 0.8081 GB, free: 26.37 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003589/0.9133, allocations: 34.53 kB / 0.8081 GB, free: 26.36 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002883/0.9162, allocations: 221.3 kB / 0.8083 GB, free: 26.36 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002222/0.9184, allocations: 0.6362 MB / 0.8089 GB, free: 26.34 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01931/0.9377, allocations: 7.014 MB / 0.8158 GB, free: 26.29 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05928/0.997, allocations: 40.33 MB / 0.8552 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005/1.002, allocations: 2.89 MB / 0.858 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004294/1.006, allocations: 2.672 MB / 0.8606 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003799/1.007, allocations: 28.88 kB / 0.8606 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.234e-05/1.007, allocations: 64.09 kB / 0.8607 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=265): time 6.783e-06/1.007, allocations: 3.562 kB / 0.8607 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=424): time 0.3132/1.32, allocations: 74.67 MB / 0.9336 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.639e-05/1.32, allocations: 94.73 kB / 0.9337 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005478/1.326, allocations: 2.348 MB / 0.936 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.001187/1.327, allocations: 97.7 kB / 0.9361 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001981/1.329, allocations: 2.343 MB / 0.9384 GB, free: 9.547 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.002544/1.331, allocations: 1.437 MB / 0.9398 GB, free: 8.121 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00329/1.335, allocations: 0.7215 MB / 0.9405 GB, free: 7.387 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001593/1.335, allocations: 305.1 kB / 0.9408 GB, free: 7.086 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005258/1.34, allocations: 2.999 MB / 0.9437 GB, free: 4.078 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00551/1.346, allocations: 3.849 MB / 0.9475 GB, free: 15.91 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01069/1.356, allocations: 7.393 MB / 0.9547 GB, free: 8.285 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.81e-05/1.356, allocations: 8 kB / 0.9547 GB, free: 8.277 MB / 0.67 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.0293/1.386, allocations: 12.56 MB / 0.967 GB, free: 11.92 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.458e-05/1.386, allocations: 16 kB / 0.967 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.472e-05/1.386, allocations: 20 kB / 0.967 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02373/1.41, allocations: 6.023 MB / 0.9729 GB, free: 5.82 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002558/1.412, allocations: 495.6 kB / 0.9733 GB, free: 5.367 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08683/1.499, allocations: 67.17 MB / 1.039 GB, free: 15.3 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005002/1.504, allocations: 215.8 kB / 1.039 GB, free: 15.09 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008569/1.505, allocations: 156 kB / 1.039 GB, free: 14.93 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.004877/1.51, allocations: 1.993 MB / 1.041 GB, free: 12.96 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001188/1.511, allocations: 391.4 kB / 1.042 GB, free: 12.58 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02854/1.54, allocations: 12.23 MB / 1.054 GB, free: 424 kB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.678e-05/1.54, allocations: 40 kB / 1.054 GB, free: 384 kB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001747/1.54, allocations: 63.86 kB / 1.054 GB, free: 320 kB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.073e-05/1.54, allocations: 19.92 kB / 1.054 GB, free: 300 kB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4678/2.008, allocations: 19.13 MB / 1.072 GB, free: 266.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-05/2.008, allocations: 9.438 kB / 1.072 GB, free: 266.6 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001684/2.01, allocations: 286.6 kB / 1.073 GB, free: 266.6 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02139/2.031, allocations: 5.565 MB / 1.078 GB, free: 265.3 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009506/2.032, allocations: 87.69 kB / 1.078 GB, free: 265.2 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0656/2.098, allocations: 64.78 MB / 1.141 GB, free: 215.1 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/2.098, allocations: 8 kB / 1.141 GB, free: 215.1 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03/2.128, allocations: 15.62 MB / 1.157 GB, free: 199.5 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003128/2.131, allocations: 1.047 MB / 1.158 GB, free: 198.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001036/2.132, allocations: 76 kB / 1.158 GB, free: 198.4 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00274/2.135, allocations: 223.7 kB / 1.158 GB, free: 198.2 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001496/2.136, allocations: 410.2 kB / 1.158 GB, free: 197.8 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003111/2.136, allocations: 116.1 kB / 1.159 GB, free: 197.7 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.002127/2.139, allocations: 1.553 MB / 1.16 GB, free: 196.1 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.5e-07/2.139, allocations: 0 / 1.16 GB, free: 196.1 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.00702/2.146, allocations: 1.863 MB / 1.162 GB, free: 194.2 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.0006569/2.146, allocations: 216.7 kB / 1.162 GB, free: 194 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0182/2.165, allocations: 12.16 MB / 1.174 GB, free: 181.6 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-05/2.165, allocations: 4 kB / 1.174 GB, free: 181.6 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.01495/2.18, allocations: 8.353 MB / 1.182 GB, free: 172.9 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006455/2.186, allocations: 1.116 MB / 1.183 GB, free: 171.8 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02284/2.209, allocations: 15.53 MB / 1.198 GB, free: 156.3 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0053/2.214, allocations: 4.172 MB / 1.202 GB, free: 152.1 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0011/2.215, allocations: 191.4 kB / 1.203 GB, free: 151.9 MB / 0.7637 GB Notification: Performance of SimCode: time 7.42e-07/2.215, allocations: 0 / 1.203 GB, free: 151.9 MB / 0.7637 GB Notification: Performance of Templates: time 1.646/3.861, allocations: 0.7437 GB / 1.946 GB, free: 248.7 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