Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001064/0.001064, allocations: 98.12 kB / 16.33 MB, free: 6.098 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.001288/0.001288, allocations: 180.5 kB / 17.22 MB, free: 5.965 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.577/1.577, allocations: 223.3 MB / 241.2 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7872/0.7872, allocations: 114.3 MB / 406.7 MB, free: 3.992 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003321/0.0003321, allocations: 12 kB / 494.5 MB, free: 8.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1874, allocations: 77.27 MB / 0.5583 GB, free: 10.95 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.0267/0.2142, allocations: 24.24 MB / 0.582 GB, free: 2.641 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4369/0.6511, allocations: 7.664 MB / 0.5895 GB, free: 15.86 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00297/0.6541, allocations: 104.6 kB / 0.5896 GB, free: 15.85 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001726/0.6559, allocations: 0.5112 MB / 0.5901 GB, free: 15.85 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005822/0.6617, allocations: 1.277 MB / 0.5913 GB, free: 15.61 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004601/0.6663, allocations: 0.9867 MB / 0.5923 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0138/0.6801, allocations: 6.875 MB / 0.599 GB, free: 14.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01613/0.6963, allocations: 8.193 MB / 0.607 GB, free: 12.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005327/0.7017, allocations: 1.876 MB / 0.6089 GB, free: 12.06 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006042/0.7077, allocations: 2.399 MB / 0.6112 GB, free: 11.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007992/0.7085, allocations: 211.1 kB / 0.6114 GB, free: 11.36 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003391/0.7119, allocations: 0.6003 MB / 0.612 GB, free: 11.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002558/0.7145, allocations: 1.658 MB / 0.6136 GB, free: 10.21 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002216/0.7167, allocations: 0.8029 MB / 0.6144 GB, free: 9.746 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008017/0.7248, allocations: 6.625 MB / 0.6209 GB, free: 5.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.7248, allocations: 1.375 kB / 0.6209 GB, free: 5.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.7248, allocations: 0 / 0.6209 GB, free: 5.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002432/0.7251, allocations: 0 / 0.6209 GB, free: 5.07 MB / 446.1 MB 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.009752/0.7348, allocations: 3.459 MB / 0.6242 GB, free: 2.797 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.7349, allocations: 8.312 kB / 0.6242 GB, free: 2.797 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004883/0.7398, allocations: 0.8033 MB / 0.625 GB, free: 2.414 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005226/0.745, allocations: 2.374 MB / 0.6273 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000153/0.7452, allocations: 275.4 kB / 0.6276 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006764/0.7459, allocations: 366.2 kB / 0.628 GB, free: 220 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01278/0.7587, allocations: 5.97 MB / 0.6338 GB, free: 10.02 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000123/0.7589, allocations: 23.72 kB / 0.6338 GB, free: 9.992 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004739/0.7593, allocations: 157.3 kB / 0.634 GB, free: 9.844 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007384/0.7601, allocations: 282.9 kB / 0.6342 GB, free: 9.566 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009731/0.7698, allocations: 4.492 MB / 0.6386 GB, free: 5.066 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03724/0.8071, allocations: 27.7 MB / 0.6657 GB, free: 7.023 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/0.8089, allocations: 1.112 MB / 0.6667 GB, free: 5.906 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001406/0.8103, allocations: 1.015 MB / 0.6677 GB, free: 4.895 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.519e-05/0.8104, allocations: 13 kB / 0.6678 GB, free: 4.879 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.727e-05/0.8105, allocations: 47.5 kB / 0.6678 GB, free: 4.824 MB / 494.1 MB Notification: Performance of pre-optimization done (n=110): time 3.837e-06/0.8105, allocations: 0 / 0.6678 GB, free: 4.824 MB / 494.1 MB Notification: Performance of matching and sorting (n=131): time 0.02415/0.8346, allocations: 9.671 MB / 0.6772 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.881e-05/0.8347, allocations: 68.67 kB / 0.6773 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002668/0.8374, allocations: 1.482 MB / 0.6788 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002595/0.8377, allocations: 49.7 kB / 0.6788 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001562/0.8393, allocations: 1.669 MB / 0.6804 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000719/0.84, allocations: 467.9 kB / 0.6809 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.8401, allocations: 36 kB / 0.6809 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002322/0.8404, allocations: 377.9 kB / 0.6813 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001487/0.8419, allocations: 0.9096 MB / 0.6822 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001974/0.8438, allocations: 1.451 MB / 0.6836 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001887/0.8457, allocations: 1.146 MB / 0.6847 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.06e-05/0.8458, allocations: 4 kB / 0.6847 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006768/0.8525, allocations: 3.27 MB / 0.6879 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.492e-05/0.8526, allocations: 12 kB / 0.6879 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.022e-05/0.8527, allocations: 19.95 kB / 0.6879 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002295/0.855, allocations: 0.7336 MB / 0.6886 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001584/0.8566, allocations: 383.4 kB / 0.689 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01553/0.8721, allocations: 15.77 MB / 0.7044 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002118/0.8743, allocations: 99.89 kB / 0.7045 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004087/0.8747, allocations: 79.94 kB / 0.7046 GB, free: 13.42 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(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%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003799/0.8785, allocations: 1.317 MB / 0.7059 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008405/0.8794, allocations: 197.7 kB / 0.7061 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006196/0.8856, allocations: 2.773 MB / 0.7088 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.096e-05/0.8856, allocations: 19.94 kB / 0.7088 GB, free: 9.07 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.041e-05/0.8857, allocations: 11.94 kB / 0.7088 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.113e-05/0.8857, allocations: 7.969 kB / 0.7088 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01386/0.8996, allocations: 6.201 MB / 0.7149 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.68e-05/0.8996, allocations: 11.95 kB / 0.7149 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/0.9008, allocations: 227.7 kB / 0.7151 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00193/0.9027, allocations: 0.6675 MB / 0.7157 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001118/0.9028, allocations: 32 kB / 0.7158 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01566/0.9185, allocations: 15.5 MB / 0.7309 GB, free: 1.051 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.09e-05/0.9186, allocations: 19.94 kB / 0.7309 GB, free: 1.031 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00741/0.926, allocations: 3.986 MB / 0.7348 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001356/0.9274, allocations: 466.5 kB / 0.7353 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005911/0.928, allocations: 35.98 kB / 0.7353 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/0.9292, allocations: 79.89 kB / 0.7354 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003435/0.9296, allocations: 120.7 kB / 0.7355 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/0.9297, allocations: 36 kB / 0.7355 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001894/0.9316, allocations: 0.9812 MB / 0.7365 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.31e-07/0.9316, allocations: 0 / 0.7365 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003178/0.9348, allocations: 0.6914 MB / 0.7372 GB, free: 10.54 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 (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003229/0.9351, allocations: 147 kB / 0.7373 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005398/0.9406, allocations: 3.491 MB / 0.7407 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/0.9406, allocations: 0 / 0.7407 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003246/0.9438, allocations: 2.293 MB / 0.7429 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003829/0.9477, allocations: 0.6185 MB / 0.7436 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01552/0.9632, allocations: 8.328 MB / 0.7517 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003624/0.9669, allocations: 2.726 MB / 0.7543 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007008/0.9676, allocations: 127.4 kB / 0.7545 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of SimCode: time 8.12e-07/0.9676, allocations: 0 / 0.7545 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of Templates: time 0.5178/1.485, allocations: 209.3 MB / 0.9589 GB, free: 105.3 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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_RLCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLCalcHelperMain.o] Error 1