Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008749/0.0008804, allocations: 91.25 kB / 16.33 MB, free: 6.059 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.0008558/0.0008558, allocations: 175.3 kB / 17.22 MB, free: 5.938 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.513/1.513, allocations: 223.3 MB / 241.2 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7068/0.7068, allocations: 114.3 MB / 406.7 MB, free: 3.902 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003918/0.0003918, allocations: 8 kB / 494.5 MB, free: 7.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2105, allocations: 77.26 MB / 0.5583 GB, free: 10.9 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.4213/0.6318, allocations: 29.7 MB / 0.5873 GB, free: 16.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01787/0.6498, allocations: 9.75 MB / 0.5969 GB, free: 16.2 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003158/0.653, allocations: 128.4 kB / 0.597 GB, free: 16.15 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001986/0.655, allocations: 0.6196 MB / 0.5976 GB, free: 15.78 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005701/0.6607, allocations: 1.462 MB / 0.599 GB, free: 15.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005548/0.6662, allocations: 1.256 MB / 0.6002 GB, free: 14.68 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01396/0.6802, allocations: 8.273 MB / 0.6083 GB, free: 11.85 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01956/0.6998, allocations: 10.34 MB / 0.6184 GB, free: 7.082 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00633/0.7062, allocations: 2.259 MB / 0.6206 GB, free: 5.977 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006475/0.7127, allocations: 2.9 MB / 0.6235 GB, free: 4.574 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001207/0.7139, allocations: 266.3 kB / 0.6237 GB, free: 4.574 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004357/0.7183, allocations: 0.8391 MB / 0.6245 GB, free: 4.273 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002739/0.7211, allocations: 2.04 MB / 0.6265 GB, free: 3.082 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001953/0.723, allocations: 0.9587 MB / 0.6275 GB, free: 2.504 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01071/0.7337, allocations: 8.344 MB / 0.6356 GB, free: 10.3 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.7338, allocations: 0 / 0.6356 GB, free: 10.3 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.7338, allocations: 0 / 0.6356 GB, free: 10.3 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003257/0.7341, allocations: 0 / 0.6356 GB, free: 10.3 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.009669/0.7438, allocations: 4.067 MB / 0.6396 GB, free: 6.199 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.7439, allocations: 8.031 kB / 0.6396 GB, free: 6.191 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005761/0.7496, allocations: 0.9585 MB / 0.6405 GB, free: 5.23 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006182/0.7558, allocations: 2.803 MB / 0.6433 GB, free: 2.402 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002829/0.7561, allocations: 347.3 kB / 0.6436 GB, free: 2.07 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001251/0.7574, allocations: 466.8 kB / 0.644 GB, free: 1.625 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0157/0.7731, allocations: 7.628 MB / 0.6515 GB, free: 9.676 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001446/0.7733, allocations: 23.78 kB / 0.6515 GB, free: 9.652 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004922/0.7738, allocations: 196.8 kB / 0.6517 GB, free: 9.469 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003563/0.7742, allocations: 320.9 kB / 0.652 GB, free: 9.152 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01156/0.7857, allocations: 5.675 MB / 0.6575 GB, free: 3.461 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04503/0.8308, allocations: 35.12 MB / 0.6918 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002685/0.8335, allocations: 2.148 MB / 0.6939 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001564/0.8351, allocations: 1.273 MB / 0.6952 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.116e-05/0.8352, allocations: 17.27 kB / 0.6952 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.8352, allocations: 47.88 kB / 0.6952 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=133): time 2.795e-06/0.8353, allocations: 4 kB / 0.6952 GB, free: 9.531 MB / 0.5137 GB Notification: Performance of matching and sorting (n=136): time 0.01362/0.8489, allocations: 7.073 MB / 0.7022 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.395e-05/0.849, allocations: 64.72 kB / 0.7022 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00242/0.8514, allocations: 1.468 MB / 0.7036 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001097/0.8515, allocations: 53.7 kB / 0.7037 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001428/0.853, allocations: 2.008 MB / 0.7057 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004602/0.8535, allocations: 489.1 kB / 0.7061 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.146e-05/0.8536, allocations: 36 kB / 0.7062 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002116/0.8538, allocations: 385.8 kB / 0.7065 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001303/0.8551, allocations: 0.9057 MB / 0.7074 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001827/0.8569, allocations: 1.585 MB / 0.709 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001806/0.8587, allocations: 1.181 MB / 0.7101 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.445e-05/0.8588, allocations: 4 kB / 0.7101 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.007011/0.8658, allocations: 3.511 MB / 0.7135 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.176e-05/0.8659, allocations: 16 kB / 0.7136 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.345e-05/0.866, allocations: 20 kB / 0.7136 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002709/0.8687, allocations: 0.9038 MB / 0.7145 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/0.8699, allocations: 347.4 kB / 0.7148 GB, free: 4.738 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02073/0.8906, allocations: 21.2 MB / 0.7355 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0018/0.8925, allocations: 107.9 kB / 0.7356 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001415/0.8926, allocations: 87.98 kB / 0.7357 GB, free: 13.74 MB / 0.5606 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 (185): * Single equations (assignments): 173 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(3,77.8%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003262/0.8959, allocations: 1.613 MB / 0.7373 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004819/0.8964, allocations: 205.5 kB / 0.7375 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005139/0.9015, allocations: 2.974 MB / 0.7404 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/0.9016, allocations: 16 kB / 0.7404 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.164e-05/0.9016, allocations: 12 kB / 0.7404 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/0.9016, allocations: 3.984 kB / 0.7404 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01309/0.9147, allocations: 7.325 MB / 0.7475 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/0.9148, allocations: 8 kB / 0.7476 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007183/0.9155, allocations: 176.3 kB / 0.7477 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002203/0.9177, allocations: 0.8217 MB / 0.7485 GB, free: 268 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.523e-05/0.9178, allocations: 24 kB / 0.7485 GB, free: 244 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01989/0.9377, allocations: 20.3 MB / 0.7684 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.166e-05/0.9378, allocations: 7.938 kB / 0.7684 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005613/0.9434, allocations: 3.008 MB / 0.7713 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001101/0.9446, allocations: 470.5 kB / 0.7718 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002513/0.9448, allocations: 28 kB / 0.7718 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006902/0.9455, allocations: 71.91 kB / 0.7719 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003614/0.9459, allocations: 124.7 kB / 0.772 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.647e-05/0.946, allocations: 36 kB / 0.772 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001421/0.9474, allocations: 0.96 MB / 0.773 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9474, allocations: 0 / 0.773 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00307/0.9505, allocations: 0.7891 MB / 0.7737 GB, free: 4.699 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 simulation (91): * Single equations (assignments): 79 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002607/0.9508, allocations: 143.7 kB / 0.7739 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.006254/0.957, allocations: 4 MB / 0.7778 GB, free: 408 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.9571, allocations: 4 kB / 0.7778 GB, free: 404 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00397/0.961, allocations: 2.737 MB / 0.7804 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003211/0.9643, allocations: 0.6674 MB / 0.7811 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01817/0.9825, allocations: 9.358 MB / 0.7902 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004578/0.9871, allocations: 3.183 MB / 0.7933 GB, free: 184 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005779/0.9877, allocations: 131.4 kB / 0.7935 GB, free: 52 kB / 0.6075 GB Notification: Performance of SimCode: time 1.001e-06/0.9877, allocations: 0 / 0.7935 GB, free: 52 kB / 0.6075 GB Notification: Performance of Templates: time 1.008/1.995, allocations: 321.1 MB / 1.107 GB, free: 207.8 MB / 0.6544 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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 OMCppIBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_LCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_LCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_LCalcHelperMain.o] Error 1