Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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.000832/0.0008319, allocations: 102.7 kB / 15.71 MB, free: 460 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.001095/0.001095, allocations: 177.9 kB / 16.58 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.573/1.573, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.926/2.926, allocations: 436.7 MB / 0.7113 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003653/0.0003654, allocations: 12 kB / 0.8717 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7898/0.7902, allocations: 153.7 MB / 1.022 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.0064/0.7967, allocations: 4.915 MB / 1.027 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005247/0.802, allocations: 2.495 MB / 1.029 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005458/0.8026, allocations: 15.88 kB / 1.029 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003676/0.8029, allocations: 103.1 kB / 1.029 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001088/0.804, allocations: 326.2 kB / 1.029 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.8051, allocations: 303.3 kB / 1.03 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001338/0.8065, allocations: 1.056 MB / 1.031 GB, free: 7.891 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001408/0.8079, allocations: 0.7321 MB / 1.031 GB, free: 7.121 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005206/0.8084, allocations: 314.6 kB / 1.032 GB, free: 6.812 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000503/0.8089, allocations: 378.5 kB / 1.032 GB, free: 6.441 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.777e-05/0.809, allocations: 24 kB / 1.032 GB, free: 6.418 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004889/0.8095, allocations: 183.8 kB / 1.032 GB, free: 6.238 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002315/0.8097, allocations: 219.3 kB / 1.032 GB, free: 6.023 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.8099, allocations: 145.4 kB / 1.033 GB, free: 5.875 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007624/0.8106, allocations: 0.7265 MB / 1.033 GB, free: 5.148 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.837e-06/0.8107, allocations: 3.938 kB / 1.033 GB, free: 5.145 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.575e-06/0.8107, allocations: 0 / 1.033 GB, free: 5.145 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.698e-06/0.8107, allocations: 0 / 1.033 GB, free: 5.145 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001507/0.8122, allocations: 0.8491 MB / 1.034 GB, free: 4.246 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.8122, allocations: 19.97 kB / 1.034 GB, free: 4.227 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00131/0.8136, allocations: 194.8 kB / 1.034 GB, free: 4.035 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006909/0.8143, allocations: 481.4 kB / 1.035 GB, free: 3.523 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.39e-05/0.8143, allocations: 33 kB / 1.035 GB, free: 3.492 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/0.8145, allocations: 59.97 kB / 1.035 GB, free: 3.434 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.8156, allocations: 0.8277 MB / 1.036 GB, free: 2.523 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/0.8157, allocations: 7.906 kB / 1.036 GB, free: 2.516 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.229e-05/0.8158, allocations: 20 kB / 1.036 GB, free: 2.496 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001889/0.8159, allocations: 68.94 kB / 1.036 GB, free: 2.43 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000895/0.8169, allocations: 0.5774 MB / 1.036 GB, free: 1.852 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004402/0.8213, allocations: 4.593 MB / 1.041 GB, free: 12.91 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004949/0.8218, allocations: 293.8 kB / 1.041 GB, free: 12.62 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003363/0.8221, allocations: 229.3 kB / 1.041 GB, free: 12.39 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.715e-05/0.8222, allocations: 8.219 kB / 1.041 GB, free: 12.38 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.679e-05/0.8222, allocations: 42.83 kB / 1.041 GB, free: 12.33 MB / 0.795 GB Notification: Performance of pre-optimization done (n=33): time 2.746e-06/0.8222, allocations: 4 kB / 1.041 GB, free: 12.33 MB / 0.795 GB Notification: Performance of matching and sorting (n=40): time 0.005427/0.8277, allocations: 2.623 MB / 1.044 GB, free: 9.578 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.8277, allocations: 63.39 kB / 1.044 GB, free: 9.504 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005101/0.8282, allocations: 453.9 kB / 1.044 GB, free: 9.051 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.339e-05/0.8283, allocations: 37.7 kB / 1.045 GB, free: 9.008 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002445/0.8285, allocations: 343.6 kB / 1.045 GB, free: 8.664 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.8287, allocations: 138.1 kB / 1.045 GB, free: 8.527 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.054e-05/0.8287, allocations: 12 kB / 1.045 GB, free: 8.516 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.8289, allocations: 366.7 kB / 1.045 GB, free: 8.148 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003388/0.8292, allocations: 233 kB / 1.046 GB, free: 7.922 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004776/0.8297, allocations: 412 kB / 1.046 GB, free: 7.449 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004355/0.8302, allocations: 293.5 kB / 1.046 GB, free: 7.164 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.8302, allocations: 4 kB / 1.046 GB, free: 7.16 MB / 0.795 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001578/0.8317, allocations: 0.9178 MB / 1.047 GB, free: 6.227 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.8318, allocations: 8 kB / 1.047 GB, free: 6.219 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.8318, allocations: 8 kB / 1.047 GB, free: 6.211 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007424/0.8325, allocations: 226.4 kB / 1.047 GB, free: 5.98 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004981/0.8331, allocations: 115.8 kB / 1.047 GB, free: 5.867 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004786/0.8379, allocations: 4.927 MB / 1.052 GB, free: 0.5391 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004868/0.8384, allocations: 31.97 kB / 1.052 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.022e-05/0.8384, allocations: 28.06 kB / 1.052 GB, free: 492 kB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004074/0.8388, allocations: 229.5 kB / 1.053 GB, free: 252 kB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.137e-05/0.8389, allocations: 59.28 kB / 1.053 GB, free: 192 kB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001682/0.8406, allocations: 0.7811 MB / 1.053 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.8406, allocations: 4 kB / 1.053 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.8407, allocations: 0 / 1.053 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.8407, allocations: 4 kB / 1.053 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002618/0.8433, allocations: 1.502 MB / 1.055 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.8433, allocations: 4 kB / 1.055 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003713/0.8437, allocations: 59.95 kB / 1.055 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006887/0.8444, allocations: 210.5 kB / 1.055 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.396e-05/0.8444, allocations: 11.98 kB / 1.055 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004477/0.8489, allocations: 4.856 MB / 1.06 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.8489, allocations: 8 kB / 1.06 GB, free: 8.234 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001738/0.8507, allocations: 1.127 MB / 1.061 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002399/0.8509, allocations: 172.5 kB / 1.061 GB, free: 6.871 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.321e-05/0.851, allocations: 15.98 kB / 1.061 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002991/0.8513, allocations: 31.91 kB / 1.061 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.855e-05/0.8514, allocations: 36.14 kB / 1.061 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-05/0.8514, allocations: 16 kB / 1.061 GB, free: 6.773 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003848/0.8518, allocations: 314.8 kB / 1.062 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8518, allocations: 3.938 kB / 1.062 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0008646/0.8527, allocations: 172 kB / 1.062 GB, free: 6.297 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.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 (30): * Single equations (assignments): 27 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002446/0.853, allocations: 111.2 kB / 1.062 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001704/0.8547, allocations: 0.9964 MB / 1.063 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.8547, allocations: 128 / 1.063 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0009103/0.8556, allocations: 0.6875 MB / 1.063 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008647/0.8565, allocations: 160.4 kB / 1.064 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/0.8587, allocations: 1.555 MB / 1.065 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005637/0.8593, allocations: 0.9534 MB / 1.066 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.8594, allocations: 39.44 kB / 1.066 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of SimCode: time 8.81e-07/0.8595, allocations: 0 / 1.066 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of Templates: time 0.01882/0.8783, allocations: 14.85 MB / 1.081 GB, free: 2.832 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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 OMCppBuildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RLCalcHelperMain.o OMCppBuildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RLCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RLCalcHelperMain.o] Error 1