Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009063/0.0009063, allocations: 89.97 kB / 16.33 MB, free: 6.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009117/0.0009118, allocations: 185.5 kB / 17.22 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 223.2 MB / 241.2 MB, free: 256 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8226/0.8226, allocations: 114.3 MB / 406.7 MB, free: 8.336 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000359/0.000359, allocations: 8 kB / 494.5 MB, free: 1.508 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5248/0.5252, allocations: 77.25 MB / 0.5583 GB, free: 36.93 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.003294/0.5285, allocations: 2.484 MB / 0.5607 GB, free: 35.24 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002342/0.5309, allocations: 1.523 MB / 0.5622 GB, free: 34.22 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.531, allocations: 11.12 kB / 0.5622 GB, free: 34.22 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001738/0.5312, allocations: 28.53 kB / 0.5623 GB, free: 34.2 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004073/0.5316, allocations: 135.8 kB / 0.5624 GB, free: 34.13 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004611/0.5321, allocations: 168.5 kB / 0.5625 GB, free: 34.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004756/0.5326, allocations: 355.5 kB / 0.5629 GB, free: 33.92 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007266/0.5333, allocations: 362.7 kB / 0.5632 GB, free: 33.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001948/0.5335, allocations: 102.9 kB / 0.5633 GB, free: 33.67 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003057/0.5338, allocations: 141.2 kB / 0.5635 GB, free: 33.62 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.631e-05/0.5339, allocations: 9.906 kB / 0.5635 GB, free: 33.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003238/0.5342, allocations: 141.7 kB / 0.5636 GB, free: 33.58 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.5343, allocations: 71.75 kB / 0.5637 GB, free: 33.55 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.117e-05/0.5344, allocations: 63.48 kB / 0.5637 GB, free: 33.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004491/0.5349, allocations: 313.5 kB / 0.564 GB, free: 33.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.5349, allocations: 0 / 0.564 GB, free: 33.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.5349, allocations: 0 / 0.564 GB, free: 33.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.5349, allocations: 1.438 kB / 0.564 GB, free: 33.43 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008012/0.5357, allocations: 0.5043 MB / 0.5645 GB, free: 32.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.5357, allocations: 13.36 kB / 0.5645 GB, free: 32.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006663/0.5364, allocations: 88.59 kB / 0.5646 GB, free: 32.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002972/0.5367, allocations: 256.3 kB / 0.5649 GB, free: 32.72 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.5368, allocations: 14.38 kB / 0.5649 GB, free: 32.72 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.665e-05/0.5368, allocations: 15.62 kB / 0.5649 GB, free: 32.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000664/0.5375, allocations: 380.9 kB / 0.5653 GB, free: 32.51 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.5375, allocations: 6.344 kB / 0.5653 GB, free: 32.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.194e-05/0.5375, allocations: 11.19 kB / 0.5653 GB, free: 32.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-05/0.5376, allocations: 21.38 kB / 0.5653 GB, free: 32.49 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006766/0.5383, allocations: 335.3 kB / 0.5656 GB, free: 32.39 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001822/0.5401, allocations: 1.739 MB / 0.5673 GB, free: 30.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000754/0.5409, allocations: 334.8 kB / 0.5676 GB, free: 30.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002924/0.5412, allocations: 151.8 kB / 0.5678 GB, free: 30.74 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000139/0.5413, allocations: 87.67 kB / 0.5679 GB, free: 30.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.5414, allocations: 37.81 kB / 0.5679 GB, free: 30.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 1.563e-06/0.5414, allocations: 0.6562 kB / 0.5679 GB, free: 30.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=21): time 0.001451/0.5428, allocations: 0.6128 MB / 0.5685 GB, free: 30.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.5429, allocations: 83.86 kB / 0.5686 GB, free: 30.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002126/0.5431, allocations: 197.6 kB / 0.5688 GB, free: 30.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.5431, allocations: 34.89 kB / 0.5688 GB, free: 30.03 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.985e-05/0.5432, allocations: 163.6 kB / 0.569 GB, free: 29.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.707e-05/0.5433, allocations: 75.16 kB / 0.569 GB, free: 29.83 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.558e-05/0.5433, allocations: 4 kB / 0.569 GB, free: 29.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.321e-05/0.5434, allocations: 329.9 kB / 0.5693 GB, free: 29.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002644/0.5437, allocations: 132.3 kB / 0.5695 GB, free: 29.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000307/0.544, allocations: 211.6 kB / 0.5697 GB, free: 29.33 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003031/0.5443, allocations: 169.7 kB / 0.5698 GB, free: 29.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5443, allocations: 1.219 kB / 0.5698 GB, free: 29.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008236/0.5451, allocations: 434.3 kB / 0.5703 GB, free: 29.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.957e-05/0.5452, allocations: 172.5 kB / 0.5704 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.5453, allocations: 3.484 kB / 0.5704 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002551/0.5455, allocations: 45.39 kB / 0.5705 GB, free: 28.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003187/0.5459, allocations: 75.39 kB / 0.5705 GB, free: 28.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001215/0.5471, allocations: 1.494 MB / 0.572 GB, free: 27.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.5473, allocations: 27.09 kB / 0.572 GB, free: 27.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.255e-05/0.5474, allocations: 14.33 kB / 0.572 GB, free: 27.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.546e-06/0.5474, allocations: 4.312 kB / 0.572 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007365/0.5481, allocations: 374.1 kB / 0.5724 GB, free: 27.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.5481, allocations: 2.859 kB / 0.5724 GB, free: 27.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001301/0.5483, allocations: 40.84 kB / 0.5724 GB, free: 27.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002717/0.5486, allocations: 71.11 kB / 0.5725 GB, free: 27.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001113/0.5497, allocations: 1.488 MB / 0.574 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000195/0.5499, allocations: 32.09 kB / 0.574 GB, free: 25.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/0.5499, allocations: 11.14 kB / 0.574 GB, free: 25.89 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (31): * Single equations (assignments): 30 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002046/0.5501, allocations: 235.9 kB / 0.5742 GB, free: 25.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.959e-05/0.5502, allocations: 17.09 kB / 0.5742 GB, free: 25.67 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007799/0.551, allocations: 366.2 kB / 0.5746 GB, free: 25.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.551, allocations: 4.219 kB / 0.5746 GB, free: 25.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.551, allocations: 9.453 kB / 0.5746 GB, free: 25.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.551, allocations: 2.484 kB / 0.5746 GB, free: 25.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001562/0.5526, allocations: 0.9719 MB / 0.5756 GB, free: 24.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/0.5526, allocations: 3.031 kB / 0.5756 GB, free: 24.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002632/0.5529, allocations: 61.48 kB / 0.5756 GB, free: 24.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001362/0.553, allocations: 41.94 kB / 0.5757 GB, free: 24.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.262e-05/0.5531, allocations: 7.219 kB / 0.5757 GB, free: 24.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009495/0.554, allocations: 1.4 MB / 0.577 GB, free: 23.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.5541, allocations: 2.219 kB / 0.577 GB, free: 23.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007695/0.5548, allocations: 0.5488 MB / 0.5776 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.555, allocations: 126.3 kB / 0.5777 GB, free: 23.03 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/0.555, allocations: 8.016 kB / 0.5777 GB, free: 23.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/0.5552, allocations: 23 kB / 0.5777 GB, free: 23.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.285e-05/0.5553, allocations: 26.56 kB / 0.5777 GB, free: 23.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.5553, allocations: 12.81 kB / 0.5778 GB, free: 23.01 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001573/0.5555, allocations: 155.1 kB / 0.5779 GB, free: 22.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5555, allocations: 0 / 0.5779 GB, free: 22.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007107/0.5562, allocations: 114.1 kB / 0.578 GB, free: 22.89 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (21): * Single equations (assignments): 20 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001843/0.5564, allocations: 111.7 kB / 0.5781 GB, free: 22.79 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001347/0.5578, allocations: 0.7357 MB / 0.5788 GB, free: 22.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.5578, allocations: 0 / 0.5788 GB, free: 22.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004021/0.5582, allocations: 274.9 kB / 0.5791 GB, free: 22.24 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004868/0.5587, allocations: 34.78 kB / 0.5791 GB, free: 22.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.5598, allocations: 0.6991 MB / 0.5798 GB, free: 21.78 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.5601, allocations: 0.7669 MB / 0.5806 GB, free: 21.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.5603, allocations: 28.28 kB / 0.5806 GB, free: 21.06 MB / 446.1 MB Notification: Performance of SimCode: time 1.282e-06/0.5603, allocations: 0 / 0.5806 GB, free: 21.06 MB / 446.1 MB Notification: Performance of Templates: time 0.008435/0.5687, allocations: 4.18 MB / 0.5847 GB, free: 20.44 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.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 OMCppIBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGridCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGridCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGridCalcHelperMain.o] Error 1