Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008139/0.000814, allocations: 92.67 kB / 16.33 MB, free: 6.336 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.0009119/0.0009119, allocations: 188.9 kB / 17.22 MB, free: 6.242 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.474/1.474, allocations: 223.3 MB / 241.2 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7261/0.7261, allocations: 114.4 MB / 406.7 MB, free: 3.957 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003817/0.0003817, allocations: 12 kB / 494.5 MB, free: 7.996 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1875, allocations: 77.26 MB / 0.5583 GB, free: 10.94 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005131/0.1927, allocations: 4.241 MB / 0.5625 GB, free: 6.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003866/0.1966, allocations: 2.293 MB / 0.5647 GB, free: 4.379 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003495/0.1969, allocations: 19.81 kB / 0.5647 GB, free: 4.359 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000272/0.1972, allocations: 87.22 kB / 0.5648 GB, free: 4.273 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008797/0.1981, allocations: 358.1 kB / 0.5652 GB, free: 3.922 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007282/0.1989, allocations: 278.2 kB / 0.5654 GB, free: 3.652 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009832/0.1998, allocations: 0.9679 MB / 0.5664 GB, free: 2.684 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000719/0.2006, allocations: 420.3 kB / 0.5668 GB, free: 2.246 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003779/0.201, allocations: 294.6 kB / 0.567 GB, free: 1.957 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004232/0.2014, allocations: 322.6 kB / 0.5674 GB, free: 1.641 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.468e-05/0.2015, allocations: 20 kB / 0.5674 GB, free: 1.621 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004564/0.2019, allocations: 199.7 kB / 0.5676 GB, free: 1.426 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001744/0.2021, allocations: 163.4 kB / 0.5677 GB, free: 1.266 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001433/0.2023, allocations: 133.4 kB / 0.5678 GB, free: 1.129 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006875/0.203, allocations: 0.6431 MB / 0.5685 GB, free: 496 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.203, allocations: 0 / 0.5685 GB, free: 496 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.203, allocations: 3.938 kB / 0.5685 GB, free: 492 kB / 430.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.203, allocations: 3.938 kB / 0.5685 GB, free: 488 kB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001194/0.2042, allocations: 0.8335 MB / 0.5693 GB, free: 15.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.2042, allocations: 16.02 kB / 0.5693 GB, free: 15.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001126/0.2054, allocations: 195 kB / 0.5695 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006318/0.206, allocations: 485.2 kB / 0.57 GB, free: 14.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.059e-05/0.2061, allocations: 29 kB / 0.57 GB, free: 14.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.727e-05/0.2061, allocations: 43.98 kB / 0.57 GB, free: 14.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.2072, allocations: 0.8403 MB / 0.5708 GB, free: 13.83 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.2072, allocations: 11.89 kB / 0.5709 GB, free: 13.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.955e-05/0.2073, allocations: 31.98 kB / 0.5709 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.105e-05/0.2074, allocations: 72.89 kB / 0.571 GB, free: 13.71 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008211/0.2082, allocations: 0.5577 MB / 0.5715 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004527/0.2128, allocations: 5.643 MB / 0.577 GB, free: 7.121 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006384/0.2134, allocations: 454.3 kB / 0.5774 GB, free: 6.668 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003095/0.2137, allocations: 224.7 kB / 0.5777 GB, free: 6.445 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.2138, allocations: 0 / 0.5777 GB, free: 6.445 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.2138, allocations: 42.5 kB / 0.5777 GB, free: 6.395 MB / 446.1 MB Notification: Performance of pre-optimization done (n=32): time 2.875e-06/0.2138, allocations: 3.984 kB / 0.5777 GB, free: 6.391 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.002609/0.2164, allocations: 1.5 MB / 0.5792 GB, free: 4.773 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.191e-05/0.2165, allocations: 59.62 kB / 0.5792 GB, free: 4.703 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000522/0.2171, allocations: 498.9 kB / 0.5797 GB, free: 4.203 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.088e-05/0.2171, allocations: 33.7 kB / 0.5797 GB, free: 4.164 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002618/0.2174, allocations: 350.8 kB / 0.5801 GB, free: 3.816 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.2175, allocations: 118.3 kB / 0.5802 GB, free: 3.699 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.366e-05/0.2175, allocations: 8 kB / 0.5802 GB, free: 3.691 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.2177, allocations: 370.8 kB / 0.5805 GB, free: 3.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003029/0.218, allocations: 193.2 kB / 0.5807 GB, free: 3.129 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004664/0.2185, allocations: 447.2 kB / 0.5812 GB, free: 2.578 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004168/0.2189, allocations: 263.7 kB / 0.5814 GB, free: 2.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.2189, allocations: 4 kB / 0.5814 GB, free: 2.316 MB / 446.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001249/0.2202, allocations: 0.7973 MB / 0.5822 GB, free: 1.496 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/0.2202, allocations: 12.95 kB / 0.5822 GB, free: 1.484 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.2202, allocations: 8 kB / 0.5822 GB, free: 1.477 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004665/0.2207, allocations: 160.1 kB / 0.5824 GB, free: 1.305 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00043/0.2212, allocations: 115.8 kB / 0.5825 GB, free: 1.191 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3974/0.6186, allocations: 4.034 MB / 0.5864 GB, free: 28.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000508/0.6192, allocations: 33.53 kB / 0.5864 GB, free: 28.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.628e-05/0.6192, allocations: 32.84 kB / 0.5865 GB, free: 28.37 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003231/0.6196, allocations: 211.2 kB / 0.5867 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.7e-05/0.6197, allocations: 61.03 kB / 0.5867 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001235/0.6209, allocations: 0.5975 MB / 0.5873 GB, free: 28.17 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-06/0.6209, allocations: 4.312 kB / 0.5873 GB, free: 28.17 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.6209, allocations: 4.469 kB / 0.5873 GB, free: 28.17 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.6209, allocations: 1.734 kB / 0.5873 GB, free: 28.17 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002049/0.623, allocations: 1.25 MB / 0.5885 GB, free: 27.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/0.623, allocations: 2.281 kB / 0.5886 GB, free: 27.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002489/0.6233, allocations: 57.31 kB / 0.5886 GB, free: 27.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004258/0.6237, allocations: 140 kB / 0.5887 GB, free: 27.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.801e-05/0.6237, allocations: 13.3 kB / 0.5888 GB, free: 27.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002723/0.6265, allocations: 4.035 MB / 0.5927 GB, free: 23.96 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.6265, allocations: 3.391 kB / 0.5927 GB, free: 23.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/0.6276, allocations: 0.7049 MB / 0.5934 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002078/0.6279, allocations: 172.6 kB / 0.5935 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.325e-05/0.6279, allocations: 13.2 kB / 0.5936 GB, free: 23.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002358/0.6282, allocations: 22.41 kB / 0.5936 GB, free: 23.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.214e-05/0.6283, allocations: 27.62 kB / 0.5936 GB, free: 23.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.466e-05/0.6283, allocations: 11.5 kB / 0.5936 GB, free: 23.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004457/0.6287, allocations: 329.7 kB / 0.5939 GB, free: 23.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.021e-06/0.6287, allocations: 1.281 kB / 0.5939 GB, free: 23.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007357/0.6295, allocations: 145.3 kB / 0.5941 GB, free: 23.38 MB / 446.1 MB 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000153/0.6296, allocations: 113.4 kB / 0.5942 GB, free: 23.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001411/0.6311, allocations: 1.021 MB / 0.5952 GB, free: 22.58 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.6311, allocations: 0.75 kB / 0.5952 GB, free: 22.58 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007467/0.6318, allocations: 0.741 MB / 0.5959 GB, free: 21.96 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009128/0.6328, allocations: 190.5 kB / 0.5961 GB, free: 21.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/0.6345, allocations: 1.268 MB / 0.5973 GB, free: 21.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004844/0.635, allocations: 0.9071 MB / 0.5982 GB, free: 20.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.6351, allocations: 42.33 kB / 0.5983 GB, free: 20.4 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.6351, allocations: 0 / 0.5983 GB, free: 20.4 MB / 446.1 MB Notification: Performance of Templates: time 0.02692/0.6621, allocations: 17.93 MB / 0.6158 GB, free: 13.64 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.Loads.Examples.TestImpedanceCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedanceCalcHelperMain.o] Error 1