Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008904/0.0008901, allocations: 103 kB / 15.71 MB, free: 460 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.0009742/0.0009742, allocations: 175.8 kB / 16.58 MB, free: 6.07 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.799/1.799, allocations: 205.4 MB / 222.8 MB, free: 5.484 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.848/1.848, allocations: 292.7 MB / 0.5505 GB, free: 14.54 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.0005097/0.0005097, allocations: 12.88 kB / 0.6744 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3103, allocations: 116.3 MB / 0.7879 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.04496/0.3553, allocations: 27.9 MB / 0.8152 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03147/0.3868, allocations: 12.83 MB / 0.8277 GB, free: 3.09 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006103/0.393, allocations: 123.2 kB / 0.8278 GB, free: 2.969 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004656/0.3977, allocations: 0.6278 MB / 0.8284 GB, free: 2.336 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01469/0.4125, allocations: 2.206 MB / 0.8306 GB, free: 120 kB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.008365/0.4209, allocations: 1.198 MB / 0.8318 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01587/0.4368, allocations: 8.383 MB / 0.84 GB, free: 6.516 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02098/0.4578, allocations: 8.534 MB / 0.8483 GB, free: 13.91 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00701/0.4649, allocations: 2.572 MB / 0.8508 GB, free: 11.32 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006647/0.4716, allocations: 2.838 MB / 0.8536 GB, free: 8.477 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001872/0.4735, allocations: 244 kB / 0.8538 GB, free: 8.238 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004364/0.4779, allocations: 0.7062 MB / 0.8545 GB, free: 7.531 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.004548/0.4825, allocations: 1.905 MB / 0.8564 GB, free: 5.621 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.003386/0.4859, allocations: 0.9719 MB / 0.8573 GB, free: 4.641 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0124/0.4983, allocations: 7.733 MB / 0.8649 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 9.638e-06/0.4983, allocations: 0 / 0.8649 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.607e-06/0.4984, allocations: 4 kB / 0.8649 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0004094/0.4988, allocations: 4 kB / 0.8649 GB, free: 12.88 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01365/0.5124, allocations: 4.193 MB / 0.869 GB, free: 8.609 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.5125, allocations: 11.97 kB / 0.869 GB, free: 8.598 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007667/0.5202, allocations: 1.009 MB / 0.87 GB, free: 7.582 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008402/0.5286, allocations: 2.81 MB / 0.8727 GB, free: 4.691 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004483/0.5291, allocations: 320.5 kB / 0.873 GB, free: 4.375 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002008/0.5311, allocations: 419.9 kB / 0.8734 GB, free: 3.965 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02223/0.5534, allocations: 6.752 MB / 0.88 GB, free: 12.92 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003155/0.5538, allocations: 23.78 kB / 0.88 GB, free: 12.89 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00175/0.5555, allocations: 184 kB / 0.8802 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009946/0.5566, allocations: 368 kB / 0.8805 GB, free: 12.35 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01325/0.5698, allocations: 5.083 MB / 0.8855 GB, free: 7.25 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04681/0.6167, allocations: 30.78 MB / 0.9156 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00246/0.6192, allocations: 1.391 MB / 0.9169 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002015/0.6213, allocations: 1.324 MB / 0.9182 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001485/0.6214, allocations: 21.28 kB / 0.9182 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.045e-05/0.6215, allocations: 51.88 kB / 0.9183 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=130): time 3.506e-06/0.6215, allocations: 7.938 kB / 0.9183 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of matching and sorting (n=199): time 0.7286/1.35, allocations: 22.78 MB / 0.9405 GB, free: 121.6 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.556e-05/1.35, allocations: 72.19 kB / 0.9406 GB, free: 121.6 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004111/1.354, allocations: 2.039 MB / 0.9426 GB, free: 120.8 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003159/1.355, allocations: 58.52 kB / 0.9427 GB, free: 120.7 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.00174/1.357, allocations: 2.011 MB / 0.9446 GB, free: 119.2 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008025/1.357, allocations: 0.673 MB / 0.9453 GB, free: 118.7 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001461/1.357, allocations: 49.81 kB / 0.9453 GB, free: 118.6 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001698/1.358, allocations: 401.3 kB / 0.9457 GB, free: 118.3 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002559/1.36, allocations: 1.419 MB / 0.9471 GB, free: 117.7 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002906/1.363, allocations: 2.004 MB / 0.949 GB, free: 116.4 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002681/1.366, allocations: 1.727 MB / 0.9507 GB, free: 115.5 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.414e-05/1.366, allocations: 5.438 kB / 0.9507 GB, free: 115.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01034/1.376, allocations: 5.635 MB / 0.9562 GB, free: 112.3 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.308e-05/1.376, allocations: 15.84 kB / 0.9563 GB, free: 112.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.303e-05/1.376, allocations: 16.72 kB / 0.9563 GB, free: 112.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005589/1.382, allocations: 2.079 MB / 0.9583 GB, free: 111.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/1.383, allocations: 373.8 kB / 0.9587 GB, free: 111 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03055/1.414, allocations: 35.5 MB / 0.9933 GB, free: 77.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003105/1.417, allocations: 127.9 kB / 0.9935 GB, free: 77.35 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004331/1.418, allocations: 94.11 kB / 0.9935 GB, free: 77.26 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * 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: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003751/1.421, allocations: 1.51 MB / 0.995 GB, free: 75.74 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008683/1.422, allocations: 284.6 kB / 0.9953 GB, free: 75.46 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008485/1.431, allocations: 5.19 MB / 1 GB, free: 70.2 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.882e-05/1.431, allocations: 23.95 kB / 1 GB, free: 70.17 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.316e-05/1.431, allocations: 16 kB / 1 GB, free: 70.16 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.651e-05/1.431, allocations: 11.97 kB / 1 GB, free: 70.14 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01834/1.449, allocations: 9.664 MB / 1.01 GB, free: 60.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.938e-05/1.449, allocations: 8 kB / 1.01 GB, free: 60.31 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007441/1.45, allocations: 211.6 kB / 1.01 GB, free: 60.11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004846/1.455, allocations: 1.846 MB / 1.012 GB, free: 58.21 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001709/1.455, allocations: 40 kB / 1.012 GB, free: 58.17 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02784/1.483, allocations: 34.5 MB / 1.046 GB, free: 21.31 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.147e-05/1.483, allocations: 11.94 kB / 1.046 GB, free: 21.3 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008519/1.492, allocations: 4.89 MB / 1.05 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001892/1.493, allocations: 0.6186 MB / 1.051 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001004/1.494, allocations: 43.98 kB / 1.051 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001967/1.496, allocations: 131.8 kB / 1.051 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007254/1.497, allocations: 186.5 kB / 1.051 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001491/1.497, allocations: 63.98 kB / 1.051 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001956/1.499, allocations: 1.351 MB / 1.053 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.21e-07/1.499, allocations: 0 / 1.053 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004486/1.504, allocations: 1.05 MB / 1.054 GB, free: 12.79 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * 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: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000328/1.504, allocations: 175.6 kB / 1.054 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.008298/1.512, allocations: 6.257 MB / 1.06 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/1.513, allocations: 192 / 1.06 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005623/1.518, allocations: 4.401 MB / 1.064 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005685/1.524, allocations: 0.9089 MB / 1.065 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01851/1.542, allocations: 10.17 MB / 1.075 GB, free: 6.379 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004142/1.547, allocations: 3.178 MB / 1.078 GB, free: 3.168 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007731/1.547, allocations: 163.4 kB / 1.078 GB, free: 3.008 MB / 0.7481 GB Notification: Performance of SimCode: time 9.41e-07/1.547, allocations: 0 / 1.078 GB, free: 3.008 MB / 0.7481 GB Notification: Performance of Templates: time 0.9952/2.543, allocations: 464.3 MB / 1.532 GB, free: 75.56 MB / 0.9356 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineCalcHelperMain.o OMCppBuildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineCalcHelperMain.o] Error 1