Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 99.03 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.001511/0.001511, allocations: 182.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 2.03/2.03, allocations: 205.4 MB / 223.1 MB, free: 5.504 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.843/1.843, 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.0006306/0.0006306, allocations: 18.27 kB / 0.675 GB, free: 25.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.36, allocations: 116.3 MB / 0.7885 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01543/0.3755, allocations: 11.28 MB / 0.7996 GB, free: 256 kB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009806/0.3853, allocations: 5.284 MB / 0.8047 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001131/0.3865, allocations: 35.81 kB / 0.8048 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001093/0.3876, allocations: 314.1 kB / 0.8051 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001651/0.3893, allocations: 0.5876 MB / 0.8056 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001845/0.3912, allocations: 0.6277 MB / 0.8062 GB, free: 9.387 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00403/0.3952, allocations: 3.593 MB / 0.8098 GB, free: 5.781 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006253/0.4015, allocations: 4.104 MB / 0.8138 GB, free: 1.602 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001954/0.4034, allocations: 0.7628 MB / 0.8145 GB, free: 0.8359 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001828/0.4053, allocations: 1.032 MB / 0.8155 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001713/0.4055, allocations: 92 kB / 0.8156 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001109/0.4066, allocations: 443.3 kB / 0.816 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0008294/0.4074, allocations: 0.7209 MB / 0.8167 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00111/0.4085, allocations: 0.8142 MB / 0.8175 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003573/0.4121, allocations: 2.965 MB / 0.8204 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.4121, allocations: 0 / 0.8204 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.377e-06/0.4122, allocations: 0 / 0.8204 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.302e-05/0.4122, allocations: 0 / 0.8204 GB, free: 10.76 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.003981/0.4162, allocations: 1.593 MB / 0.822 GB, free: 9.109 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.963e-05/0.4163, allocations: 12.03 kB / 0.822 GB, free: 9.098 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002356/0.4187, allocations: 462.5 kB / 0.8224 GB, free: 8.645 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002013/0.4207, allocations: 1.089 MB / 0.8235 GB, free: 7.512 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/0.4208, allocations: 119.4 kB / 0.8236 GB, free: 7.395 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003135/0.4211, allocations: 156.1 kB / 0.8238 GB, free: 7.242 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005092/0.4262, allocations: 2.731 MB / 0.8264 GB, free: 4.445 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.181e-05/0.4263, allocations: 11.91 kB / 0.8264 GB, free: 4.434 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001844/0.4265, allocations: 67.97 kB / 0.8265 GB, free: 4.367 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003981/0.4269, allocations: 143 kB / 0.8266 GB, free: 4.227 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004103/0.431, allocations: 2.28 MB / 0.8289 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01415/0.4452, allocations: 10.46 MB / 0.8391 GB, free: 6.594 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.4462, allocations: 0.5746 MB / 0.8396 GB, free: 6.012 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006483/0.4469, allocations: 372.6 kB / 0.84 GB, free: 5.645 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001263/0.447, allocations: 93.03 kB / 0.8401 GB, free: 5.535 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.4471, allocations: 46.5 kB / 0.8401 GB, free: 5.48 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=36): time 2.886e-06/0.4471, allocations: 0 / 0.8401 GB, free: 5.48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=52): time 0.0212/0.4683, allocations: 5.749 MB / 0.8457 GB, free: 15.67 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.973e-05/0.4684, allocations: 55.84 kB / 0.8458 GB, free: 15.6 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/0.47, allocations: 0.8867 MB / 0.8467 GB, free: 14.71 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001019/0.4701, allocations: 33.7 kB / 0.8467 GB, free: 14.67 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005982/0.4707, allocations: 0.7577 MB / 0.8474 GB, free: 13.9 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000189/0.4709, allocations: 189.4 kB / 0.8476 GB, free: 13.71 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002145/0.4711, allocations: 73.69 kB / 0.8477 GB, free: 13.63 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001994/0.4713, allocations: 390.8 kB / 0.8481 GB, free: 13.24 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001057/0.4724, allocations: 0.6265 MB / 0.8487 GB, free: 12.61 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001355/0.4738, allocations: 0.9943 MB / 0.8496 GB, free: 11.46 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002327/0.4761, allocations: 1.647 MB / 0.8512 GB, free: 9.648 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.4761, allocations: 0 / 0.8512 GB, free: 9.648 MB / 0.67 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.009508/0.4856, allocations: 3.143 MB / 0.8543 GB, free: 6.484 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005291/0.4862, allocations: 431.4 kB / 0.8547 GB, free: 5.898 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.809e-05/0.4862, allocations: 11.94 kB / 0.8547 GB, free: 5.887 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008092/0.4943, allocations: 1.747 MB / 0.8564 GB, free: 4.125 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009565/0.4953, allocations: 223.6 kB / 0.8567 GB, free: 3.906 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01501/0.5103, allocations: 9.925 MB / 0.8663 GB, free: 9.457 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/0.5118, allocations: 167.7 kB / 0.8665 GB, free: 9.293 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.094e-05/0.512, allocations: 43.98 kB / 0.8665 GB, free: 9.25 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.512, allocations: 4 kB / 0.8666 GB, free: 9.246 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007433/0.5194, allocations: 2.579 MB / 0.8691 GB, free: 6.656 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.287e-05/0.5195, allocations: 12 kB / 0.8691 GB, free: 6.645 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005347/0.5249, allocations: 1.153 MB / 0.8702 GB, free: 5.484 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/0.5259, allocations: 247.6 kB / 0.8704 GB, free: 5.242 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008194/0.5341, allocations: 5.43 MB / 0.8757 GB, free: 15.55 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/0.5355, allocations: 135.8 kB / 0.8759 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.168e-05/0.5356, allocations: 40 kB / 0.8759 GB, free: 15.38 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00165/0.5373, allocations: 0.8408 MB / 0.8767 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001917/0.5375, allocations: 83 kB / 0.8768 GB, free: 14.44 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008365/0.5458, allocations: 2.598 MB / 0.8794 GB, free: 11.82 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.467e-05/0.5459, allocations: 11.98 kB / 0.8794 GB, free: 11.81 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.5459, allocations: 0 / 0.8794 GB, free: 11.81 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.512e-05/0.5459, allocations: 3.984 kB / 0.8794 GB, free: 11.8 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01144/0.5574, allocations: 4.526 MB / 0.8838 GB, free: 7.16 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.5574, allocations: 4 kB / 0.8838 GB, free: 7.156 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004398/0.5579, allocations: 99.86 kB / 0.8839 GB, free: 7.059 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007159/0.5651, allocations: 1.595 MB / 0.8854 GB, free: 5.449 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.797e-05/0.5652, allocations: 16 kB / 0.8855 GB, free: 5.434 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0126/0.5778, allocations: 9.469 MB / 0.8947 GB, free: 11.42 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.5779, allocations: 3.938 kB / 0.8947 GB, free: 11.42 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007798/0.5857, allocations: 2.574 MB / 0.8972 GB, free: 8.789 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006721/0.5864, allocations: 287.9 kB / 0.8975 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.5865, allocations: 12 kB / 0.8975 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008167/0.5873, allocations: 131.7 kB / 0.8976 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002755/0.5876, allocations: 39.94 kB / 0.8977 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-05/0.5877, allocations: 16 kB / 0.8977 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009315/0.5886, allocations: 0.6355 MB / 0.8983 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5886, allocations: 0 / 0.8983 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002328/0.591, allocations: 0.5898 MB / 0.8989 GB, free: 7.07 MB / 0.7169 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): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002633/0.5912, allocations: 119.2 kB / 0.899 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005386/0.5966, allocations: 3.09 MB / 0.902 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.5967, allocations: 0 / 0.902 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001936/0.5986, allocations: 1.179 MB / 0.9032 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001478/0.6001, allocations: 226.8 kB / 0.9034 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007288/0.6074, allocations: 3.892 MB / 0.9072 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001681/0.6091, allocations: 1.63 MB / 0.9088 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000289/0.6094, allocations: 63.42 kB / 0.9088 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of SimCode: time 1.212e-06/0.6094, allocations: 0 / 0.9088 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of Templates: time 0.5949/1.204, allocations: 57.31 MB / 0.9648 GB, free: 107.9 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGridCalcHelperMain.o OMCppBuildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGridCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGridCalcHelperMain.o] Error 1