Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.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.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V.1.|sen.V.2.|sen.V.3.|sen_N.V.1.|sen_N.V.2.|sen_N.V.3.|sen.theta.1.|sen.theta.2.|sen.theta.3.|sen_N.theta.1.|sen_N.theta.2.|sen_N.theta.3.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V.1.|sen.V.2.|sen.V.3.|sen_N.V.1.|sen_N.V.2.|sen_N.V.3.|sen.theta.1.|sen.theta.2.|sen.theta.3.|sen_N.theta.1.|sen_N.theta.2.|sen_N.theta.3.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.00127, allocations: 99.52 kB / 15.71 MB, free: 452 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.001445/0.001445, allocations: 174.9 kB / 16.58 MB, free: 6.422 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.498/1.498, allocations: 223.3 MB / 240.6 MB, free: 5.336 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.505/2.505, allocations: 390.5 MB / 0.6662 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000355/0.0003551, allocations: 8 kB / 0.8154 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8886/0.889, allocations: 142.3 MB / 0.9544 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.01791/0.9069, allocations: 15.15 MB / 0.9692 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01209/0.9191, allocations: 5.919 MB / 0.975 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002513/0.9216, allocations: 41.84 kB / 0.975 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001103/0.9228, allocations: 309.1 kB / 0.9753 GB, free: 7.82 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002401/0.9252, allocations: 0.6539 MB / 0.976 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003426/0.9286, allocations: 0.8298 MB / 0.9768 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.007312/0.9359, allocations: 4.432 MB / 0.9811 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008929/0.9449, allocations: 5.247 MB / 0.9862 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002893/0.9478, allocations: 1.156 MB / 0.9874 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002983/0.9508, allocations: 1.679 MB / 0.989 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0003208/0.9512, allocations: 160 kB / 0.9892 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001272/0.9524, allocations: 395.6 kB / 0.9895 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001448/0.9539, allocations: 1.22 MB / 0.9907 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0006751/0.9546, allocations: 0.5005 MB / 0.9912 GB, free: 10.37 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.004611/0.9592, allocations: 4.646 MB / 0.9957 GB, free: 5.715 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.9592, allocations: 0 / 0.9957 GB, free: 5.715 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.575e-06/0.9592, allocations: 0 / 0.9957 GB, free: 5.715 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001444/0.9594, allocations: 0 / 0.9957 GB, free: 5.715 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.005191/0.9646, allocations: 2.219 MB / 0.9979 GB, free: 3.438 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.9647, allocations: 8.031 kB / 0.9979 GB, free: 3.43 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003824/0.9685, allocations: 0.7969 MB / 0.9987 GB, free: 2.629 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002705/0.9712, allocations: 1.383 MB / 1 GB, free: 1.199 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001571/0.9714, allocations: 193.2 kB / 1 GB, free: 1.008 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004312/0.9718, allocations: 259.9 kB / 1 GB, free: 0.7539 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008131/0.98, allocations: 4.561 MB / 1.005 GB, free: 11.99 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.007e-05/0.9801, allocations: 7.938 kB / 1.005 GB, free: 11.98 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002806/0.9803, allocations: 112 kB / 1.005 GB, free: 11.87 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000214/0.9806, allocations: 180.3 kB / 1.005 GB, free: 11.7 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006832/0.9874, allocations: 3.809 MB / 1.009 GB, free: 7.879 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02544/1.013, allocations: 21.43 MB / 1.03 GB, free: 0.5469 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002822/1.016, allocations: 2.247 MB / 1.032 GB, free: 14.01 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001045/1.017, allocations: 0.7164 MB / 1.033 GB, free: 13.27 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 4.638e-05/1.017, allocations: 16 kB / 1.033 GB, free: 13.25 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/1.017, allocations: 46.44 kB / 1.033 GB, free: 13.2 MB / 0.795 GB Notification: Performance of pre-optimization done (n=62): time 3.055e-06/1.017, allocations: 4 kB / 1.033 GB, free: 13.2 MB / 0.795 GB Notification: Performance of matching and sorting (n=68): time 0.006097/1.023, allocations: 4.184 MB / 1.037 GB, free: 8.965 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001365/1.023, allocations: 247.3 kB / 1.037 GB, free: 8.668 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00158/1.025, allocations: 1.104 MB / 1.038 GB, free: 7.539 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.165e-05/1.025, allocations: 37.64 kB / 1.038 GB, free: 7.496 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008139/1.026, allocations: 1.195 MB / 1.039 GB, free: 6.281 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002397/1.026, allocations: 253.1 kB / 1.04 GB, free: 6.031 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.398e-05/1.026, allocations: 36 kB / 1.04 GB, free: 5.996 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001997/1.026, allocations: 406.7 kB / 1.04 GB, free: 5.59 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/1.027, allocations: 0.6948 MB / 1.041 GB, free: 4.895 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001406/1.029, allocations: 1.387 MB / 1.042 GB, free: 3.172 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/1.03, allocations: 0.9905 MB / 1.043 GB, free: 2.184 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.858e-06/1.03, allocations: 7.938 kB / 1.043 GB, free: 2.176 MB / 0.795 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003209/1.033, allocations: 2.168 MB / 1.045 GB, free: 0 / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006399/1.034, allocations: 0.7787 MB / 1.046 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-05/1.034, allocations: 27.95 kB / 1.046 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.679e-05/1.034, allocations: 39.98 kB / 1.046 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/1.035, allocations: 427.2 kB / 1.046 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.381e-05/1.035, allocations: 51.78 kB / 1.047 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/1.037, allocations: 195.3 kB / 1.047 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/1.037, allocations: 87.97 kB / 1.047 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/1.037, allocations: 4.938 kB / 1.047 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002797/1.04, allocations: 1.835 MB / 1.049 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.574e-05/1.04, allocations: 24 kB / 1.049 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.904e-05/1.04, allocations: 36.84 kB / 1.049 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/1.041, allocations: 391.3 kB / 1.049 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.816e-05/1.041, allocations: 47.86 kB / 1.049 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/1.042, allocations: 135.5 kB / 1.049 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/1.042, allocations: 83.98 kB / 1.049 GB, free: 11.53 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (192): * Single equations (assignments): 192 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00247/1.045, allocations: 1.136 MB / 1.05 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004393/1.045, allocations: 102.8 kB / 1.05 GB, free: 10.28 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001895/1.047, allocations: 1.099 MB / 1.052 GB, free: 9.176 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/1.047, allocations: 8 kB / 1.052 GB, free: 9.168 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.658e-05/1.047, allocations: 4 kB / 1.052 GB, free: 9.164 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/1.047, allocations: 3.984 kB / 1.052 GB, free: 9.16 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01582/1.063, allocations: 10.18 MB / 1.061 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.27e-05/1.063, allocations: 16 kB / 1.062 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000646/1.063, allocations: 187.8 kB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.752e-05/1.064, allocations: 24.77 kB / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.135e-05/1.064, allocations: 32 kB / 1.062 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.578e-05/1.064, allocations: 35.86 kB / 1.062 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-05/1.064, allocations: 31.81 kB / 1.062 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002454/1.066, allocations: 2.15 MB / 1.064 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006358/1.067, allocations: 339.5 kB / 1.064 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001429/1.067, allocations: 31.98 kB / 1.064 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009133/1.068, allocations: 91.88 kB / 1.064 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/1.068, allocations: 107.5 kB / 1.064 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.873e-05/1.068, allocations: 40 kB / 1.064 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001155/1.069, allocations: 0.7542 MB / 1.065 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.71e-07/1.069, allocations: 0 / 1.065 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003185/1.072, allocations: 0.7266 MB / 1.066 GB, free: 9.922 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * 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 (74): * Single equations (assignments): 74 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000261/1.073, allocations: 158.8 kB / 1.066 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003766/1.076, allocations: 2.456 MB / 1.068 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/1.076, allocations: 5 kB / 1.068 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007527/1.077, allocations: 0.5732 MB / 1.069 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00195/1.079, allocations: 239.5 kB / 1.069 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009395/1.089, allocations: 5.717 MB / 1.075 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002195/1.091, allocations: 2.067 MB / 1.077 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000521/1.091, allocations: 103.4 kB / 1.077 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of SimCode: time 1.903e-06/1.091, allocations: 0 / 1.077 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of Templates: time 0.04409/1.135, allocations: 24.91 MB / 1.101 GB, free: 5.473 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.makefile make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.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.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSourceCalcHelperMain.o OMCppBuildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSourceCalcHelperMain.o] Error 1