Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 92.16 kB / 16.02 MB, free: 80 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.001151/0.001151, allocations: 173 kB / 16.92 MB, free: 6.652 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.945/1.945, allocations: 205.4 MB / 223.1 MB, free: 5.562 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.951/1.951, allocations: 292.7 MB / 0.5509 GB, free: 14.46 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.0005689/0.0005689, allocations: 19.83 kB / 0.675 GB, free: 25.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2856, 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.ACLine_RL_N): time 0.02355/0.3092, allocations: 19.42 MB / 0.8075 GB, free: 8.082 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01398/0.3232, allocations: 6.435 MB / 0.8138 GB, free: 1.629 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002629/0.3259, allocations: 71.62 kB / 0.8139 GB, free: 1.559 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001891/0.3278, allocations: 404.8 kB / 0.8142 GB, free: 1.16 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005259/0.3331, allocations: 1.112 MB / 0.8153 GB, free: 44 kB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003899/0.3371, allocations: 1.08 MB / 0.8164 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.009948/0.347, allocations: 6.975 MB / 0.8232 GB, free: 7.973 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01332/0.3604, allocations: 7.267 MB / 0.8303 GB, free: 0.6328 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003906/0.3643, allocations: 1.482 MB / 0.8317 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004447/0.3688, allocations: 2.028 MB / 0.8337 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.00105/0.3698, allocations: 176 kB / 0.8339 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003222/0.3731, allocations: 0.9164 MB / 0.8348 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002761/0.3759, allocations: 1.356 MB / 0.8361 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.004217/0.3801, allocations: 1.572 MB / 0.8376 GB, free: 9.074 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006771/0.3869, allocations: 5.396 MB / 0.8429 GB, free: 3.664 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3869, allocations: 0 / 0.8429 GB, free: 3.664 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.284e-06/0.3869, allocations: 0 / 0.8429 GB, free: 3.664 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001562/0.3871, allocations: 0 / 0.8429 GB, free: 3.664 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.006252/0.3934, allocations: 2.828 MB / 0.8457 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.3934, allocations: 8.031 kB / 0.8457 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00356/0.397, allocations: 0.6372 MB / 0.8463 GB, free: 128 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003366/0.4004, allocations: 1.943 MB / 0.8482 GB, free: 14.12 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001686/0.4005, allocations: 226.3 kB / 0.8484 GB, free: 13.9 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004849/0.401, allocations: 288.4 kB / 0.8487 GB, free: 13.62 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00839/0.4094, allocations: 4.89 MB / 0.8535 GB, free: 8.527 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.907e-05/0.4095, allocations: 11.84 kB / 0.8535 GB, free: 8.516 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000301/0.4099, allocations: 128 kB / 0.8536 GB, free: 8.391 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004464/0.4103, allocations: 237.6 kB / 0.8538 GB, free: 8.156 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00669/0.417, allocations: 3.754 MB / 0.8575 GB, free: 4.391 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02663/0.4437, allocations: 21.6 MB / 0.8786 GB, free: 12.79 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001908/0.4456, allocations: 1.312 MB / 0.8799 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00147/0.4471, allocations: 1.045 MB / 0.8809 GB, free: 10.42 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 6.269e-05/0.4472, allocations: 9 kB / 0.8809 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.862e-05/0.4473, allocations: 51.56 kB / 0.881 GB, free: 10.35 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=107): time 4.899e-06/0.4473, allocations: 3.938 kB / 0.881 GB, free: 10.35 MB / 0.7012 GB Notification: Performance of matching and sorting (n=138): time 0.0253/0.4726, allocations: 8.708 MB / 0.8895 GB, free: 1.574 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/0.4727, allocations: 68.72 kB / 0.8895 GB, free: 1.496 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001652/0.4743, allocations: 1.13 MB / 0.8906 GB, free: 368 kB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.000122/0.4745, allocations: 49.7 kB / 0.8907 GB, free: 312 kB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001055/0.4755, allocations: 1.292 MB / 0.8919 GB, free: 15 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004704/0.476, allocations: 493 kB / 0.8924 GB, free: 14.51 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002175/0.4762, allocations: 129.6 kB / 0.8925 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.4764, allocations: 309.1 kB / 0.8928 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001338/0.4777, allocations: 0.9096 MB / 0.8937 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001704/0.4795, allocations: 1.33 MB / 0.895 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003272/0.4827, allocations: 2.418 MB / 0.8974 GB, free: 9.074 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/0.4828, allocations: 8 kB / 0.8974 GB, free: 9.066 MB / 0.7169 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006872/0.4896, allocations: 3.463 MB / 0.9008 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.188e-05/0.4897, allocations: 8 kB / 0.9008 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.757e-05/0.4897, allocations: 16.89 kB / 0.9008 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003379/0.4931, allocations: 1.189 MB / 0.9019 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009931/0.4941, allocations: 251.6 kB / 0.9022 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01731/0.5115, allocations: 12.76 MB / 0.9146 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/0.513, allocations: 92.34 kB / 0.9147 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000125/0.5131, allocations: 60 kB / 0.9148 GB, free: 6.812 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * 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): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002084/0.5152, allocations: 1.119 MB / 0.9159 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002925/0.5155, allocations: 158.1 kB / 0.916 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005775/0.5213, allocations: 3.181 MB / 0.9191 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/0.5213, allocations: 16 kB / 0.9192 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.258e-05/0.5213, allocations: 12 kB / 0.9192 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.364e-05/0.5213, allocations: 7.922 kB / 0.9192 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7613/1.283, allocations: 6.243 MB / 0.9253 GB, free: 124.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.433e-05/1.283, allocations: 5.5 kB / 0.9253 GB, free: 124.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008858/1.284, allocations: 146.7 kB / 0.9254 GB, free: 124.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00396/1.288, allocations: 1.067 MB / 0.9265 GB, free: 124.4 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001774/1.288, allocations: 31.5 kB / 0.9265 GB, free: 124.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02009/1.308, allocations: 12.45 MB / 0.9386 GB, free: 117.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.017e-05/1.308, allocations: 8.234 kB / 0.9387 GB, free: 117.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007509/1.316, allocations: 3.162 MB / 0.9417 GB, free: 116.4 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001536/1.317, allocations: 433.8 kB / 0.9422 GB, free: 116.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002671/1.317, allocations: 32.22 kB / 0.9422 GB, free: 116.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/1.318, allocations: 83.69 kB / 0.9423 GB, free: 116.2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006598/1.319, allocations: 121 kB / 0.9424 GB, free: 116.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001406/1.319, allocations: 40.61 kB / 0.9424 GB, free: 116.2 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001805/1.321, allocations: 0.7666 MB / 0.9432 GB, free: 115.9 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.4e-07/1.321, allocations: 0 / 0.9432 GB, free: 115.9 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004066/1.325, allocations: 0.6582 MB / 0.9438 GB, free: 115.8 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * 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): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003722/1.326, allocations: 142.6 kB / 0.9439 GB, free: 115.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006845/1.332, allocations: 3.136 MB / 0.947 GB, free: 114.3 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.347e-05/1.332, allocations: 1.188 kB / 0.947 GB, free: 114.3 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.004427/1.337, allocations: 1.971 MB / 0.9489 GB, free: 113.4 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00396/1.341, allocations: 470.3 kB / 0.9494 GB, free: 113.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01412/1.355, allocations: 7.195 MB / 0.9564 GB, free: 109.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003347/1.358, allocations: 2.379 MB / 0.9587 GB, free: 108.1 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005342/1.359, allocations: 101 kB / 0.9588 GB, free: 108.1 MB / 0.7325 GB Notification: Performance of SimCode: time 1.123e-06/1.359, allocations: 0 / 0.9588 GB, free: 108.1 MB / 0.7325 GB Notification: Performance of Templates: time 0.09271/1.452, allocations: 79.08 MB / 1.036 GB, free: 37.15 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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.Lines.Examples.ACLine_RL_NCalcHelperMain.o OMCppBuildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_NCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_NCalcHelperMain.o] Error 1