Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_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.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 98.88 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.002138/0.002138, allocations: 183.3 kB / 16.92 MB, free: 6.777 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.943/1.943, 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 2.018/2.018, allocations: 292.7 MB / 0.5509 GB, free: 14.45 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.0005527/0.0005527, allocations: 11.66 kB / 0.675 GB, free: 25.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3243, allocations: 116.3 MB / 0.7885 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02386/0.3483, allocations: 19.63 MB / 0.8077 GB, free: 7.859 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01375/0.3621, allocations: 7.527 MB / 0.8151 GB, free: 320 kB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002041/0.3642, allocations: 47.81 kB / 0.8151 GB, free: 272 kB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001098/0.3653, allocations: 377.3 kB / 0.8155 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002771/0.3681, allocations: 0.9186 MB / 0.8164 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003622/0.3717, allocations: 1.308 MB / 0.8177 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007934/0.3797, allocations: 6.449 MB / 0.824 GB, free: 7.199 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01254/0.3923, allocations: 7.519 MB / 0.8313 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003126/0.3954, allocations: 1.257 MB / 0.8325 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00372/0.3992, allocations: 1.885 MB / 0.8344 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004868/0.3997, allocations: 172 kB / 0.8345 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001972/0.4017, allocations: 0.8228 MB / 0.8353 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001715/0.4034, allocations: 1.341 MB / 0.8366 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001817/0.4052, allocations: 1.378 MB / 0.838 GB, free: 8.707 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006005/0.4112, allocations: 5.155 MB / 0.843 GB, free: 3.539 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.4113, allocations: 0 / 0.843 GB, free: 3.539 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.296e-06/0.4113, allocations: 4 kB / 0.843 GB, free: 3.535 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001635/0.4115, allocations: 0 / 0.843 GB, free: 3.535 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.006009/0.4175, allocations: 2.443 MB / 0.8454 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/0.4175, allocations: 12.03 kB / 0.8454 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003267/0.4208, allocations: 0.6844 MB / 0.8461 GB, free: 340 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002888/0.4237, allocations: 1.54 MB / 0.8476 GB, free: 14.74 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001741/0.4239, allocations: 218.1 kB / 0.8478 GB, free: 14.53 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005321/0.4245, allocations: 292.3 kB / 0.8481 GB, free: 14.24 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009224/0.4337, allocations: 5.043 MB / 0.853 GB, free: 9.012 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.377e-05/0.4338, allocations: 11.94 kB / 0.853 GB, free: 9 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00032/0.4341, allocations: 128 kB / 0.8531 GB, free: 8.875 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000274/0.4344, allocations: 208.6 kB / 0.8533 GB, free: 8.668 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007599/0.442, allocations: 4.188 MB / 0.8574 GB, free: 4.465 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03004/0.4721, allocations: 23.01 MB / 0.8799 GB, free: 11.31 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003259/0.4754, allocations: 1.719 MB / 0.8816 GB, free: 9.555 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001873/0.4773, allocations: 1.137 MB / 0.8827 GB, free: 8.41 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002021/0.4775, allocations: 97.73 kB / 0.8828 GB, free: 8.297 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.198e-05/0.4776, allocations: 51.22 kB / 0.8828 GB, free: 8.238 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=84): time 3.636e-06/0.4776, allocations: 3.938 kB / 0.8828 GB, free: 8.234 MB / 0.7012 GB Notification: Performance of matching and sorting (n=87): time 0.007775/0.4854, allocations: 4.005 MB / 0.8867 GB, free: 4.195 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.916e-05/0.4856, allocations: 141.2 kB / 0.8869 GB, free: 4.027 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00142/0.487, allocations: 0.8486 MB / 0.8877 GB, free: 3.168 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001075/0.4871, allocations: 41.7 kB / 0.8877 GB, free: 3.121 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009218/0.488, allocations: 1.158 MB / 0.8889 GB, free: 1.945 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003861/0.4884, allocations: 303.7 kB / 0.8892 GB, free: 1.645 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001896/0.4886, allocations: 105.7 kB / 0.8893 GB, free: 1.535 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002408/0.4889, allocations: 410.7 kB / 0.8897 GB, free: 1.125 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001303/0.4902, allocations: 0.8027 MB / 0.8904 GB, free: 328 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001985/0.4922, allocations: 1.291 MB / 0.8917 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00339/0.4956, allocations: 2.151 MB / 0.8938 GB, free: 12.46 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.898e-05/0.4956, allocations: 4 kB / 0.8938 GB, free: 12.46 MB / 0.7169 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003889/0.4995, allocations: 2.187 MB / 0.8959 GB, free: 10.26 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005982/0.5001, allocations: 0.495 MB / 0.8964 GB, free: 9.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.24e-05/0.5002, allocations: 16 kB / 0.8964 GB, free: 9.555 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.195e-05/0.5002, allocations: 27.97 kB / 0.8965 GB, free: 9.527 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001618/0.5019, allocations: 411.3 kB / 0.8969 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.873e-05/0.5019, allocations: 27.92 kB / 0.8969 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/0.5032, allocations: 203.2 kB / 0.8971 GB, free: 8.898 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/0.5034, allocations: 63.98 kB / 0.8971 GB, free: 8.836 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.5034, allocations: 6.812 kB / 0.8972 GB, free: 8.832 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002907/0.5063, allocations: 1.772 MB / 0.8989 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.269e-05/0.5064, allocations: 16.94 kB / 0.8989 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.923e-05/0.5064, allocations: 20 kB / 0.8989 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/0.5077, allocations: 355.4 kB / 0.8993 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-05/0.5077, allocations: 39.8 kB / 0.8993 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/0.5088, allocations: 143.4 kB / 0.8994 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/0.5089, allocations: 63.98 kB / 0.8995 GB, free: 6.434 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002422/0.5114, allocations: 1.173 MB / 0.9006 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000346/0.5117, allocations: 102.8 kB / 0.9007 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003195/0.5149, allocations: 1.85 MB / 0.9025 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.929e-05/0.515, allocations: 11.98 kB / 0.9026 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.561e-05/0.515, allocations: 4 kB / 0.9026 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.611e-05/0.515, allocations: 3.984 kB / 0.9026 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01627/0.5313, allocations: 9.584 MB / 0.9119 GB, free: 9.422 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.789e-05/0.5314, allocations: 12 kB / 0.9119 GB, free: 9.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001289/0.5327, allocations: 320.4 kB / 0.9122 GB, free: 9.098 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.881e-05/0.5327, allocations: 16 kB / 0.9123 GB, free: 9.082 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001213/0.5329, allocations: 28 kB / 0.9123 GB, free: 9.055 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.807e-05/0.5329, allocations: 27.86 kB / 0.9123 GB, free: 9.027 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.418e-05/0.5329, allocations: 20.03 kB / 0.9123 GB, free: 9.008 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003564/0.5365, allocations: 2.417 MB / 0.9147 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008667/0.5374, allocations: 379.6 kB / 0.915 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002877/0.5377, allocations: 35.98 kB / 0.9151 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/0.5389, allocations: 135.8 kB / 0.9152 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002374/0.5391, allocations: 95.39 kB / 0.9153 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.182e-05/0.5392, allocations: 36 kB / 0.9153 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001193/0.5404, allocations: 0.5927 MB / 0.9159 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.9e-07/0.5404, allocations: 0 / 0.9159 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003516/0.544, allocations: 0.75 MB / 0.9166 GB, free: 4.406 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (90): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003383/0.5443, allocations: 154.9 kB / 0.9168 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004792/0.5491, allocations: 2.831 MB / 0.9196 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.485e-06/0.5491, allocations: 0 / 0.9196 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001486/0.5506, allocations: 0.9198 MB / 0.9205 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003708/0.5544, allocations: 286.1 kB / 0.9207 GB, free: 228 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6374/1.192, allocations: 6.673 MB / 0.9272 GB, free: 125.1 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003665/1.196, allocations: 2.196 MB / 0.9294 GB, free: 124.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008093/1.196, allocations: 93.27 kB / 0.9295 GB, free: 124.4 MB / 0.7325 GB Notification: Performance of SimCode: time 1.563e-06/1.196, allocations: 0 / 0.9295 GB, free: 124.4 MB / 0.7325 GB Notification: Performance of Templates: time 0.08569/1.282, allocations: 27.41 MB / 0.9563 GB, free: 115.3 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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.Loads.Examples.Loads_NCalcHelperMain.o OMCppBuildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_NCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_NCalcHelperMain.o] Error 1