Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0008571/0.000857, allocations: 97.78 kB / 16.02 MB, free: 76 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.001063/0.001064, allocations: 187.3 kB / 16.92 MB, free: 6.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.9/1.9, allocations: 205.4 MB / 223.1 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.024/2.024, allocations: 292.7 MB / 0.5509 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005778/0.0005778, allocations: 19.91 kB / 0.675 GB, free: 25.72 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.3537, allocations: 116.3 MB / 0.7885 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.00708/0.3609, allocations: 4.78 MB / 0.7932 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006412/0.3673, allocations: 3.741 MB / 0.7969 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003874/0.3678, allocations: 11.94 kB / 0.7969 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009685/0.3687, allocations: 227 kB / 0.7971 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001244/0.37, allocations: 408 kB / 0.7975 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000724/0.3707, allocations: 251.5 kB / 0.7977 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001383/0.3721, allocations: 0.9036 MB / 0.7986 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001493/0.3736, allocations: 0.8444 MB / 0.7994 GB, free: 364 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004602/0.3741, allocations: 287.2 kB / 0.7997 GB, free: 76 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004681/0.3746, allocations: 282.9 kB / 0.8 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 4.695e-05/0.3746, allocations: 16 kB / 0.8 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00064/0.3753, allocations: 323.4 kB / 0.8003 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001627/0.3755, allocations: 143.5 kB / 0.8004 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002413/0.3757, allocations: 236.6 kB / 0.8007 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0008705/0.3766, allocations: 0.6585 MB / 0.8013 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3766, allocations: 0 / 0.8013 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of FrontEnd: time 5.35e-06/0.3766, allocations: 0 / 0.8013 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.3766, allocations: 3.938 kB / 0.8013 GB, free: 14.42 MB / 0.6231 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.001508/0.3781, allocations: 0.7286 MB / 0.802 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.3782, allocations: 12.03 kB / 0.802 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003005/0.3812, allocations: 0.675 MB / 0.8027 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008917/0.3821, allocations: 464.3 kB / 0.8031 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.253e-05/0.3822, allocations: 25.02 kB / 0.8032 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.77e-05/0.3823, allocations: 32.12 kB / 0.8032 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001794/0.3841, allocations: 0.8356 MB / 0.804 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.3841, allocations: 0 / 0.804 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.962e-05/0.3842, allocations: 12 kB / 0.804 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001951/0.3844, allocations: 64.58 kB / 0.8041 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002326/0.3867, allocations: 0.935 MB / 0.805 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004633/0.3913, allocations: 2.871 MB / 0.8078 GB, free: 7.449 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001866/0.3932, allocations: 0.5667 MB / 0.8083 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009427/0.3942, allocations: 316.5 kB / 0.8086 GB, free: 6.562 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/0.3943, allocations: 85.11 kB / 0.8087 GB, free: 6.461 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.937e-05/0.3944, allocations: 38.56 kB / 0.8088 GB, free: 6.414 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=22): time 1.924e-06/0.3944, allocations: 4 kB / 0.8088 GB, free: 6.41 MB / 0.6231 GB Notification: Performance of matching and sorting (n=36): time 0.01526/0.4097, allocations: 3.915 MB / 0.8126 GB, free: 2.461 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.189e-05/0.4097, allocations: 59.27 kB / 0.8126 GB, free: 2.391 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005654/0.4103, allocations: 429.5 kB / 0.8131 GB, free: 1.961 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.075e-05/0.4104, allocations: 37.69 kB / 0.8131 GB, free: 1.918 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000202/0.4106, allocations: 240.1 kB / 0.8133 GB, free: 1.676 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001466/0.4107, allocations: 126.2 kB / 0.8134 GB, free: 1.551 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.632e-05/0.4108, allocations: 37.7 kB / 0.8135 GB, free: 1.508 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001829/0.411, allocations: 350.8 kB / 0.8138 GB, free: 1.156 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00106/0.4121, allocations: 432.5 kB / 0.8142 GB, free: 0.7305 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001229/0.4133, allocations: 0.5047 MB / 0.8147 GB, free: 200 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002257/0.4156, allocations: 0.9306 MB / 0.8156 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4156, allocations: 4 kB / 0.8156 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.006199/0.4218, allocations: 1.869 MB / 0.8175 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001488/0.422, allocations: 144 kB / 0.8176 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.422, allocations: 12 kB / 0.8176 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004767/0.4268, allocations: 1.02 MB / 0.8186 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006372/0.4275, allocations: 123.8 kB / 0.8187 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01115/0.4386, allocations: 6.18 MB / 0.8248 GB, free: 5.574 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009971/0.4397, allocations: 111.9 kB / 0.8249 GB, free: 5.465 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-05/0.4397, allocations: 15.98 kB / 0.8249 GB, free: 5.449 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.4398, allocations: 6.969 kB / 0.8249 GB, free: 5.445 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005156/0.4449, allocations: 1.586 MB / 0.8264 GB, free: 3.852 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.4449, allocations: 0 / 0.8264 GB, free: 3.852 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003224/0.4482, allocations: 0.7469 MB / 0.8272 GB, free: 3.098 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006461/0.4488, allocations: 135.8 kB / 0.8273 GB, free: 2.965 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008184/0.457, allocations: 5.429 MB / 0.8326 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008488/0.4579, allocations: 103.8 kB / 0.8327 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.554e-05/0.458, allocations: 15.98 kB / 0.8327 GB, free: 13.15 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0005472/0.4585, allocations: 340.9 kB / 0.833 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.809e-05/0.4586, allocations: 39.53 kB / 0.8331 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0057/0.4643, allocations: 1.766 MB / 0.8348 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.4644, allocations: 8.078 kB / 0.8348 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.4644, allocations: 4 kB / 0.8348 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.4644, allocations: 4 kB / 0.8348 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007255/0.4716, allocations: 2.464 MB / 0.8372 GB, free: 8.426 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.4717, allocations: 0 / 0.8372 GB, free: 8.426 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004087/0.4721, allocations: 83.91 kB / 0.8373 GB, free: 8.344 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00407/0.4762, allocations: 0.9417 MB / 0.8382 GB, free: 7.395 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.586e-05/0.4762, allocations: 15.98 kB / 0.8382 GB, free: 7.379 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01042/0.4866, allocations: 5.864 MB / 0.844 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4867, allocations: 0 / 0.844 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005589/0.4923, allocations: 1.728 MB / 0.8456 GB, free: 15.49 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005435/0.4928, allocations: 185.1 kB / 0.8458 GB, free: 15.29 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.972e-05/0.4929, allocations: 15.94 kB / 0.8458 GB, free: 15.27 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007874/0.4937, allocations: 87.86 kB / 0.8459 GB, free: 15.19 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001808/0.4939, allocations: 43.83 kB / 0.846 GB, free: 15.14 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.104e-05/0.4939, allocations: 15.98 kB / 0.846 GB, free: 15.13 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004661/0.4944, allocations: 315.1 kB / 0.8463 GB, free: 14.83 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4944, allocations: 3.938 kB / 0.8463 GB, free: 14.82 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001202/0.4956, allocations: 260 kB / 0.8465 GB, free: 14.57 MB / 0.67 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000354/0.496, allocations: 103.2 kB / 0.8466 GB, free: 14.46 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.007267/0.5033, allocations: 2.508 MB / 0.8491 GB, free: 11.89 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.5033, allocations: 0 / 0.8491 GB, free: 11.89 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002952/0.5063, allocations: 0.9655 MB / 0.85 GB, free: 10.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009067/0.5072, allocations: 127.6 kB / 0.8501 GB, free: 10.78 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002449/0.5096, allocations: 1.468 MB / 0.8516 GB, free: 9.27 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006847/0.5103, allocations: 0.9491 MB / 0.8525 GB, free: 8.289 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.5105, allocations: 31.42 kB / 0.8525 GB, free: 8.262 MB / 0.67 GB Notification: Performance of SimCode: time 1.162e-06/0.5105, allocations: 0 / 0.8525 GB, free: 8.262 MB / 0.67 GB Notification: Performance of Templates: time 0.02049/0.531, allocations: 13.66 MB / 0.8659 GB, free: 10.62 MB / 0.6856 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.makefile make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMediumCalcHelperMain.o OMCppBuildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMediumCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMediumCalcHelperMain.o] Error 1