Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009141/0.0009145, allocations: 90.78 kB / 16.33 MB, free: 6.871 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.0009229/0.0009232, allocations: 189.2 kB / 17.23 MB, free: 6.699 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.488/1.488, allocations: 223.2 MB / 241.2 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7403/0.7403, allocations: 114.4 MB / 406.7 MB, free: 4.008 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004468/0.0004468, allocations: 10.47 kB / 494.5 MB, free: 8.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2009, allocations: 77.26 MB / 0.5583 GB, free: 10.95 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004553/0.2055, allocations: 2.818 MB / 0.5611 GB, free: 8.125 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003663/0.2093, allocations: 1.739 MB / 0.5628 GB, free: 6.379 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002321/0.2095, allocations: 4 kB / 0.5628 GB, free: 6.375 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002471/0.2098, allocations: 39.64 kB / 0.5628 GB, free: 6.336 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005384/0.2103, allocations: 163.2 kB / 0.563 GB, free: 6.176 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000722/0.2111, allocations: 227.5 kB / 0.5632 GB, free: 5.953 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006068/0.2117, allocations: 474.5 kB / 0.5636 GB, free: 5.488 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008014/0.2125, allocations: 429.3 kB / 0.5641 GB, free: 5.039 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002116/0.2127, allocations: 139.5 kB / 0.5642 GB, free: 4.902 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003738/0.2131, allocations: 187.4 kB / 0.5644 GB, free: 4.719 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.334e-05/0.2131, allocations: 12 kB / 0.5644 GB, free: 4.707 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003122/0.2135, allocations: 135.8 kB / 0.5645 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001216/0.2136, allocations: 103.7 kB / 0.5646 GB, free: 4.473 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.611e-05/0.2137, allocations: 73.52 kB / 0.5647 GB, free: 4.395 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003749/0.214, allocations: 351.3 kB / 0.565 GB, free: 4.051 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.2141, allocations: 0 / 0.565 GB, free: 4.051 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.2141, allocations: 4 kB / 0.565 GB, free: 4.047 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.2141, allocations: 0 / 0.565 GB, free: 4.047 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001107/0.2152, allocations: 0.5399 MB / 0.5655 GB, free: 3.461 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.942e-05/0.2153, allocations: 12.02 kB / 0.5656 GB, free: 3.449 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008513/0.2161, allocations: 99.52 kB / 0.5656 GB, free: 3.352 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004556/0.2166, allocations: 272.7 kB / 0.5659 GB, free: 3.043 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.2166, allocations: 16.56 kB / 0.5659 GB, free: 3.027 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/0.2168, allocations: 39.88 kB / 0.566 GB, free: 2.988 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007167/0.2175, allocations: 445.1 kB / 0.5664 GB, free: 2.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.2175, allocations: 4 kB / 0.5664 GB, free: 2.516 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.28e-05/0.2176, allocations: 11.98 kB / 0.5664 GB, free: 2.504 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001378/0.2177, allocations: 36.53 kB / 0.5664 GB, free: 2.469 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005862/0.2183, allocations: 349.9 kB / 0.5668 GB, free: 2.125 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002771/0.2211, allocations: 2.195 MB / 0.5689 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005039/0.2216, allocations: 282.9 kB / 0.5692 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002753/0.2219, allocations: 165.1 kB / 0.5693 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.2219, allocations: 4.188 kB / 0.5693 GB, free: 15.28 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.351e-05/0.222, allocations: 30.75 kB / 0.5694 GB, free: 15.24 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 2.615e-06/0.222, allocations: 0 / 0.5694 GB, free: 15.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.00218/0.2242, allocations: 1.049 MB / 0.5704 GB, free: 14.13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/0.2242, allocations: 63.27 kB / 0.5705 GB, free: 14.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003304/0.2246, allocations: 248.9 kB / 0.5707 GB, free: 13.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/0.2246, allocations: 25.7 kB / 0.5707 GB, free: 13.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/0.2248, allocations: 195.8 kB / 0.5709 GB, free: 13.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.01e-05/0.2249, allocations: 82.83 kB / 0.571 GB, free: 13.49 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.242e-05/0.2249, allocations: 12 kB / 0.571 GB, free: 13.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.2251, allocations: 334.8 kB / 0.5713 GB, free: 13.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002497/0.2254, allocations: 147.9 kB / 0.5715 GB, free: 13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003213/0.2257, allocations: 238.2 kB / 0.5717 GB, free: 12.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003028/0.226, allocations: 185.3 kB / 0.5719 GB, free: 12.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.226, allocations: 4 kB / 0.5719 GB, free: 12.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001097/0.2271, allocations: 0.5818 MB / 0.5724 GB, free: 11.95 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.2272, allocations: 4 kB / 0.5724 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.2272, allocations: 4 kB / 0.5724 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006731/0.2279, allocations: 194.3 kB / 0.5726 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002817/0.2282, allocations: 59.91 kB / 0.5727 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002844/0.231, allocations: 2.296 MB / 0.5749 GB, free: 9.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002583/0.2313, allocations: 16.02 kB / 0.5749 GB, free: 9.254 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.455e-05/0.2313, allocations: 19.98 kB / 0.575 GB, free: 9.234 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002425/0.2316, allocations: 165.2 kB / 0.5751 GB, free: 9.066 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.07e-05/0.2317, allocations: 31.77 kB / 0.5751 GB, free: 9.035 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005858/0.2322, allocations: 347.6 kB / 0.5755 GB, free: 8.691 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.2323, allocations: 4 kB / 0.5755 GB, free: 8.688 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.2323, allocations: 112 / 0.5755 GB, free: 8.688 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2323, allocations: 3.938 kB / 0.5755 GB, free: 8.684 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.2333, allocations: 0.8176 MB / 0.5763 GB, free: 7.805 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2334, allocations: 0 / 0.5763 GB, free: 7.805 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003696/0.2337, allocations: 79.94 kB / 0.5764 GB, free: 7.727 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.2337, allocations: 0 / 0.5764 GB, free: 7.727 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/0.2338, allocations: 12 kB / 0.5764 GB, free: 7.715 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.2338, allocations: 0 / 0.5764 GB, free: 7.715 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.2338, allocations: 3.984 kB / 0.5764 GB, free: 7.711 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008233/0.2346, allocations: 0.6073 MB / 0.577 GB, free: 7.082 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.2348, allocations: 132.8 kB / 0.5771 GB, free: 6.934 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.534e-05/0.2348, allocations: 11.98 kB / 0.5771 GB, free: 6.922 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.235, allocations: 7.984 kB / 0.5771 GB, free: 6.914 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/0.2351, allocations: 19.94 kB / 0.5771 GB, free: 6.895 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.2351, allocations: 8.094 kB / 0.5771 GB, free: 6.887 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001746/0.2353, allocations: 176.5 kB / 0.5773 GB, free: 6.719 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2353, allocations: 0 / 0.5773 GB, free: 6.719 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004153/0.2357, allocations: 84 kB / 0.5774 GB, free: 6.637 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[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 (24): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001842/0.2359, allocations: 119.8 kB / 0.5775 GB, free: 6.508 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001008/0.2369, allocations: 0.5297 MB / 0.578 GB, free: 5.965 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.2369, allocations: 0.625 kB / 0.578 GB, free: 5.965 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000323/0.2373, allocations: 145.8 kB / 0.5782 GB, free: 5.824 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004827/0.2378, allocations: 48.41 kB / 0.5782 GB, free: 5.777 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.2394, allocations: 1.062 MB / 0.5792 GB, free: 4.676 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/0.2399, allocations: 0.7912 MB / 0.58 GB, free: 3.855 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.948e-05/0.24, allocations: 31.42 kB / 0.58 GB, free: 3.824 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.24, allocations: 0 / 0.58 GB, free: 3.824 MB / 446.1 MB Notification: Performance of Templates: time 0.3314/0.5714, allocations: 4.381 MB / 0.5843 GB, free: 31.49 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.DynamicLoadsCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoadsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoadsCalcHelperMain.o] Error 1