Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007427/0.0007428, allocations: 98.56 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.0007801/0.0007801, allocations: 181.6 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.355/1.355, allocations: 223.2 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00174/0.00174, allocations: 274.7 kB / 292.3 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9275/0.9275, allocations: 169.5 MB / 0.501 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005372/0.0005372, allocations: 17.12 kB / 0.5993 GB, free: 27.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1754, allocations: 88.55 MB / 0.6858 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.004644/0.1801, allocations: 3.913 MB / 0.6896 GB, free: 11.14 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003716/0.1838, allocations: 2.36 MB / 0.6919 GB, free: 8.777 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000387/0.1843, allocations: 11.88 kB / 0.6919 GB, free: 8.766 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002886/0.1846, allocations: 67.98 kB / 0.692 GB, free: 8.699 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009437/0.1855, allocations: 349.9 kB / 0.6923 GB, free: 8.359 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000801/0.1863, allocations: 293.6 kB / 0.6926 GB, free: 8.078 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00096/0.1873, allocations: 0.8621 MB / 0.6934 GB, free: 7.215 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008766/0.1882, allocations: 467.6 kB / 0.6939 GB, free: 6.746 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003838/0.1886, allocations: 219.6 kB / 0.6941 GB, free: 6.531 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004066/0.189, allocations: 263.7 kB / 0.6943 GB, free: 6.273 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.052e-05/0.1891, allocations: 16.53 kB / 0.6944 GB, free: 6.258 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008454/0.1899, allocations: 0.5223 MB / 0.6949 GB, free: 5.734 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00015/0.1901, allocations: 128.6 kB / 0.695 GB, free: 5.609 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002457/0.1903, allocations: 244.4 kB / 0.6952 GB, free: 5.363 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006587/0.191, allocations: 0.5503 MB / 0.6958 GB, free: 4.812 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.191, allocations: 0 / 0.6958 GB, free: 4.812 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.191, allocations: 0 / 0.6958 GB, free: 4.812 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.359e-05/0.191, allocations: 4 kB / 0.6958 GB, free: 4.809 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001093/0.1921, allocations: 0.6938 MB / 0.6964 GB, free: 4.066 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.1922, allocations: 12.03 kB / 0.6965 GB, free: 4.055 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001337/0.1935, allocations: 184.1 kB / 0.6966 GB, free: 3.875 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005235/0.1941, allocations: 408.4 kB / 0.697 GB, free: 3.438 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.1941, allocations: 33.31 kB / 0.6971 GB, free: 3.406 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.545e-05/0.1942, allocations: 36.36 kB / 0.6971 GB, free: 3.371 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008409/0.195, allocations: 0.6549 MB / 0.6977 GB, free: 2.625 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.195, allocations: 3.906 kB / 0.6977 GB, free: 2.621 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.581e-05/0.1951, allocations: 16 kB / 0.6977 GB, free: 2.605 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.811e-05/0.1952, allocations: 63.83 kB / 0.6978 GB, free: 2.543 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006913/0.1959, allocations: 496 kB / 0.6983 GB, free: 2.059 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003066/0.199, allocations: 3.786 MB / 0.702 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/0.2006, allocations: 0.6321 MB / 0.7026 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002256/0.2009, allocations: 182.5 kB / 0.7028 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.656e-05/0.2009, allocations: 7.938 kB / 0.7028 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.2009, allocations: 38.56 kB / 0.7028 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=30): time 1.543e-06/0.2009, allocations: 0 / 0.7028 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.002171/0.2031, allocations: 1.285 MB / 0.7041 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/0.2032, allocations: 106.8 kB / 0.7042 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003954/0.2036, allocations: 397.8 kB / 0.7046 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.2036, allocations: 29.7 kB / 0.7046 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/0.2038, allocations: 291.4 kB / 0.7049 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.15e-05/0.2039, allocations: 110.4 kB / 0.705 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-05/0.204, allocations: 45.69 kB / 0.705 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.2041, allocations: 354.8 kB / 0.7053 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002564/0.2044, allocations: 177 kB / 0.7055 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003736/0.2048, allocations: 375.2 kB / 0.7059 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007026/0.2055, allocations: 0.5912 MB / 0.7065 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.2055, allocations: 7.938 kB / 0.7065 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001053/0.2065, allocations: 0.6716 MB / 0.7071 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.2066, allocations: 8.281 kB / 0.7071 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.2066, allocations: 7.938 kB / 0.7071 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003543/0.2069, allocations: 102.4 kB / 0.7072 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003908/0.2073, allocations: 115.8 kB / 0.7073 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003315/0.2107, allocations: 4.036 MB / 0.7113 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003032/0.211, allocations: 27.98 kB / 0.7113 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.718e-05/0.211, allocations: 27.98 kB / 0.7113 GB, free: 3.648 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002283/0.2113, allocations: 200.6 kB / 0.7115 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.2114, allocations: 47.44 kB / 0.7116 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008721/0.2123, allocations: 0.5108 MB / 0.7121 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.2123, allocations: 4 kB / 0.7121 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.2123, allocations: 4 kB / 0.7121 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.2123, allocations: 4 kB / 0.7121 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001684/0.214, allocations: 1.287 MB / 0.7133 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.214, allocations: 0 / 0.7133 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002401/0.2142, allocations: 63.91 kB / 0.7134 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002419/0.2145, allocations: 94.44 kB / 0.7135 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/0.2145, allocations: 8.281 kB / 0.7135 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00295/0.2175, allocations: 4.044 MB / 0.7174 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.2175, allocations: 4 kB / 0.7174 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000894/0.2184, allocations: 0.7751 MB / 0.7182 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001635/0.2186, allocations: 156.8 kB / 0.7184 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.016e-05/0.2186, allocations: 11.94 kB / 0.7184 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003056/0.2189, allocations: 23.97 kB / 0.7184 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.304e-05/0.219, allocations: 39.84 kB / 0.7184 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.219, allocations: 8 kB / 0.7184 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002809/0.2193, allocations: 283.1 kB / 0.7187 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2193, allocations: 0 / 0.7187 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006206/0.22, allocations: 120 kB / 0.7188 GB, free: 11.38 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (33): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001505/0.2201, allocations: 127.8 kB / 0.7189 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001145/0.2213, allocations: 0.7982 MB / 0.7197 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2213, allocations: 0 / 0.7197 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006681/0.222, allocations: 0.5473 MB / 0.7203 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.223, allocations: 134.4 kB / 0.7204 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.2245, allocations: 1.134 MB / 0.7215 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004579/0.2249, allocations: 0.8625 MB / 0.7223 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.2251, allocations: 43.44 kB / 0.7224 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of SimCode: time 5.71e-07/0.2251, allocations: 0 / 0.7224 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of Templates: time 0.01435/0.2394, allocations: 11.03 MB / 0.7331 GB, free: 12.55 MB / 0.5294 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.Loads.Examples.ThreePhasesCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhasesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhasesCalcHelperMain.o] Error 1