Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.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.ACSimpleGridMedium,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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 99.44 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.001336/0.001337, allocations: 178.5 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.47/1.47, allocations: 223.2 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.824/2.824, allocations: 436.7 MB / 0.7113 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005145/0.0005146, allocations: 11.94 kB / 0.8717 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8006/0.8011, allocations: 153.6 MB / 1.022 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.005545/0.8067, allocations: 4.602 MB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004927/0.8117, allocations: 3.489 MB / 1.03 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002996/0.812, allocations: 11.94 kB / 1.03 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000813/0.8128, allocations: 205.7 kB / 1.03 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001011/0.8139, allocations: 366.3 kB / 1.03 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005659/0.8144, allocations: 191.6 kB / 1.03 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001103/0.8155, allocations: 0.7476 MB / 1.031 GB, free: 7.633 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001266/0.8168, allocations: 0.7415 MB / 1.032 GB, free: 6.863 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003099/0.8171, allocations: 195.2 kB / 1.032 GB, free: 6.672 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00042/0.8176, allocations: 267 kB / 1.032 GB, free: 6.41 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.161e-05/0.8176, allocations: 23.94 kB / 1.032 GB, free: 6.387 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007698/0.8184, allocations: 319.6 kB / 1.033 GB, free: 6.074 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001706/0.8186, allocations: 147.6 kB / 1.033 GB, free: 5.93 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.8187, allocations: 109.5 kB / 1.033 GB, free: 5.816 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0008059/0.8195, allocations: 0.756 MB / 1.034 GB, free: 5.059 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.8195, allocations: 0 / 1.034 GB, free: 5.059 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.459e-06/0.8196, allocations: 3.984 kB / 1.034 GB, free: 5.055 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.8196, allocations: 0 / 1.034 GB, free: 5.055 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001384/0.821, allocations: 0.7651 MB / 1.034 GB, free: 4.242 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.821, allocations: 12.03 kB / 1.034 GB, free: 4.23 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002695/0.8237, allocations: 0.717 MB / 1.035 GB, free: 3.512 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.8247, allocations: 0.5343 MB / 1.036 GB, free: 2.934 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/0.8248, allocations: 24.66 kB / 1.036 GB, free: 2.91 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.417e-05/0.8249, allocations: 28 kB / 1.036 GB, free: 2.883 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/0.8264, allocations: 0.8434 MB / 1.036 GB, free: 2.012 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.8264, allocations: 3.906 kB / 1.036 GB, free: 2.008 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.428e-05/0.8265, allocations: 19.98 kB / 1.036 GB, free: 1.988 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001965/0.8267, allocations: 72.5 kB / 1.037 GB, free: 1.914 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00188/0.8286, allocations: 0.9389 MB / 1.037 GB, free: 0.9766 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003943/0.8325, allocations: 2.937 MB / 1.04 GB, free: 13.83 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/0.834, allocations: 0.5705 MB / 1.041 GB, free: 13.25 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006672/0.8347, allocations: 316.9 kB / 1.041 GB, free: 12.94 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001086/0.8348, allocations: 85.3 kB / 1.041 GB, free: 12.84 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.8348, allocations: 38.73 kB / 1.041 GB, free: 12.79 MB / 0.795 GB Notification: Performance of pre-optimization done (n=22): time 2.405e-06/0.8348, allocations: 0 / 1.041 GB, free: 12.79 MB / 0.795 GB Notification: Performance of matching and sorting (n=36): time 0.01306/0.8479, allocations: 4.084 MB / 1.045 GB, free: 8.672 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/0.848, allocations: 81.11 kB / 1.045 GB, free: 8.574 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006213/0.8486, allocations: 453.6 kB / 1.046 GB, free: 8.125 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 7.943e-05/0.8487, allocations: 33.7 kB / 1.046 GB, free: 8.086 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001888/0.8489, allocations: 236.2 kB / 1.046 GB, free: 7.852 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.8491, allocations: 126.1 kB / 1.046 GB, free: 7.727 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.001e-05/0.8491, allocations: 12 kB / 1.046 GB, free: 7.715 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.8493, allocations: 354.8 kB / 1.047 GB, free: 7.359 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009019/0.8502, allocations: 436.5 kB / 1.047 GB, free: 6.934 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009657/0.8511, allocations: 0.529 MB / 1.047 GB, free: 6.363 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009626/0.8521, allocations: 485.2 kB / 1.048 GB, free: 5.891 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.8521, allocations: 0 / 1.048 GB, free: 5.891 MB / 0.795 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.005442/0.8576, allocations: 1.92 MB / 1.05 GB, free: 3.957 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001243/0.8577, allocations: 155.9 kB / 1.05 GB, free: 3.773 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.8578, allocations: 7.953 kB / 1.05 GB, free: 3.766 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004478/0.8622, allocations: 1.09 MB / 1.051 GB, free: 2.668 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006239/0.8629, allocations: 135.7 kB / 1.051 GB, free: 2.535 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01009/0.873, allocations: 6.393 MB / 1.057 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008581/0.8739, allocations: 119.8 kB / 1.058 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.442e-05/0.874, allocations: 15.98 kB / 1.058 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.874, allocations: 4 kB / 1.058 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004597/0.8786, allocations: 1.637 MB / 1.059 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.8786, allocations: 3.984 kB / 1.059 GB, free: 10.08 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00314/0.8818, allocations: 0.8015 MB / 1.06 GB, free: 9.273 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006016/0.8824, allocations: 139.8 kB / 1.06 GB, free: 9.137 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008031/0.8904, allocations: 5.574 MB / 1.065 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008538/0.8913, allocations: 107.9 kB / 1.066 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.02e-05/0.8914, allocations: 16 kB / 1.066 GB, free: 3.176 MB / 0.8106 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 (29): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 8} * Non-linear torn systems: 1 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0005312/0.892, allocations: 340.9 kB / 1.066 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001947/0.8922, allocations: 39.53 kB / 1.066 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00527/0.8974, allocations: 1.825 MB / 1.068 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.607e-05/0.8975, allocations: 4 kB / 1.068 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.8975, allocations: 4 kB / 1.068 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.8975, allocations: 0 / 1.068 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006342/0.9039, allocations: 2.585 MB / 1.07 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.9039, allocations: 0 / 1.07 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003692/0.9043, allocations: 79.89 kB / 1.07 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003968/0.9083, allocations: 1.024 MB / 1.071 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.441e-05/0.9083, allocations: 8 kB / 1.071 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009001/0.9174, allocations: 6.055 MB / 1.077 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.577e-06/0.9174, allocations: 11.92 kB / 1.077 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005003/0.9224, allocations: 1.79 MB / 1.079 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003698/0.9228, allocations: 200.5 kB / 1.079 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/0.923, allocations: 4.562 kB / 1.079 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006174/0.9236, allocations: 99.84 kB / 1.079 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001712/0.9238, allocations: 35.89 kB / 1.079 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.476e-05/0.9238, allocations: 15.98 kB / 1.079 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004885/0.9243, allocations: 335.1 kB / 1.08 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9243, allocations: 0 / 1.08 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001358/0.9257, allocations: 287.9 kB / 1.08 GB, free: 4.035 MB / 0.8262 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 (19): * Single equations (assignments): 17 * 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 {(2,100.0%) 8} * Non-linear torn systems: 1 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004258/0.9261, allocations: 159.2 kB / 1.08 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00669/0.9328, allocations: 2.529 MB / 1.083 GB, free: 1.289 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.9329, allocations: 0 / 1.083 GB, free: 1.289 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002571/0.9355, allocations: 0.9888 MB / 1.084 GB, free: 280 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009532/0.9364, allocations: 130.3 kB / 1.084 GB, free: 156 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002692/0.9392, allocations: 1.48 MB / 1.085 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006964/0.9399, allocations: 0.9414 MB / 1.086 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001842/0.9401, allocations: 39.41 kB / 1.086 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of SimCode: time 9.82e-07/0.9401, allocations: 4 kB / 1.086 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of Templates: time 0.02152/0.9616, allocations: 14.47 MB / 1.1 GB, free: 15.18 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.makefile make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.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.ACSimpleGridMediumCalcHelperMain.o OMCppBuildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMediumCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMediumCalcHelperMain.o] Error 1