Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0007568/0.000757, allocations: 91.84 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.0008608/0.0008607, allocations: 181.5 kB / 16.92 MB, free: 6.652 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.357/1.357, allocations: 223.2 MB / 240.9 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001726/0.001726, allocations: 274 kB / 292.3 MB, free: 1.82 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9769/0.9769, allocations: 169.5 MB / 0.501 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004024/0.0004025, allocations: 13.77 kB / 0.5993 GB, free: 27.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1851, allocations: 88.55 MB / 0.6858 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.01938/0.2045, allocations: 16.01 MB / 0.7014 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01205/0.2166, allocations: 6.221 MB / 0.7075 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001796/0.2184, allocations: 41.84 kB / 0.7075 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001227/0.2197, allocations: 313.7 kB / 0.7078 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002599/0.2223, allocations: 0.7979 MB / 0.7086 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003152/0.2255, allocations: 1.075 MB / 0.7097 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006233/0.2317, allocations: 5.793 MB / 0.7153 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009127/0.2408, allocations: 6.132 MB / 0.7213 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002147/0.243, allocations: 1.132 MB / 0.7224 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002342/0.2454, allocations: 1.725 MB / 0.7241 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002446/0.2456, allocations: 160 kB / 0.7243 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001433/0.2471, allocations: 0.737 MB / 0.725 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001177/0.2482, allocations: 1.228 MB / 0.7262 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001253/0.2495, allocations: 1.246 MB / 0.7274 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004281/0.2538, allocations: 4.648 MB / 0.7319 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.2538, allocations: 0 / 0.7319 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.825e-06/0.2538, allocations: 0 / 0.7319 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001013/0.2539, allocations: 0 / 0.7319 GB, free: 15.61 MB / 0.5294 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.004541/0.2585, allocations: 2.192 MB / 0.7341 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.2585, allocations: 12.03 kB / 0.7341 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003688/0.2622, allocations: 0.7979 MB / 0.7349 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002174/0.2644, allocations: 1.411 MB / 0.7362 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/0.2646, allocations: 193.5 kB / 0.7364 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004/0.265, allocations: 244.4 kB / 0.7367 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007248/0.2722, allocations: 4.584 MB / 0.7411 GB, free: 5.879 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.849e-05/0.2723, allocations: 11.94 kB / 0.7411 GB, free: 5.867 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002776/0.2726, allocations: 112 kB / 0.7412 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000212/0.2728, allocations: 176.2 kB / 0.7414 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006018/0.2789, allocations: 3.831 MB / 0.7452 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02244/0.3013, allocations: 21.44 MB / 0.7661 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002533/0.3039, allocations: 2.261 MB / 0.7683 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009778/0.3049, allocations: 0.7245 MB / 0.769 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.519e-05/0.3049, allocations: 16.86 kB / 0.769 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.017e-05/0.305, allocations: 50.48 kB / 0.7691 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=62): time 2.665e-06/0.305, allocations: 0 / 0.7691 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of matching and sorting (n=68): time 0.00544/0.3104, allocations: 4.183 MB / 0.7732 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/0.3106, allocations: 251.2 kB / 0.7734 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/0.3119, allocations: 1.108 MB / 0.7745 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.458e-05/0.312, allocations: 42.73 kB / 0.7745 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007663/0.3128, allocations: 1.183 MB / 0.7757 GB, free: 112 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.3755/0.6883, allocations: 249.9 kB / 0.7759 GB, free: 87.56 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000304/0.6887, allocations: 127.8 kB / 0.776 GB, free: 87.55 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.6888, allocations: 340.8 kB / 0.7764 GB, free: 87.24 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001251/0.6901, allocations: 0.7041 MB / 0.7771 GB, free: 87.24 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001532/0.6916, allocations: 1.394 MB / 0.7784 GB, free: 86.37 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002458/0.6941, allocations: 2.165 MB / 0.7805 GB, free: 85.27 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.62e-05/0.6941, allocations: 6.844 kB / 0.7805 GB, free: 85.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003199/0.6973, allocations: 2.187 MB / 0.7827 GB, free: 84.49 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003545/0.6977, allocations: 0.7895 MB / 0.7834 GB, free: 83.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.696e-05/0.6977, allocations: 23.44 kB / 0.7835 GB, free: 83.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.294e-05/0.6978, allocations: 36.88 kB / 0.7835 GB, free: 83.42 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/0.6992, allocations: 430 kB / 0.7839 GB, free: 83.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.926e-05/0.6992, allocations: 43.97 kB / 0.784 GB, free: 83.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.7005, allocations: 190.5 kB / 0.7841 GB, free: 83.35 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/0.7006, allocations: 83.98 kB / 0.7842 GB, free: 83.34 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.975e-06/0.7006, allocations: 8.062 kB / 0.7842 GB, free: 83.34 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002218/0.7028, allocations: 1.854 MB / 0.786 GB, free: 82.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.938e-05/0.7029, allocations: 22.84 kB / 0.7861 GB, free: 82.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/0.7029, allocations: 32.91 kB / 0.7861 GB, free: 82.64 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/0.704, allocations: 391.7 kB / 0.7865 GB, free: 82.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.486e-05/0.704, allocations: 51.25 kB / 0.7865 GB, free: 82.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008266/0.7048, allocations: 131.2 kB / 0.7866 GB, free: 82.56 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.588e-05/0.7049, allocations: 83.42 kB / 0.7867 GB, free: 82.55 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00151/0.7064, allocations: 1.129 MB / 0.7878 GB, free: 81.98 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002741/0.7067, allocations: 109 kB / 0.7879 GB, free: 81.98 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001618/0.7083, allocations: 1.095 MB / 0.789 GB, free: 81.55 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.407e-06/0.7084, allocations: 11.75 kB / 0.789 GB, free: 81.55 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.7084, allocations: 0.5156 kB / 0.789 GB, free: 81.55 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/0.7084, allocations: 10.56 kB / 0.789 GB, free: 81.55 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01228/0.7207, allocations: 10.18 MB / 0.799 GB, free: 77.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.43e-05/0.7208, allocations: 14.97 kB / 0.799 GB, free: 77.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006554/0.7214, allocations: 193.2 kB / 0.7991 GB, free: 77.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-05/0.7215, allocations: 23.62 kB / 0.7992 GB, free: 77.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.58e-05/0.7215, allocations: 36.31 kB / 0.7992 GB, free: 77.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.943e-05/0.7216, allocations: 36.11 kB / 0.7992 GB, free: 77.28 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.838e-05/0.7216, allocations: 20.81 kB / 0.7993 GB, free: 77.28 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001831/0.7234, allocations: 2.154 MB / 0.8014 GB, free: 75.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004824/0.7239, allocations: 338.8 kB / 0.8017 GB, free: 75.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/0.7241, allocations: 42.83 kB / 0.8017 GB, free: 75.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009097/0.725, allocations: 93.14 kB / 0.8018 GB, free: 75.48 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.7251, allocations: 95.36 kB / 0.8019 GB, free: 75.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-05/0.7252, allocations: 38.72 kB / 0.8019 GB, free: 75.43 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009382/0.7261, allocations: 0.7682 MB / 0.8027 GB, free: 75.12 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7261, allocations: 3.938 kB / 0.8027 GB, free: 75.11 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003037/0.7292, allocations: 0.7219 MB / 0.8034 GB, free: 75.06 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002154/0.7294, allocations: 156.3 kB / 0.8036 GB, free: 74.93 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003613/0.733, allocations: 2.483 MB / 0.806 GB, free: 74.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.719e-06/0.733, allocations: 2.438 kB / 0.806 GB, free: 74.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007542/0.7338, allocations: 0.5703 MB / 0.8065 GB, free: 73.91 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0038/0.7376, allocations: 253 kB / 0.8068 GB, free: 73.84 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006638/0.7443, allocations: 5.914 MB / 0.8126 GB, free: 69.86 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001497/0.7458, allocations: 2.067 MB / 0.8146 GB, free: 68.46 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003729/0.7462, allocations: 103.8 kB / 0.8147 GB, free: 68.44 MB / 0.5606 GB Notification: Performance of SimCode: time 8.62e-07/0.7462, allocations: 0.9844 kB / 0.8147 GB, free: 68.44 MB / 0.5606 GB Notification: Performance of Templates: time 0.02709/0.7733, allocations: 24.8 MB / 0.8389 GB, free: 46.19 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.makefile make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.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.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSourceCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSourceCalcHelperMain.o] Error 1