Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 96.11 kB / 16.33 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 189.4 kB / 17.23 MB, free: 5.887 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.456/1.456, allocations: 223.3 MB / 241.2 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7195/0.7195, allocations: 114.3 MB / 406.7 MB, free: 4.004 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003695/0.0003696, allocations: 8.219 kB / 494.5 MB, free: 8.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1902, allocations: 77.27 MB / 0.5583 GB, free: 10.96 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.006275/0.1965, allocations: 4.822 MB / 0.563 GB, free: 6.125 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004607/0.2011, allocations: 2.456 MB / 0.5654 GB, free: 3.66 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000435/0.2016, allocations: 23.88 kB / 0.5655 GB, free: 3.637 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003327/0.2019, allocations: 99.14 kB / 0.5656 GB, free: 3.539 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000944/0.2029, allocations: 338.2 kB / 0.5659 GB, free: 3.207 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008856/0.2038, allocations: 294 kB / 0.5662 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001242/0.205, allocations: 1.033 MB / 0.5672 GB, free: 1.887 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001333/0.2064, allocations: 0.7516 MB / 0.5679 GB, free: 1.102 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005786/0.207, allocations: 310.7 kB / 0.5682 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000589/0.2076, allocations: 378.5 kB / 0.5686 GB, free: 436 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.208e-05/0.2076, allocations: 24 kB / 0.5686 GB, free: 412 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005725/0.2082, allocations: 187.7 kB / 0.5688 GB, free: 224 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002647/0.2085, allocations: 219.4 kB / 0.569 GB, free: 4 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001894/0.2087, allocations: 145.4 kB / 0.5691 GB, free: 15.85 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000839/0.2095, allocations: 0.7209 MB / 0.5698 GB, free: 15.13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.2095, allocations: 3.984 kB / 0.5698 GB, free: 15.13 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.2095, allocations: 4 kB / 0.5698 GB, free: 15.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.2096, allocations: 4 kB / 0.5698 GB, free: 15.12 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001595/0.2112, allocations: 0.845 MB / 0.5706 GB, free: 14.23 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.2112, allocations: 12.02 kB / 0.5707 GB, free: 14.21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001319/0.2125, allocations: 202.9 kB / 0.5709 GB, free: 14.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008292/0.2134, allocations: 469.5 kB / 0.5713 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.728e-05/0.2134, allocations: 40.94 kB / 0.5713 GB, free: 13.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/0.2136, allocations: 59.97 kB / 0.5714 GB, free: 13.42 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.2148, allocations: 0.8157 MB / 0.5722 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/0.2149, allocations: 3.938 kB / 0.5722 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-05/0.2149, allocations: 31.97 kB / 0.5722 GB, free: 12.49 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001712/0.2151, allocations: 60.95 kB / 0.5723 GB, free: 12.43 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008845/0.216, allocations: 0.5658 MB / 0.5728 GB, free: 11.86 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004821/0.2208, allocations: 4.593 MB / 0.5773 GB, free: 6.922 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005068/0.2214, allocations: 299.3 kB / 0.5776 GB, free: 6.621 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003484/0.2217, allocations: 225.3 kB / 0.5778 GB, free: 6.398 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.281e-05/0.2218, allocations: 4.281 kB / 0.5778 GB, free: 6.395 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.2218, allocations: 38.8 kB / 0.5779 GB, free: 6.348 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 4.288e-06/0.2218, allocations: 3.984 kB / 0.5779 GB, free: 6.344 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.005342/0.2272, allocations: 2.631 MB / 0.5804 GB, free: 3.586 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.2272, allocations: 59.41 kB / 0.5805 GB, free: 3.516 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000501/0.2277, allocations: 454 kB / 0.5809 GB, free: 3.062 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.581e-05/0.2278, allocations: 29.7 kB / 0.581 GB, free: 3.027 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002598/0.2281, allocations: 343.6 kB / 0.5813 GB, free: 2.684 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.2282, allocations: 149.9 kB / 0.5814 GB, free: 2.535 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-05/0.2282, allocations: 8 kB / 0.5814 GB, free: 2.527 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001932/0.2284, allocations: 366.8 kB / 0.5818 GB, free: 2.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003527/0.2288, allocations: 233 kB / 0.582 GB, free: 1.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004803/0.2293, allocations: 410.3 kB / 0.5824 GB, free: 1.457 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004223/0.2297, allocations: 293.7 kB / 0.5827 GB, free: 1.172 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2297, allocations: 4 kB / 0.5827 GB, free: 1.168 MB / 446.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001568/0.2313, allocations: 0.9115 MB / 0.5836 GB, free: 248 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.2313, allocations: 4 kB / 0.5836 GB, free: 244 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.2313, allocations: 8.656 kB / 0.5836 GB, free: 236 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3871/0.6185, allocations: 227.8 kB / 0.5838 GB, free: 31.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007363/0.6193, allocations: 112.6 kB / 0.5839 GB, free: 31.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005833/0.6251, allocations: 4.927 MB / 0.5887 GB, free: 28.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006816/0.6258, allocations: 31.78 kB / 0.5888 GB, free: 28.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.246e-05/0.6259, allocations: 24.11 kB / 0.5888 GB, free: 28.09 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004225/0.6263, allocations: 225.4 kB / 0.589 GB, free: 27.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001654/0.6265, allocations: 57.69 kB / 0.589 GB, free: 27.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001855/0.6284, allocations: 0.7702 MB / 0.5898 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.6284, allocations: 4.469 kB / 0.5898 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.6284, allocations: 1.844 kB / 0.5898 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.6284, allocations: 9.859 kB / 0.5898 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0026/0.631, allocations: 1.49 MB / 0.5913 GB, free: 27.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.631, allocations: 3.953 kB / 0.5913 GB, free: 27.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003751/0.6314, allocations: 70.55 kB / 0.5913 GB, free: 27.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006917/0.6321, allocations: 208.8 kB / 0.5915 GB, free: 27.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.447e-05/0.6322, allocations: 9.375 kB / 0.5915 GB, free: 27.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004121/0.6363, allocations: 4.866 MB / 0.5963 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.6363, allocations: 9.719 kB / 0.5963 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001872/0.6382, allocations: 1.124 MB / 0.5974 GB, free: 22.38 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000239/0.6384, allocations: 171.3 kB / 0.5976 GB, free: 22.24 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.958e-05/0.6385, allocations: 9.766 kB / 0.5976 GB, free: 22.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003/0.6388, allocations: 27.66 kB / 0.5976 GB, free: 22.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.6389, allocations: 39.12 kB / 0.5976 GB, free: 22.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.09e-05/0.639, allocations: 14.12 kB / 0.5977 GB, free: 22.22 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004534/0.6394, allocations: 308.8 kB / 0.5979 GB, free: 22.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6394, allocations: 0.7188 kB / 0.5979 GB, free: 22.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009442/0.6404, allocations: 169.8 kB / 0.5981 GB, free: 22.05 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001473/0.6406, allocations: 114.2 kB / 0.5982 GB, free: 21.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001588/0.6421, allocations: 1.01 MB / 0.5992 GB, free: 21.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.6422, allocations: 1 kB / 0.5992 GB, free: 21.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009136/0.6431, allocations: 0.6839 MB / 0.5999 GB, free: 20.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008484/0.6439, allocations: 166.3 kB / 0.6 GB, free: 20.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002201/0.6462, allocations: 1.544 MB / 0.6015 GB, free: 19.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005594/0.6467, allocations: 0.9512 MB / 0.6025 GB, free: 19.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.6469, allocations: 39.78 kB / 0.6025 GB, free: 19.18 MB / 446.1 MB Notification: Performance of SimCode: time 2.635e-06/0.6469, allocations: 0 / 0.6025 GB, free: 19.18 MB / 446.1 MB Notification: Performance of Templates: time 0.02169/0.6686, allocations: 14.7 MB / 0.6169 GB, free: 13.61 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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 OMCppIBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RLCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RLCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RLCalcHelperMain.o] Error 1