Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|RL.S.1.|RL.S.2.|generator.S.1.|generator.S.2.|grid.sou.S.1.|grid.sou.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|RL.S.1.|RL.S.2.|generator.S.1.|generator.S.2.|grid.sou.S.1.|grid.sou.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008204/0.0008203, 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.0009174/0.0009177, 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 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 223.2 MB / 240.6 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.622/2.622, allocations: 390.4 MB / 0.6662 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003784/0.0003786, allocations: 8 kB / 0.8154 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9357/0.9361, allocations: 142.3 MB / 0.9544 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.004296/0.9404, allocations: 3.105 MB / 0.9575 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002667/0.9431, allocations: 1.614 MB / 0.959 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.9433, allocations: 7.125 kB / 0.959 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001886/0.9435, allocations: 36.3 kB / 0.9591 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004352/0.9439, allocations: 148.6 kB / 0.9592 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005051/0.9445, allocations: 186.5 kB / 0.9594 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004949/0.945, allocations: 419 kB / 0.9598 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008336/0.9458, allocations: 375.9 kB / 0.9602 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002413/0.9461, allocations: 132.2 kB / 0.9603 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003324/0.9464, allocations: 168.1 kB / 0.9604 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.942e-05/0.9465, allocations: 12.38 kB / 0.9605 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003205/0.9468, allocations: 143.5 kB / 0.9606 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.9469, allocations: 83.2 kB / 0.9607 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.187e-05/0.947, allocations: 75.56 kB / 0.9607 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004434/0.9474, allocations: 339.7 kB / 0.9611 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.727e-06/0.9475, allocations: 1.031 kB / 0.9611 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.156e-06/0.9475, allocations: 0 / 0.9611 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.9475, allocations: 0 / 0.9611 GB, free: 3.055 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001229/0.9487, allocations: 0.6128 MB / 0.9617 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.9488, allocations: 9.438 kB / 0.9617 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007128/0.9495, allocations: 98.62 kB / 0.9618 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003343/0.9498, allocations: 272.7 kB / 0.962 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/0.9499, allocations: 16.62 kB / 0.962 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.955e-05/0.95, allocations: 22.05 kB / 0.9621 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008305/0.9508, allocations: 420.7 kB / 0.9625 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.9508, allocations: 4.984 kB / 0.9625 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.132e-05/0.9509, allocations: 18.28 kB / 0.9625 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.464e-05/0.9509, allocations: 25.97 kB / 0.9625 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000906/0.9518, allocations: 419.1 kB / 0.9629 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001691/0.9535, allocations: 1.607 MB / 0.9645 GB, free: 208 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/0.9548, allocations: 492.2 kB / 0.9649 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004201/0.9552, allocations: 201.8 kB / 0.9651 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001569/0.9554, allocations: 88.42 kB / 0.9652 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006096/0.956, allocations: 281.9 kB / 0.9655 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=27): time 1.774e-06/0.956, allocations: 5.125 kB / 0.9655 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28): time 0.00212/0.9581, allocations: 0.7771 MB / 0.9663 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.277e-05/0.9582, allocations: 80.45 kB / 0.9663 GB, free: 15 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003059/0.9585, allocations: 233.8 kB / 0.9666 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.99e-05/0.9585, allocations: 32.27 kB / 0.9666 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.9587, allocations: 157.1 kB / 0.9667 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.517e-05/0.9588, allocations: 95.56 kB / 0.9668 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.379e-05/0.9588, allocations: 5.406 kB / 0.9668 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.959, allocations: 336.8 kB / 0.9672 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004405/0.9594, allocations: 181.5 kB / 0.9673 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004843/0.9599, allocations: 261.9 kB / 0.9676 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004985/0.9604, allocations: 227.2 kB / 0.9678 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.9604, allocations: 0 / 0.9678 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001355/0.9618, allocations: 0.5616 MB / 0.9683 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001846/0.962, allocations: 184.1 kB / 0.9685 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.962, allocations: 3 kB / 0.9685 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002862/0.9623, allocations: 53.25 kB / 0.9686 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004086/0.9627, allocations: 90.34 kB / 0.9687 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001627/0.9644, allocations: 1.499 MB / 0.9701 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003222/0.9647, allocations: 46.61 kB / 0.9702 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.141e-05/0.9648, allocations: 18.16 kB / 0.9702 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.127e-06/0.9648, allocations: 5.406 kB / 0.9702 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001123/0.9659, allocations: 0.5041 MB / 0.9707 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.9659, allocations: 6.047 kB / 0.9707 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001316/0.9661, allocations: 41.52 kB / 0.9707 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003781/0.9665, allocations: 85.12 kB / 0.9708 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001304/0.9678, allocations: 1.49 MB / 0.9723 GB, free: 9.957 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000276/0.9681, allocations: 48.45 kB / 0.9723 GB, free: 9.934 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.265e-05/0.9681, allocations: 14.25 kB / 0.9723 GB, free: 9.93 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * 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.0002672/0.9684, allocations: 238.9 kB / 0.9726 GB, free: 9.707 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.325e-05/0.9684, allocations: 31.27 kB / 0.9726 GB, free: 9.688 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001101/0.9695, allocations: 498.7 kB / 0.9731 GB, free: 9.414 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.9696, allocations: 3.781 kB / 0.9731 GB, free: 9.414 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.9696, allocations: 1 kB / 0.9731 GB, free: 9.414 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.9696, allocations: 1 kB / 0.9731 GB, free: 9.414 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007478/0.9703, allocations: 0.5677 MB / 0.9736 GB, free: 8.902 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.9704, allocations: 1.406 kB / 0.9736 GB, free: 8.902 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003707/0.9707, allocations: 88.05 kB / 0.9737 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001174/0.9709, allocations: 32.83 kB / 0.9737 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.048e-05/0.9709, allocations: 7.906 kB / 0.9737 GB, free: 8.848 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001304/0.9722, allocations: 1.405 MB / 0.9751 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.9722, allocations: 0 / 0.9751 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.9734, allocations: 0.57 MB / 0.9757 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001535/0.9735, allocations: 130.6 kB / 0.9758 GB, free: 6.941 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.226e-05/0.9736, allocations: 7.25 kB / 0.9758 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002922/0.9739, allocations: 43.83 kB / 0.9758 GB, free: 6.918 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.974, allocations: 37.28 kB / 0.9759 GB, free: 6.895 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.981e-05/0.974, allocations: 10.8 kB / 0.9759 GB, free: 6.891 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002109/0.9743, allocations: 171.1 kB / 0.9761 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of sort global known variables: time 5.51e-07/0.9743, allocations: 0 / 0.9761 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000713/0.975, allocations: 129.2 kB / 0.9762 GB, free: 6.754 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00023/0.9752, allocations: 118.2 kB / 0.9763 GB, free: 6.652 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002008/0.9772, allocations: 1.006 MB / 0.9773 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.9772, allocations: 5.094 kB / 0.9773 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006335/0.9779, allocations: 343.7 kB / 0.9776 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004654/0.9784, allocations: 50.16 kB / 0.9777 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.9797, allocations: 0.7679 MB / 0.9784 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/0.9801, allocations: 0.7888 MB / 0.9792 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.9802, allocations: 31.61 kB / 0.9792 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of SimCode: time 5.11e-07/0.9802, allocations: 0 / 0.9792 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of Templates: time 0.00863/0.9889, allocations: 5.099 MB / 0.9842 GB, free: 472 kB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.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_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSourceCalcHelperMain.o OMCppBuildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSourceCalcHelperMain.o] Error 1