Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.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.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E.vPhase.1..S.1.|E.vPhase.1..S.2.|E.vPhase.2..S.1.|E.vPhase.2..S.2.|E.vPhase.3..S.1.|E.vPhase.3..S.2.|load.terminal.phase.4..v.1.|load.terminal.phase.4..v.2.|load.terminal.phase.4..i.1.|load.terminal.phase.4..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E.vPhase.1..S.1.|E.vPhase.1..S.2.|E.vPhase.2..S.1.|E.vPhase.2..S.2.|E.vPhase.3..S.1.|E.vPhase.3..S.2.|load.terminal.phase.4..v.1.|load.terminal.phase.4..v.2.|load.terminal.phase.4..i.1.|load.terminal.phase.4..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 99.12 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.001617/0.001618, allocations: 179.4 kB / 16.58 MB, free: 6.879 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.587/1.587, allocations: 223.2 MB / 240.6 MB, free: 5.398 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.525/2.525, allocations: 390.5 MB / 0.6662 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003379/0.0003379, allocations: 12 kB / 0.8154 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.92/0.9204, allocations: 142.3 MB / 0.9544 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01225/0.9327, allocations: 10.81 MB / 0.965 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0101/0.9428, allocations: 5.211 MB / 0.9701 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001522/0.9444, allocations: 31.91 kB / 0.9701 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001095/0.9455, allocations: 298.6 kB / 0.9704 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001904/0.9474, allocations: 0.521 MB / 0.9709 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002061/0.9495, allocations: 0.4962 MB / 0.9714 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004468/0.954, allocations: 2.928 MB / 0.9742 GB, free: 9.105 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007485/0.9615, allocations: 3.861 MB / 0.978 GB, free: 7.125 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002134/0.9636, allocations: 0.7721 MB / 0.9788 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002675/0.9663, allocations: 1.097 MB / 0.9798 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0006647/0.967, allocations: 100 kB / 0.9799 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001891/0.9689, allocations: 319.6 kB / 0.9802 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001459/0.9704, allocations: 0.7404 MB / 0.9809 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006806/0.971, allocations: 364.9 kB / 0.9813 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004005/0.9751, allocations: 3.287 MB / 0.9845 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 9.508e-06/0.9751, allocations: 0 / 0.9845 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.295e-06/0.9751, allocations: 0 / 0.9845 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.056e-05/0.9752, allocations: 0 / 0.9845 GB, free: 1.23 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: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.004254/0.9794, allocations: 1.777 MB / 0.9862 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.9795, allocations: 8.031 kB / 0.9862 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003139/0.9827, allocations: 0.7431 MB / 0.987 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002467/0.9851, allocations: 1.242 MB / 0.9882 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/0.9853, allocations: 123.2 kB / 0.9883 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002962/0.9856, allocations: 156 kB / 0.9885 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005041/0.9906, allocations: 2.936 MB / 0.9913 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.282e-05/0.9907, allocations: 11.84 kB / 0.9913 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001886/0.9909, allocations: 71.97 kB / 0.9914 GB, free: 10 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004027/0.9913, allocations: 203 kB / 0.9916 GB, free: 9.805 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004181/0.9955, allocations: 2.503 MB / 0.994 GB, free: 7.297 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01361/1.009, allocations: 10.91 MB / 1.005 GB, free: 11.5 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/1.01, allocations: 0.929 MB / 1.006 GB, free: 10.52 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000734/1.011, allocations: 0.5012 MB / 1.006 GB, free: 10.02 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000132/1.011, allocations: 93.41 kB / 1.006 GB, free: 9.906 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/1.011, allocations: 46.92 kB / 1.006 GB, free: 9.852 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=46): time 2.966e-06/1.011, allocations: 0 / 1.006 GB, free: 9.852 MB / 0.7637 GB Notification: Performance of matching and sorting (n=70): time 0.02564/1.037, allocations: 8.967 MB / 1.015 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.42e-05/1.037, allocations: 85.67 kB / 1.015 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001398/1.039, allocations: 0.9377 MB / 1.016 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001331/1.039, allocations: 37.7 kB / 1.016 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005592/1.039, allocations: 0.7735 MB / 1.017 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002355/1.04, allocations: 252.5 kB / 1.017 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.499e-05/1.04, allocations: 20 kB / 1.017 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001983/1.04, allocations: 398.8 kB / 1.017 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001198/1.041, allocations: 0.7911 MB / 1.018 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001466/1.042, allocations: 1.167 MB / 1.019 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001414/1.044, allocations: 0.9946 MB / 1.02 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/1.044, allocations: 0 / 1.02 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.009117/1.053, allocations: 3.787 MB / 1.024 GB, free: 7.344 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003296/1.053, allocations: 413.2 kB / 1.024 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/1.053, allocations: 8 kB / 1.024 GB, free: 6.777 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007711/1.061, allocations: 2.165 MB / 1.027 GB, free: 4.605 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009435/1.062, allocations: 227.6 kB / 1.027 GB, free: 4.383 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01514/1.077, allocations: 10.26 MB / 1.037 GB, free: 9.863 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/1.079, allocations: 195.5 kB / 1.037 GB, free: 9.672 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/1.079, allocations: 51.98 kB / 1.037 GB, free: 9.621 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/1.079, allocations: 13.19 kB / 1.037 GB, free: 9.609 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007728/1.087, allocations: 3.072 MB / 1.04 GB, free: 6.535 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.445e-05/1.087, allocations: 12 kB / 1.04 GB, free: 6.523 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005229/1.092, allocations: 1.367 MB / 1.041 GB, free: 5.152 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/1.093, allocations: 283.6 kB / 1.042 GB, free: 4.875 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01001/1.103, allocations: 6.159 MB / 1.048 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/1.104, allocations: 163.7 kB / 1.048 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001802/1.105, allocations: 55.98 kB / 1.048 GB, free: 14.36 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * Single equations (assignments): 95 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.001511/1.106, allocations: 0.8947 MB / 1.049 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000235/1.106, allocations: 86.97 kB / 1.049 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00831/1.115, allocations: 3.32 MB / 1.052 GB, free: 10.03 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/1.115, allocations: 11.98 kB / 1.052 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/1.115, allocations: 4 kB / 1.052 GB, free: 10.01 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/1.115, allocations: 0 / 1.052 GB, free: 10.01 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01142/1.126, allocations: 5.493 MB / 1.057 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/1.126, allocations: 0 / 1.057 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004047/1.127, allocations: 111.8 kB / 1.058 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006948/1.134, allocations: 1.98 MB / 1.059 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.072e-05/1.134, allocations: 12 kB / 1.059 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01402/1.148, allocations: 9.672 MB / 1.069 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/1.148, allocations: 4 kB / 1.069 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00818/1.156, allocations: 3.198 MB / 1.072 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007891/1.157, allocations: 339.9 kB / 1.072 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000259/1.157, allocations: 12 kB / 1.072 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009546/1.158, allocations: 151.8 kB / 1.073 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002924/1.158, allocations: 68.41 kB / 1.073 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.569e-05/1.158, allocations: 23.95 kB / 1.073 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001122/1.16, allocations: 0.6707 MB / 1.073 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/1.16, allocations: 0 / 1.073 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002709/1.162, allocations: 0.707 MB / 1.074 GB, free: 3.129 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (42): * Single equations (assignments): 40 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002875/1.163, allocations: 123.2 kB / 1.074 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.007444/1.17, allocations: 3.913 MB / 1.078 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/1.17, allocations: 4 kB / 1.078 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.002195/1.172, allocations: 1.313 MB / 1.079 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/1.174, allocations: 264.7 kB / 1.079 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00714/1.181, allocations: 4.286 MB / 1.084 GB, free: 9.105 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001635/1.183, allocations: 1.734 MB / 1.085 GB, free: 7.336 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002984/1.183, allocations: 71.42 kB / 1.085 GB, free: 7.266 MB / 0.8419 GB Notification: Performance of SimCode: time 1.873e-06/1.183, allocations: 0 / 1.085 GB, free: 7.266 MB / 0.8419 GB Notification: Performance of Templates: time 0.05288/1.236, allocations: 43.02 MB / 1.127 GB, free: 12.3 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.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.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_NCalcHelperMain.o OMCppBuildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_NCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_NCalcHelperMain.o] Error 1