Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.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.ACSimpleGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.v.1.|load.v.2.|E.terminal.v.1.|E.terminal.v.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.v.1.|load.v.2.|E.terminal.v.1.|E.terminal.v.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008316/0.0008316, allocations: 100.5 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.001633/0.001633, allocations: 174.9 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.474/1.474, allocations: 223.3 MB / 240.6 MB, free: 5.332 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.496/2.496, allocations: 390.5 MB / 0.6662 GB, free: 2.824 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003254/0.0003254, allocations: 12 kB / 0.8154 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8104/0.8108, allocations: 142.3 MB / 0.9544 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.006688/0.8176, allocations: 4.517 MB / 0.9588 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005336/0.823, allocations: 3.09 MB / 0.9618 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004516/0.8235, allocations: 5.5 kB / 0.9619 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006604/0.8241, allocations: 154.7 kB / 0.962 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00106/0.8252, allocations: 312.7 kB / 0.9623 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00069/0.8259, allocations: 191.9 kB / 0.9625 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001083/0.827, allocations: 0.7111 MB / 0.9632 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001404/0.8284, allocations: 0.7276 MB / 0.9639 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004661/0.8289, allocations: 196.4 kB / 0.9641 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004609/0.8294, allocations: 260.4 kB / 0.9643 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.201e-05/0.8294, allocations: 19.91 kB / 0.9643 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007802/0.8302, allocations: 227.7 kB / 0.9646 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001699/0.8304, allocations: 143.6 kB / 0.9647 GB, free: 448 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.8305, allocations: 105.2 kB / 0.9648 GB, free: 372 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008955/0.8314, allocations: 0.7163 MB / 0.9655 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.8315, allocations: 1 kB / 0.9655 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.314e-06/0.8315, allocations: 4 kB / 0.9655 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.156e-06/0.8315, allocations: 0 / 0.9655 GB, free: 15.88 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001589/0.8331, allocations: 0.7397 MB / 0.9662 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.8331, allocations: 13.28 kB / 0.9662 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002961/0.8361, allocations: 0.6969 MB / 0.9669 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009391/0.8371, allocations: 490.3 kB / 0.9674 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.685e-05/0.8371, allocations: 24.77 kB / 0.9674 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.164e-05/0.8372, allocations: 32.41 kB / 0.9674 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001911/0.8391, allocations: 0.8369 MB / 0.9683 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.8392, allocations: 1.031 kB / 0.9683 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.848e-05/0.8392, allocations: 19.95 kB / 0.9683 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002336/0.8395, allocations: 65.41 kB / 0.9683 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002223/0.8417, allocations: 0.9338 MB / 0.9692 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004476/0.8462, allocations: 2.93 MB / 0.9721 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001609/0.8478, allocations: 0.561 MB / 0.9727 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008034/0.8486, allocations: 317.2 kB / 0.973 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001402/0.8488, allocations: 99.3 kB / 0.9731 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.8488, allocations: 32.75 kB / 0.9731 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=22): time 2.464e-06/0.8489, allocations: 0 / 0.9731 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=32): time 0.01268/0.8615, allocations: 3.653 MB / 0.9767 GB, free: 8.516 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.923e-05/0.8617, allocations: 79.86 kB / 0.9767 GB, free: 8.422 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006405/0.8623, allocations: 412.8 kB / 0.9771 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.499e-05/0.8624, allocations: 30.95 kB / 0.9772 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001954/0.8626, allocations: 239.6 kB / 0.9774 GB, free: 7.914 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/0.8627, allocations: 104.6 kB / 0.9775 GB, free: 7.824 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-05/0.8628, allocations: 6.312 kB / 0.9775 GB, free: 7.82 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.863, allocations: 353.4 kB / 0.9778 GB, free: 7.477 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000919/0.8639, allocations: 396.8 kB / 0.9782 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009372/0.8648, allocations: 497 kB / 0.9787 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009495/0.8658, allocations: 432.8 kB / 0.9791 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.8658, allocations: 0 / 0.9791 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.005179/0.871, allocations: 1.732 MB / 0.9808 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001727/0.8712, allocations: 153 kB / 0.9809 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/0.8712, allocations: 4 kB / 0.9809 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004184/0.8754, allocations: 0.9815 MB / 0.9819 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006544/0.8761, allocations: 127.8 kB / 0.982 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008465/0.8846, allocations: 6.392 MB / 0.9883 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009029/0.8855, allocations: 127.9 kB / 0.9884 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.496e-05/0.8856, allocations: 16 kB / 0.9884 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.8856, allocations: 4.938 kB / 0.9884 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004625/0.8902, allocations: 1.66 MB / 0.99 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.8902, allocations: 192 / 0.99 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002862/0.8931, allocations: 0.7329 MB / 0.9907 GB, free: 9.824 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006058/0.8937, allocations: 135.8 kB / 0.9909 GB, free: 9.691 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005887/0.8996, allocations: 5.441 MB / 0.9962 GB, free: 3.848 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008347/0.9005, allocations: 103.9 kB / 0.9963 GB, free: 3.746 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.513e-05/0.9006, allocations: 23.97 kB / 0.9963 GB, free: 3.723 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (32): * Single equations (assignments): 29 * 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: 2 {(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0005082/0.9011, allocations: 329 kB / 0.9966 GB, free: 3.391 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.804e-05/0.9012, allocations: 31.62 kB / 0.9966 GB, free: 3.359 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004817/0.906, allocations: 1.626 MB / 0.9982 GB, free: 1.719 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.906, allocations: 4 kB / 0.9982 GB, free: 1.715 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.906, allocations: 0 / 0.9982 GB, free: 1.715 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.9061, allocations: 3.984 kB / 0.9982 GB, free: 1.711 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005985/0.9121, allocations: 2.318 MB / 1 GB, free: 15.32 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-05/0.9121, allocations: 11.98 kB / 1.001 GB, free: 15.3 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004003/0.9125, allocations: 91.92 kB / 1.001 GB, free: 15.21 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003677/0.9162, allocations: 0.9114 MB / 1.001 GB, free: 14.29 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.772e-05/0.9162, allocations: 11.98 kB / 1.001 GB, free: 14.28 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007562/0.9238, allocations: 6.227 MB / 1.008 GB, free: 7.652 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.9239, allocations: 7.922 kB / 1.008 GB, free: 7.645 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004644/0.9285, allocations: 1.635 MB / 1.009 GB, free: 5.973 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004366/0.929, allocations: 184.5 kB / 1.009 GB, free: 5.773 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.332e-05/0.9291, allocations: 4 kB / 1.009 GB, free: 5.77 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005671/0.9296, allocations: 91.86 kB / 1.009 GB, free: 5.68 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001768/0.9298, allocations: 31.95 kB / 1.009 GB, free: 5.648 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.062e-05/0.9299, allocations: 19.94 kB / 1.01 GB, free: 5.629 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0004379/0.9303, allocations: 307.1 kB / 1.01 GB, free: 5.328 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9303, allocations: 0 / 1.01 GB, free: 5.328 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001152/0.9315, allocations: 244 kB / 1.01 GB, free: 5.09 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 19 * 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: 2 {(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 1 {2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002917/0.9318, allocations: 123 kB / 1.01 GB, free: 4.961 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.004427/0.9362, allocations: 2.255 MB / 1.012 GB, free: 2.605 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.9362, allocations: 0 / 1.012 GB, free: 2.605 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001455/0.9377, allocations: 0.8285 MB / 1.013 GB, free: 1.738 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008157/0.9385, allocations: 117.5 kB / 1.013 GB, free: 1.625 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00223/0.9408, allocations: 1.351 MB / 1.015 GB, free: 244 kB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005903/0.9414, allocations: 0.918 MB / 1.015 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.9415, allocations: 43.36 kB / 1.016 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of SimCode: time 1.373e-06/0.9415, allocations: 0 / 1.016 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of Templates: time 0.02062/0.9622, allocations: 15.4 MB / 1.031 GB, free: 15.86 MB / 0.795 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.makefile make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.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.ACSimpleGridCalcHelperMain.o OMCppBuildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridCalcHelperMain.o] Error 1