Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001333/0.001333, allocations: 99.11 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.002171/0.002171, allocations: 181.6 kB / 16.92 MB, free: 6.918 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.825/1.825, allocations: 205.4 MB / 223.1 MB, free: 5.52 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 1.954/1.954, allocations: 292.7 MB / 0.5509 GB, free: 14.47 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.0006327/0.0006329, allocations: 13.78 kB / 0.675 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3345, allocations: 116.3 MB / 0.7886 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.006527/0.3411, allocations: 4.698 MB / 0.7931 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005709/0.3468, allocations: 3.305 MB / 0.7964 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003811/0.3473, allocations: 7.938 kB / 0.7964 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000706/0.348, allocations: 167 kB / 0.7965 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001079/0.3491, allocations: 346.5 kB / 0.7969 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007223/0.3498, allocations: 243.5 kB / 0.7971 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001266/0.3511, allocations: 0.8608 MB / 0.7979 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00136/0.3525, allocations: 0.8333 MB / 0.7988 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000426/0.3529, allocations: 219.1 kB / 0.799 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004535/0.3534, allocations: 267 kB / 0.7992 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.546e-05/0.3534, allocations: 20 kB / 0.7992 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006422/0.3541, allocations: 319.4 kB / 0.7995 GB, free: 236 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001561/0.3542, allocations: 139.5 kB / 0.7997 GB, free: 96 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000263/0.3545, allocations: 228.6 kB / 0.7999 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0007142/0.3552, allocations: 0.6546 MB / 0.8005 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3553, allocations: 0 / 0.8005 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.994e-06/0.3553, allocations: 4 kB / 0.8005 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.357e-06/0.3553, allocations: 0 / 0.8005 GB, free: 15.2 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.001441/0.3567, allocations: 0.7247 MB / 0.8012 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.3568, allocations: 12.03 kB / 0.8013 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002866/0.3597, allocations: 0.6673 MB / 0.8019 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000832/0.3605, allocations: 451.8 kB / 0.8023 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.475e-05/0.3606, allocations: 29.02 kB / 0.8024 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.276e-05/0.3607, allocations: 32.12 kB / 0.8024 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/0.3624, allocations: 0.8356 MB / 0.8032 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.3625, allocations: 0 / 0.8032 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.255e-05/0.3625, allocations: 19.98 kB / 0.8032 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001921/0.3627, allocations: 56.53 kB / 0.8033 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002157/0.3649, allocations: 0.9351 MB / 0.8042 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004273/0.3692, allocations: 2.867 MB / 0.807 GB, free: 8.254 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001728/0.3709, allocations: 0.5605 MB / 0.8075 GB, free: 7.684 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000802/0.3717, allocations: 308.6 kB / 0.8078 GB, free: 7.379 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001258/0.3719, allocations: 93.09 kB / 0.8079 GB, free: 7.27 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.3719, allocations: 34.56 kB / 0.808 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=22): time 2.525e-06/0.3719, allocations: 0 / 0.808 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of matching and sorting (n=32): time 0.01307/0.385, allocations: 3.541 MB / 0.8114 GB, free: 3.633 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.3851, allocations: 55.41 kB / 0.8115 GB, free: 3.566 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005554/0.3857, allocations: 396.5 kB / 0.8118 GB, free: 3.172 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.137e-05/0.3857, allocations: 33.64 kB / 0.8119 GB, free: 3.133 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000198/0.3859, allocations: 235.9 kB / 0.8121 GB, free: 2.898 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.3861, allocations: 110.4 kB / 0.8122 GB, free: 2.789 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.245e-05/0.3862, allocations: 37.7 kB / 0.8122 GB, free: 2.746 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.3863, allocations: 346.8 kB / 0.8126 GB, free: 2.398 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009769/0.3873, allocations: 391.7 kB / 0.813 GB, free: 2.016 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001046/0.3884, allocations: 468.1 kB / 0.8134 GB, free: 1.527 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002122/0.3905, allocations: 0.8444 MB / 0.8142 GB, free: 0.6562 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.3905, allocations: 4 kB / 0.8142 GB, free: 0.6523 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.005894/0.3964, allocations: 1.681 MB / 0.8159 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.000149/0.3966, allocations: 155.9 kB / 0.816 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.3966, allocations: 4 kB / 0.816 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00443/0.4011, allocations: 0.9192 MB / 0.8169 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007086/0.4018, allocations: 135.8 kB / 0.817 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009241/0.4111, allocations: 6.228 MB / 0.8231 GB, free: 7.078 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009164/0.412, allocations: 111.8 kB / 0.8232 GB, free: 6.969 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.562e-05/0.4121, allocations: 15.98 kB / 0.8233 GB, free: 6.953 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.4121, allocations: 8.062 kB / 0.8233 GB, free: 6.945 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005185/0.4173, allocations: 1.609 MB / 0.8248 GB, free: 5.285 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.4173, allocations: 4.188 kB / 0.8248 GB, free: 5.281 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003034/0.4204, allocations: 0.682 MB / 0.8255 GB, free: 4.586 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006542/0.421, allocations: 135.8 kB / 0.8256 GB, free: 4.453 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006407/0.4274, allocations: 5.332 MB / 0.8308 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008845/0.4284, allocations: 103.9 kB / 0.8309 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.957e-05/0.4284, allocations: 19.98 kB / 0.831 GB, free: 14.6 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 (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000576/0.429, allocations: 321 kB / 0.8313 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.972e-05/0.4291, allocations: 39.56 kB / 0.8313 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005444/0.4346, allocations: 1.587 MB / 0.8328 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/0.4346, allocations: 8 kB / 0.8329 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.4346, allocations: 0 / 0.8329 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.4346, allocations: 0 / 0.8329 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006291/0.4409, allocations: 2.26 MB / 0.8351 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.4409, allocations: 3.938 kB / 0.8351 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000421/0.4414, allocations: 84 kB / 0.8351 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003887/0.4453, allocations: 0.8607 MB / 0.836 GB, free: 9.332 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.965e-05/0.4453, allocations: 11.98 kB / 0.836 GB, free: 9.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008263/0.4536, allocations: 6.064 MB / 0.8419 GB, free: 2.852 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.4536, allocations: 4.031 kB / 0.8419 GB, free: 2.848 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005226/0.4589, allocations: 1.592 MB / 0.8435 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003316/0.4592, allocations: 172.6 kB / 0.8436 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.4593, allocations: 11.94 kB / 0.8437 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006744/0.46, allocations: 87.86 kB / 0.8437 GB, free: 0.9336 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001715/0.4602, allocations: 27.95 kB / 0.8438 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.983e-05/0.4602, allocations: 19.98 kB / 0.8438 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000454/0.4607, allocations: 299.1 kB / 0.8441 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4607, allocations: 3.938 kB / 0.8441 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001129/0.4619, allocations: 232 kB / 0.8443 GB, free: 372 kB / 0.6544 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002438/0.4621, allocations: 111.2 kB / 0.8444 GB, free: 248 kB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004781/0.4669, allocations: 2.197 MB / 0.8465 GB, free: 13.94 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.4669, allocations: 0 / 0.8465 GB, free: 13.94 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00157/0.4685, allocations: 0.8126 MB / 0.8473 GB, free: 13.09 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008381/0.4694, allocations: 121.3 kB / 0.8475 GB, free: 12.97 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002676/0.472, allocations: 1.357 MB / 0.8488 GB, free: 11.57 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008239/0.4729, allocations: 0.918 MB / 0.8497 GB, free: 10.63 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001775/0.4731, allocations: 35.42 kB / 0.8497 GB, free: 10.59 MB / 0.67 GB Notification: Performance of SimCode: time 2.214e-06/0.4731, allocations: 0 / 0.8497 GB, free: 10.59 MB / 0.67 GB Notification: Performance of Templates: time 0.02662/0.4997, allocations: 15.14 MB / 0.8645 GB, free: 11.48 MB / 0.6856 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.makefile make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.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.ACSimpleGridCalcHelperMain.o OMCppBuildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridCalcHelperMain.o] Error 1