Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008675/0.0008676, allocations: 102.7 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.001238/0.001238, allocations: 173.8 kB / 16.58 MB, free: 6.402 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.803/1.803, allocations: 205.4 MB / 222.7 MB, free: 5.887 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.846/1.846, allocations: 292.7 MB / 0.5505 GB, free: 14.53 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.0005203/0.0005203, allocations: 16.91 kB / 0.6744 GB, free: 26.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2978, allocations: 116.3 MB / 0.7879 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01084/0.3087, allocations: 9.082 MB / 0.7968 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005897/0.3147, allocations: 3.059 MB / 0.7998 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008385/0.3156, allocations: 27.88 kB / 0.7998 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0005351/0.3161, allocations: 178.6 kB / 0.8 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001509/0.3176, allocations: 0.6339 MB / 0.8006 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001395/0.319, allocations: 0.5141 MB / 0.8011 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003735/0.3228, allocations: 3.506 MB / 0.8045 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004181/0.327, allocations: 2.715 MB / 0.8072 GB, free: 8.094 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00201/0.329, allocations: 0.9692 MB / 0.8081 GB, free: 7.121 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002075/0.3311, allocations: 1.433 MB / 0.8095 GB, free: 5.684 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002135/0.3313, allocations: 112 kB / 0.8096 GB, free: 5.574 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008147/0.3321, allocations: 255.8 kB / 0.8099 GB, free: 5.324 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.00119/0.3333, allocations: 0.9276 MB / 0.8108 GB, free: 4.395 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000581/0.3339, allocations: 384.7 kB / 0.8112 GB, free: 4.012 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002961/0.3369, allocations: 3.004 MB / 0.8141 GB, free: 1 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.3369, allocations: 0 / 0.8141 GB, free: 1 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3369, allocations: 8 kB / 0.8141 GB, free: 0.9922 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.453e-05/0.337, allocations: 0 / 0.8141 GB, free: 0.9922 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.003462/0.3404, allocations: 1.779 MB / 0.8158 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.3405, allocations: 8.031 kB / 0.8158 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007807/0.3483, allocations: 1.32 MB / 0.8171 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002635/0.351, allocations: 1.223 MB / 0.8183 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/0.3511, allocations: 115 kB / 0.8184 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002772/0.3514, allocations: 148 kB / 0.8186 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006053/0.3574, allocations: 3.421 MB / 0.8219 GB, free: 8.781 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.163e-05/0.3575, allocations: 7.906 kB / 0.8219 GB, free: 8.773 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002004/0.3577, allocations: 63.97 kB / 0.822 GB, free: 8.711 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002705/0.358, allocations: 211.1 kB / 0.8222 GB, free: 8.504 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005217/0.3632, allocations: 3.12 MB / 0.8252 GB, free: 5.379 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01823/0.3815, allocations: 13.58 MB / 0.8385 GB, free: 6.918 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002592/0.3841, allocations: 1.717 MB / 0.8402 GB, free: 5.191 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002092/0.3862, allocations: 1.433 MB / 0.8416 GB, free: 3.75 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.36e-05/0.3863, allocations: 13 kB / 0.8416 GB, free: 3.738 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.383e-05/0.3864, allocations: 47.55 kB / 0.8416 GB, free: 3.684 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=104): time 4.398e-06/0.3864, allocations: 3.938 kB / 0.8416 GB, free: 3.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=183): time 0.125/0.5114, allocations: 35.93 MB / 0.8767 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.055e-05/0.5115, allocations: 73.34 kB / 0.8768 GB, free: 15.53 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001784/0.5133, allocations: 1.05 MB / 0.8778 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0004624/0.5138, allocations: 57.7 kB / 0.8779 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006189/0.5144, allocations: 0.7873 MB / 0.8786 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006792/0.5151, allocations: 0.62 MB / 0.8792 GB, free: 12.96 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/0.5152, allocations: 40 kB / 0.8793 GB, free: 12.92 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000222/0.5155, allocations: 385.9 kB / 0.8797 GB, free: 12.54 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002798/0.5183, allocations: 1.921 MB / 0.8815 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00325/0.5215, allocations: 2.277 MB / 0.8837 GB, free: 8.219 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003153/0.5247, allocations: 2.211 MB / 0.8859 GB, free: 6.008 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.5247, allocations: 0 / 0.8859 GB, free: 6.008 MB / 0.7012 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01896/0.5437, allocations: 8.985 MB / 0.8947 GB, free: 13 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.381e-05/0.5439, allocations: 20.06 kB / 0.8947 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.139e-05/0.5439, allocations: 8 kB / 0.8947 GB, free: 12.97 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01604/0.56, allocations: 4.971 MB / 0.8996 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/0.561, allocations: 187.7 kB / 0.8997 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6998/1.261, allocations: 35.07 MB / 0.934 GB, free: 121.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002309/1.263, allocations: 98.77 kB / 0.9341 GB, free: 121.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002443/1.263, allocations: 70.34 kB / 0.9342 GB, free: 121.2 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,100.0%) 16,(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001817/1.265, allocations: 0.8089 MB / 0.9349 GB, free: 120.8 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003687/1.266, allocations: 143.9 kB / 0.9351 GB, free: 120.8 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02166/1.287, allocations: 8.866 MB / 0.9437 GB, free: 118.2 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-05/1.287, allocations: 17.53 kB / 0.9438 GB, free: 118.2 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001606/1.288, allocations: 29.5 kB / 0.9438 GB, free: 118.2 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.913e-05/1.288, allocations: 8 kB / 0.9438 GB, free: 118.2 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0259/1.314, allocations: 13.25 MB / 0.9567 GB, free: 113.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-05/1.314, allocations: 4.062 kB / 0.9567 GB, free: 113.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005199/1.314, allocations: 119.5 kB / 0.9568 GB, free: 113.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0148/1.329, allocations: 4.77 MB / 0.9615 GB, free: 112 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003406/1.329, allocations: 33.88 kB / 0.9615 GB, free: 112 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04044/1.37, allocations: 31.4 MB / 0.9922 GB, free: 85.97 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/1.37, allocations: 4 kB / 0.9922 GB, free: 85.96 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01557/1.385, allocations: 8.373 MB / 1 GB, free: 77.51 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00142/1.387, allocations: 0.6202 MB / 1.001 GB, free: 76.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003116/1.387, allocations: 39.98 kB / 1.001 GB, free: 76.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/1.388, allocations: 91.89 kB / 1.001 GB, free: 76.74 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008297/1.389, allocations: 157.7 kB / 1.001 GB, free: 76.58 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001357/1.389, allocations: 48.61 kB / 1.001 GB, free: 76.54 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009182/1.39, allocations: 0.7304 MB / 1.002 GB, free: 75.79 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/1.39, allocations: 4 kB / 1.002 GB, free: 75.79 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003405/1.394, allocations: 1.004 MB / 1.003 GB, free: 74.79 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 8,(14,80.1%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000311/1.394, allocations: 141.7 kB / 1.003 GB, free: 74.64 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.008792/1.403, allocations: 5.839 MB / 1.009 GB, free: 68.76 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/1.403, allocations: 0 / 1.009 GB, free: 68.76 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006816/1.41, allocations: 3.805 MB / 1.013 GB, free: 64.92 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001687/1.411, allocations: 228 kB / 1.013 GB, free: 64.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007436/1.419, allocations: 5.906 MB / 1.019 GB, free: 58.75 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001525/1.42, allocations: 1.89 MB / 1.02 GB, free: 56.82 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003878/1.421, allocations: 67.38 kB / 1.02 GB, free: 56.75 MB / 0.7325 GB Notification: Performance of SimCode: time 1.062e-06/1.421, allocations: 0 / 1.02 GB, free: 56.75 MB / 0.7325 GB Notification: Performance of Templates: time 0.07523/1.496, allocations: 68.88 MB / 1.088 GB, free: 3.848 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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.ACLineMatrix_RLC_NCalcHelperMain.o OMCppBuildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_NCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_NCalcHelperMain.o] Error 1