Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.0008111/0.0008108, allocations: 98.89 kB / 15.71 MB, free: 452 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.001037/0.001037, allocations: 181 kB / 16.58 MB, free: 6.422 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.505/1.505, allocations: 223.2 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.5/2.5, allocations: 390.5 MB / 0.6662 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004406/0.0004417, allocations: 8 kB / 0.8154 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7145/0.7149, allocations: 142.3 MB / 0.9544 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.005513/0.7205, allocations: 4.912 MB / 0.9592 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00393/0.7245, allocations: 2.483 MB / 0.9616 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004966/0.725, allocations: 21.94 kB / 0.9617 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003884/0.7254, allocations: 104.3 kB / 0.9618 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001194/0.7266, allocations: 333.2 kB / 0.9621 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001154/0.7278, allocations: 300.8 kB / 0.9624 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001611/0.7294, allocations: 1.041 MB / 0.9634 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001538/0.731, allocations: 0.757 MB / 0.9641 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007727/0.7317, allocations: 306 kB / 0.9644 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006145/0.7324, allocations: 373.9 kB / 0.9648 GB, free: 308 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.081e-05/0.7325, allocations: 25.62 kB / 0.9648 GB, free: 308 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006128/0.7331, allocations: 187.5 kB / 0.965 GB, free: 224 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002375/0.7333, allocations: 215.4 kB / 0.9652 GB, free: 92 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001605/0.7335, allocations: 149 kB / 0.9653 GB, free: 0 / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008842/0.7344, allocations: 0.7317 MB / 0.966 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.7344, allocations: 0 / 0.966 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.535e-06/0.7344, allocations: 1.094 kB / 0.966 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.499e-05/0.7345, allocations: 0 / 0.966 GB, free: 15.5 MB / 0.7325 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.001549/0.736, allocations: 0.8519 MB / 0.9669 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.7361, allocations: 13.06 kB / 0.9669 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001408/0.7375, allocations: 200.2 kB / 0.9671 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007749/0.7383, allocations: 478.4 kB / 0.9675 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.729e-05/0.7383, allocations: 44.72 kB / 0.9676 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001592/0.7385, allocations: 46.47 kB / 0.9676 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001379/0.7399, allocations: 0.8197 MB / 0.9684 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.824e-05/0.7399, allocations: 10.62 kB / 0.9684 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.585e-05/0.74, allocations: 30.61 kB / 0.9685 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002063/0.7402, allocations: 66.84 kB / 0.9685 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.7413, allocations: 0.568 MB / 0.9691 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004946/0.7462, allocations: 4.585 MB / 0.9736 GB, free: 9.07 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005105/0.7467, allocations: 294.8 kB / 0.9738 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003462/0.7471, allocations: 221.4 kB / 0.974 GB, free: 8.797 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.311e-05/0.7471, allocations: 7.109 kB / 0.9741 GB, free: 8.793 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.7472, allocations: 37.53 kB / 0.9741 GB, free: 8.75 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 3.216e-06/0.7472, allocations: 0 / 0.9741 GB, free: 8.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=40): time 0.005721/0.7529, allocations: 2.645 MB / 0.9767 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.753, allocations: 55.53 kB / 0.9767 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005463/0.7535, allocations: 456.8 kB / 0.9772 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.93e-05/0.7536, allocations: 31.02 kB / 0.9772 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002391/0.7538, allocations: 348.6 kB / 0.9775 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.754, allocations: 136.2 kB / 0.9777 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.079e-05/0.754, allocations: 10.75 kB / 0.9777 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.7541, allocations: 367.7 kB / 0.978 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003728/0.7545, allocations: 232.8 kB / 0.9782 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004849/0.755, allocations: 404.6 kB / 0.9786 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004581/0.7555, allocations: 307.9 kB / 0.9789 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.7555, allocations: 1.219 kB / 0.9789 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001634/0.7571, allocations: 0.9128 MB / 0.9798 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.7572, allocations: 8.312 kB / 0.9798 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.7572, allocations: 9.594 kB / 0.9798 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007131/0.7579, allocations: 234 kB / 0.98 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005184/0.7584, allocations: 117.3 kB / 0.9802 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005639/0.7641, allocations: 4.935 MB / 0.985 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005711/0.7647, allocations: 31.97 kB / 0.985 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.063e-05/0.7647, allocations: 20 kB / 0.985 GB, free: 15.5 MB / 0.7481 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.00043/0.7652, allocations: 225.7 kB / 0.9852 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.7653, allocations: 59.3 kB / 0.9853 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001503/0.7668, allocations: 0.7697 MB / 0.9861 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.7668, allocations: 7.953 kB / 0.9861 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.7668, allocations: 4 kB / 0.9861 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.7668, allocations: 3.984 kB / 0.9861 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002432/0.7693, allocations: 1.494 MB / 0.9875 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.7693, allocations: 0 / 0.9875 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003766/0.7697, allocations: 75.88 kB / 0.9876 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006742/0.7704, allocations: 202.6 kB / 0.9878 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.403e-05/0.7704, allocations: 15.94 kB / 0.9878 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004893/0.7753, allocations: 4.864 MB / 0.9926 GB, free: 7.273 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.7753, allocations: 4 kB / 0.9926 GB, free: 7.27 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/0.7772, allocations: 1.137 MB / 0.9937 GB, free: 6.086 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002766/0.7775, allocations: 176.4 kB / 0.9938 GB, free: 5.895 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.989e-05/0.7776, allocations: 12.14 kB / 0.9939 GB, free: 5.883 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003027/0.7779, allocations: 35.95 kB / 0.9939 GB, free: 5.848 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.263e-05/0.778, allocations: 35.97 kB / 0.9939 GB, free: 5.812 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.007e-05/0.778, allocations: 15.98 kB / 0.9939 GB, free: 5.797 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003655/0.7784, allocations: 306.9 kB / 0.9942 GB, free: 5.5 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7784, allocations: 0 / 0.9942 GB, free: 5.5 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000801/0.7792, allocations: 168 kB / 0.9944 GB, free: 5.336 MB / 0.7481 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.0001721/0.7794, allocations: 115.5 kB / 0.9945 GB, free: 5.211 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001546/0.7809, allocations: 1.004 MB / 0.9955 GB, free: 4.168 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.7809, allocations: 4 kB / 0.9955 GB, free: 4.164 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008851/0.7818, allocations: 0.6838 MB / 0.9962 GB, free: 3.441 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008564/0.7827, allocations: 171.4 kB / 0.9963 GB, free: 3.273 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002164/0.7849, allocations: 1.549 MB / 0.9978 GB, free: 1.668 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005328/0.7854, allocations: 0.9494 MB / 0.9988 GB, free: 0.6914 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.7855, allocations: 39.44 kB / 0.9988 GB, free: 0.6523 MB / 0.7481 GB Notification: Performance of SimCode: time 1.022e-06/0.7856, allocations: 0 / 0.9988 GB, free: 0.6523 MB / 0.7481 GB Notification: Performance of Templates: time 0.0192/0.8048, allocations: 14.84 MB / 1.013 GB, free: 1.855 MB / 0.7637 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile make -j1 -f Buildings_9_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_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RLCalcHelperMain.o OMCppBuildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RLCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RLCalcHelperMain.o] Error 1