Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(BuildingSystems.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0009776/0.0009774, allocations: 98.48 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.001268/0.001268, allocations: 182.8 kB / 16.92 MB, free: 6.918 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.405/1.405, allocations: 223.2 MB / 240.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001806/0.001806, allocations: 259 kB / 292.3 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9408/0.9408, allocations: 169.5 MB / 0.501 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004901/0.0004901, allocations: 14.84 kB / 0.5993 GB, free: 27.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1918, allocations: 88.55 MB / 0.6858 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.003385/0.1952, allocations: 2.565 MB / 0.6883 GB, free: 12.51 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002569/0.1978, allocations: 1.63 MB / 0.6899 GB, free: 10.88 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.1979, allocations: 0 / 0.6899 GB, free: 10.88 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001664/0.1981, allocations: 33.53 kB / 0.6899 GB, free: 10.85 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004222/0.1985, allocations: 167.4 kB / 0.6901 GB, free: 10.68 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004552/0.199, allocations: 216.4 kB / 0.6903 GB, free: 10.48 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004488/0.1995, allocations: 434.8 kB / 0.6907 GB, free: 10.05 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007275/0.2002, allocations: 389 kB / 0.6911 GB, free: 9.656 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.2004, allocations: 99.62 kB / 0.6911 GB, free: 9.559 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002739/0.2007, allocations: 147.4 kB / 0.6913 GB, free: 9.414 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.67e-05/0.2007, allocations: 12 kB / 0.6913 GB, free: 9.402 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004204/0.2011, allocations: 303.4 kB / 0.6916 GB, free: 9.105 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.349e-05/0.2012, allocations: 71.78 kB / 0.6917 GB, free: 9.035 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.2014, allocations: 133 kB / 0.6918 GB, free: 8.898 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003595/0.2017, allocations: 319.2 kB / 0.6921 GB, free: 8.586 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2017, allocations: 0 / 0.6921 GB, free: 8.586 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2017, allocations: 0 / 0.6921 GB, free: 8.586 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.2018, allocations: 0 / 0.6921 GB, free: 8.586 MB / 494.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.0007699/0.2025, allocations: 0.5029 MB / 0.6926 GB, free: 8.031 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.2026, allocations: 12.03 kB / 0.6926 GB, free: 8.02 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006601/0.2032, allocations: 88.55 kB / 0.6927 GB, free: 7.934 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003052/0.2036, allocations: 257.9 kB / 0.6929 GB, free: 7.645 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.2036, allocations: 12.75 kB / 0.6929 GB, free: 7.633 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.498e-05/0.2036, allocations: 16.38 kB / 0.6929 GB, free: 7.617 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006216/0.2043, allocations: 390.5 kB / 0.6933 GB, free: 7.203 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.2043, allocations: 0 / 0.6933 GB, free: 7.203 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.115e-05/0.2043, allocations: 12 kB / 0.6933 GB, free: 7.191 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-05/0.2044, allocations: 24.31 kB / 0.6934 GB, free: 7.164 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006137/0.205, allocations: 337.3 kB / 0.6937 GB, free: 6.836 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001875/0.2069, allocations: 1.724 MB / 0.6954 GB, free: 4.977 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000718/0.2076, allocations: 337 kB / 0.6957 GB, free: 4.629 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002699/0.2079, allocations: 159.5 kB / 0.6958 GB, free: 4.469 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001553/0.2081, allocations: 93.08 kB / 0.6959 GB, free: 4.359 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.2081, allocations: 30.56 kB / 0.696 GB, free: 4.32 MB / 494.1 MB Notification: Performance of pre-optimization done (n=20): time 2.915e-06/0.2081, allocations: 0 / 0.696 GB, free: 4.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=21): time 0.001398/0.2095, allocations: 0.6191 MB / 0.6966 GB, free: 3.672 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.2096, allocations: 77.11 kB / 0.6966 GB, free: 3.578 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.2098, allocations: 203.8 kB / 0.6968 GB, free: 3.367 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.2098, allocations: 33.7 kB / 0.6969 GB, free: 3.328 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.2099, allocations: 159.8 kB / 0.697 GB, free: 3.168 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.145e-05/0.21, allocations: 74.98 kB / 0.6971 GB, free: 3.094 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-05/0.2101, allocations: 29.7 kB / 0.6971 GB, free: 3.059 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.2102, allocations: 326.8 kB / 0.6974 GB, free: 2.73 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002507/0.2105, allocations: 140.5 kB / 0.6976 GB, free: 2.594 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003019/0.2108, allocations: 215.3 kB / 0.6978 GB, free: 2.348 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005982/0.2114, allocations: 377.9 kB / 0.6981 GB, free: 1.945 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.2114, allocations: 0 / 0.6981 GB, free: 1.945 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000788/0.2122, allocations: 438 kB / 0.6985 GB, free: 1.508 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000119/0.2123, allocations: 170.5 kB / 0.6987 GB, free: 1.301 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.2123, allocations: 4 kB / 0.6987 GB, free: 1.297 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002309/0.2126, allocations: 36.83 kB / 0.6987 GB, free: 1.258 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000313/0.2129, allocations: 79.88 kB / 0.6988 GB, free: 1.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001476/0.2144, allocations: 1.497 MB / 0.7003 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/0.2146, allocations: 23.97 kB / 0.7003 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/0.2146, allocations: 20 kB / 0.7003 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.993e-06/0.2147, allocations: 6.344 kB / 0.7003 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006991/0.2154, allocations: 378.2 kB / 0.7007 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.2154, allocations: 7.875 kB / 0.7007 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00013/0.2155, allocations: 37.02 kB / 0.7007 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002612/0.2158, allocations: 80.22 kB / 0.7008 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001268/0.2171, allocations: 1.477 MB / 0.7022 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001805/0.2173, allocations: 35.97 kB / 0.7023 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/0.2173, allocations: 8 kB / 0.7023 GB, free: 13.34 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002175/0.2175, allocations: 240.9 kB / 0.7025 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.325e-05/0.2176, allocations: 15.81 kB / 0.7025 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007183/0.2183, allocations: 369.9 kB / 0.7029 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.2183, allocations: 4 kB / 0.7029 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.2183, allocations: 0 / 0.7029 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.2183, allocations: 3.938 kB / 0.7029 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001438/0.2198, allocations: 0.9851 MB / 0.7039 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2198, allocations: 0 / 0.7039 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002245/0.22, allocations: 55.95 kB / 0.7039 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001223/0.2202, allocations: 36.77 kB / 0.7039 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/0.2202, allocations: 8 kB / 0.704 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001117/0.2213, allocations: 1.41 MB / 0.7053 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.2213, allocations: 3.938 kB / 0.7053 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007196/0.222, allocations: 0.5471 MB / 0.7059 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.2222, allocations: 128.8 kB / 0.706 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.242e-05/0.2222, allocations: 8 kB / 0.706 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.2224, allocations: 19.97 kB / 0.706 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.986e-05/0.2225, allocations: 19.98 kB / 0.706 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.126e-05/0.2226, allocations: 8 kB / 0.706 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001371/0.2227, allocations: 159 kB / 0.7062 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2227, allocations: 0 / 0.7062 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005823/0.2233, allocations: 108 kB / 0.7063 GB, free: 8.945 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001619/0.2235, allocations: 107.2 kB / 0.7064 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00129/0.2248, allocations: 0.7437 MB / 0.7071 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2248, allocations: 0 / 0.7071 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004032/0.2252, allocations: 287.3 kB / 0.7074 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005024/0.2257, allocations: 40.7 kB / 0.7074 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.2267, allocations: 0.6919 MB / 0.7081 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.2271, allocations: 0.7755 MB / 0.7089 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.88e-05/0.2272, allocations: 27.44 kB / 0.7089 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of SimCode: time 3.81e-07/0.2272, allocations: 0 / 0.7089 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of Templates: time 0.006105/0.2333, allocations: 4.146 MB / 0.713 GB, free: 2.016 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.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 OMCppBuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GeneratorLoadGridCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GeneratorLoadGridCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GeneratorLoadGridCalcHelperMain.o] Error 1