Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001721/0.001721, 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.002183/0.002184, allocations: 198.4 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.551/1.551, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002314/0.002314, allocations: 286.8 kB / 290.9 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9821/0.9821, allocations: 169.2 MB / 0.4984 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001684/0.001684, allocations: 93.91 kB / 0.5951 GB, free: 28.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2087, allocations: 86.99 MB / 0.6801 GB, free: 1.148 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03052/0.2393, allocations: 26.41 MB / 0.7059 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01903/0.2584, allocations: 8.071 MB / 0.7138 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005981/0.2644, allocations: 107.4 kB / 0.7139 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.01025/0.2747, allocations: 2.567 MB / 0.7164 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006706/0.2815, allocations: 1.493 MB / 0.7178 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005953/0.2875, allocations: 1.531 MB / 0.7193 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01216/0.2996, allocations: 8.697 MB / 0.7278 GB, free: 156 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01522/0.3149, allocations: 8.194 MB / 0.7358 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004677/0.3196, allocations: 2.195 MB / 0.738 GB, free: 5.656 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005784/0.3254, allocations: 2.889 MB / 0.7408 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.002246/0.3277, allocations: 348 kB / 0.7411 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005151/0.3329, allocations: 1.322 MB / 0.7424 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.004068/0.337, allocations: 1.879 MB / 0.7443 GB, free: 15.21 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.006554/0.3436, allocations: 2.185 MB / 0.7464 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.008963/0.3526, allocations: 6.805 MB / 0.753 GB, free: 6.195 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.418e-06/0.3526, allocations: 7.938 kB / 0.753 GB, free: 6.188 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3526, allocations: 0 / 0.753 GB, free: 6.188 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0003291/0.353, allocations: 4 kB / 0.753 GB, free: 6.184 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01394/0.3669, allocations: 4.224 MB / 0.7572 GB, free: 1.895 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/0.367, allocations: 12.03 kB / 0.7572 GB, free: 1.883 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00598/0.373, allocations: 0.8001 MB / 0.758 GB, free: 1.078 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006745/0.3798, allocations: 2.424 MB / 0.7603 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003856/0.3802, allocations: 275.6 kB / 0.7606 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002013/0.3823, allocations: 376.5 kB / 0.761 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01572/0.398, allocations: 5.996 MB / 0.7668 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001187/0.3982, allocations: 23.78 kB / 0.7668 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004397/0.3986, allocations: 156 kB / 0.767 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005941/0.3992, allocations: 282.9 kB / 0.7673 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01045/0.4097, allocations: 4.531 MB / 0.7717 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4453/0.855, allocations: 27.64 MB / 0.7987 GB, free: 65.69 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/0.8566, allocations: 1.119 MB / 0.7998 GB, free: 65.26 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001283/0.8579, allocations: 1.019 MB / 0.8008 GB, free: 64.88 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.348e-05/0.858, allocations: 12.62 kB / 0.8008 GB, free: 64.88 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.8581, allocations: 49.86 kB / 0.8008 GB, free: 64.82 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=110): time 3.076e-06/0.8581, allocations: 0 / 0.8008 GB, free: 64.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=131): time 0.02124/0.8793, allocations: 9.654 MB / 0.8102 GB, free: 60.59 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.662e-05/0.8794, allocations: 65.81 kB / 0.8103 GB, free: 60.52 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002482/0.8819, allocations: 1.495 MB / 0.8118 GB, free: 59.96 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001098/0.882, allocations: 48.2 kB / 0.8118 GB, free: 59.91 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008772/0.8829, allocations: 1.67 MB / 0.8134 GB, free: 58.55 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003156/0.8832, allocations: 473.8 kB / 0.8139 GB, free: 58.16 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005214/0.8837, allocations: 332.4 kB / 0.8142 GB, free: 57.97 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.601e-05/0.8838, allocations: 305.1 kB / 0.8145 GB, free: 57.67 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/0.8851, allocations: 0.909 MB / 0.8154 GB, free: 57.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001704/0.8868, allocations: 1.466 MB / 0.8168 GB, free: 56 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003134/0.8899, allocations: 2.551 MB / 0.8193 GB, free: 54.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.221e-05/0.89, allocations: 4.625 kB / 0.8193 GB, free: 54.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005889/0.8959, allocations: 3.283 MB / 0.8225 GB, free: 52.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.107e-05/0.8959, allocations: 15.53 kB / 0.8225 GB, free: 52.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.83e-05/0.896, allocations: 17.59 kB / 0.8226 GB, free: 52.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00259/0.8986, allocations: 0.7366 MB / 0.8233 GB, free: 52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001814/0.9004, allocations: 387.6 kB / 0.8236 GB, free: 51.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01207/0.9125, allocations: 15.77 MB / 0.839 GB, free: 37.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001829/0.9144, allocations: 103.5 kB / 0.8391 GB, free: 37.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/0.9145, allocations: 79.28 kB / 0.8392 GB, free: 37.27 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002097/0.9166, allocations: 1.317 MB / 0.8405 GB, free: 36.44 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003519/0.917, allocations: 197.9 kB / 0.8407 GB, free: 36.34 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0045/0.9215, allocations: 2.792 MB / 0.8434 GB, free: 34.67 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.9215, allocations: 20.17 kB / 0.8434 GB, free: 34.66 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/0.9215, allocations: 5.812 kB / 0.8434 GB, free: 34.66 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.9215, allocations: 3.984 kB / 0.8434 GB, free: 34.66 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00863/0.9302, allocations: 6.216 MB / 0.8495 GB, free: 29.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-06/0.9302, allocations: 8 kB / 0.8495 GB, free: 29.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/0.9313, allocations: 227.7 kB / 0.8497 GB, free: 29.67 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001801/0.9331, allocations: 0.6678 MB / 0.8504 GB, free: 28.97 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.272e-05/0.9332, allocations: 39.92 kB / 0.8504 GB, free: 28.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01091/0.9441, allocations: 15.51 MB / 0.8656 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.9442, allocations: 11.94 kB / 0.8656 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005494/0.9497, allocations: 4.004 MB / 0.8695 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008974/0.9506, allocations: 454.6 kB / 0.8699 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002305/0.9508, allocations: 35.98 kB / 0.87 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008421/0.9517, allocations: 79.89 kB / 0.87 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003093/0.952, allocations: 120.7 kB / 0.8702 GB, free: 7.406 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.038e-05/0.9521, allocations: 44.12 kB / 0.8702 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001194/0.9533, allocations: 0.9942 MB / 0.8712 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9533, allocations: 0 / 0.8712 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00241/0.9557, allocations: 0.6836 MB / 0.8718 GB, free: 5.695 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002276/0.9559, allocations: 151.8 kB / 0.872 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004287/0.9602, allocations: 3.507 MB / 0.8754 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.9603, allocations: 0 / 0.8754 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002736/0.963, allocations: 2.295 MB / 0.8777 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002859/0.9659, allocations: 0.6248 MB / 0.8783 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01286/0.9787, allocations: 8.603 MB / 0.8867 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002844/0.9816, allocations: 2.722 MB / 0.8893 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006497/0.9823, allocations: 127.4 kB / 0.8894 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of SimCode: time 8.51e-07/0.9823, allocations: 3.938 kB / 0.8894 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of Templates: time 0.6092/1.592, allocations: 209.6 MB / 1.094 GB, free: 230.7 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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_RLCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLCalcHelperMain.o] Error 1