Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.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.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") translateModel(IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007882/0.0007882, allocations: 90.84 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.0009059/0.0009059, allocations: 188.4 kB / 17.22 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.462/1.462, allocations: 223.3 MB / 241.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7252/0.7252, allocations: 114.4 MB / 406.7 MB, free: 3.984 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003325/0.0003325, allocations: 10.16 kB / 494.5 MB, free: 7.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1743, allocations: 77.26 MB / 0.5583 GB, free: 10.92 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.003742/0.1781, allocations: 2.592 MB / 0.5609 GB, free: 8.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00258/0.1807, allocations: 1.618 MB / 0.5624 GB, free: 6.695 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.1809, allocations: 7.938 kB / 0.5624 GB, free: 6.688 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001769/0.1811, allocations: 31.72 kB / 0.5625 GB, free: 6.656 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004131/0.1815, allocations: 155.3 kB / 0.5626 GB, free: 6.504 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005056/0.182, allocations: 191.5 kB / 0.5628 GB, free: 6.316 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004376/0.1825, allocations: 414.7 kB / 0.5632 GB, free: 5.91 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007168/0.1832, allocations: 378.5 kB / 0.5636 GB, free: 5.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002074/0.1834, allocations: 135.5 kB / 0.5637 GB, free: 5.387 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000294/0.1837, allocations: 167.4 kB / 0.5639 GB, free: 5.223 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.634e-05/0.1838, allocations: 12 kB / 0.5639 GB, free: 5.211 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002639/0.184, allocations: 135.8 kB / 0.564 GB, free: 5.078 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.1841, allocations: 83.7 kB / 0.5641 GB, free: 4.996 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.352e-05/0.1842, allocations: 69.58 kB / 0.5641 GB, free: 4.922 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003754/0.1846, allocations: 347.4 kB / 0.5645 GB, free: 4.582 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1846, allocations: 3.938 kB / 0.5645 GB, free: 4.578 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1846, allocations: 4 kB / 0.5645 GB, free: 4.574 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.1846, allocations: 0 / 0.5645 GB, free: 4.574 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0011/0.1857, allocations: 0.6056 MB / 0.5651 GB, free: 3.914 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.1858, allocations: 8.031 kB / 0.5651 GB, free: 3.906 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006507/0.1864, allocations: 95.62 kB / 0.5652 GB, free: 3.812 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003326/0.1868, allocations: 275.2 kB / 0.5654 GB, free: 3.504 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.1868, allocations: 12.44 kB / 0.5654 GB, free: 3.492 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.118e-05/0.1869, allocations: 16 kB / 0.5655 GB, free: 3.477 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007744/0.1877, allocations: 430.5 kB / 0.5659 GB, free: 3.031 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.1877, allocations: 3.953 kB / 0.5659 GB, free: 3.027 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.5e-05/0.1877, allocations: 12 kB / 0.5659 GB, free: 3.016 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-05/0.1878, allocations: 24.36 kB / 0.5659 GB, free: 2.988 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008393/0.1886, allocations: 416.7 kB / 0.5663 GB, free: 2.582 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001783/0.1904, allocations: 1.615 MB / 0.5679 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.1915, allocations: 487.8 kB / 0.5684 GB, free: 356 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003928/0.1919, allocations: 209.6 kB / 0.5686 GB, free: 140 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001489/0.1921, allocations: 93.08 kB / 0.5686 GB, free: 28 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005578/0.1926, allocations: 279.8 kB / 0.5689 GB, free: 15.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=27): time 1.473e-06/0.1926, allocations: 0 / 0.5689 GB, free: 15.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.001777/0.1944, allocations: 0.7825 MB / 0.5697 GB, free: 14.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.1945, allocations: 81.11 kB / 0.5697 GB, free: 14.83 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002237/0.1947, allocations: 225 kB / 0.57 GB, free: 14.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.612e-05/0.1948, allocations: 37.7 kB / 0.57 GB, free: 14.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.1949, allocations: 172.2 kB / 0.5702 GB, free: 14.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.612e-05/0.195, allocations: 90.75 kB / 0.5702 GB, free: 14.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.18e-05/0.195, allocations: 8 kB / 0.5703 GB, free: 14.28 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.1951, allocations: 330.8 kB / 0.5706 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003819/0.1955, allocations: 180.2 kB / 0.5707 GB, free: 13.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004171/0.1959, allocations: 254 kB / 0.571 GB, free: 13.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004285/0.1964, allocations: 237.7 kB / 0.5712 GB, free: 13.26 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1964, allocations: 0 / 0.5712 GB, free: 13.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001058/0.1975, allocations: 0.5564 MB / 0.5718 GB, free: 12.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001465/0.1976, allocations: 190.4 kB / 0.5719 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.1976, allocations: 8 kB / 0.5719 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002272/0.1979, allocations: 36.83 kB / 0.572 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003719/0.1983, allocations: 91.86 kB / 0.5721 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001584/0.1998, allocations: 1.493 MB / 0.5735 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003192/0.2002, allocations: 55.86 kB / 0.5736 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.9e-05/0.2002, allocations: 16 kB / 0.5736 GB, free: 10.63 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.735e-06/0.2002, allocations: 4 kB / 0.5736 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001013/0.2013, allocations: 0.5037 MB / 0.5741 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.2013, allocations: 8.031 kB / 0.5741 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001227/0.2014, allocations: 44.81 kB / 0.5741 GB, free: 10.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003469/0.2018, allocations: 83.81 kB / 0.5742 GB, free: 9.977 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001316/0.2031, allocations: 1.485 MB / 0.5757 GB, free: 8.355 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002635/0.2034, allocations: 47.88 kB / 0.5757 GB, free: 8.309 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.673e-05/0.2034, allocations: 19.98 kB / 0.5757 GB, free: 8.289 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * 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 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002795/0.2037, allocations: 237 kB / 0.576 GB, free: 8.047 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.449e-05/0.2038, allocations: 27.67 kB / 0.576 GB, free: 8.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.2048, allocations: 493.4 kB / 0.5765 GB, free: 7.523 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.2048, allocations: 4 kB / 0.5765 GB, free: 7.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2048, allocations: 0 / 0.5765 GB, free: 7.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.375e-06/0.2049, allocations: 3.984 kB / 0.5765 GB, free: 7.516 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007265/0.2056, allocations: 0.5701 MB / 0.577 GB, free: 6.883 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.2056, allocations: 0 / 0.577 GB, free: 6.883 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000348/0.206, allocations: 79.86 kB / 0.5771 GB, free: 6.805 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001072/0.2061, allocations: 32.83 kB / 0.5771 GB, free: 6.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.739e-05/0.2061, allocations: 11.98 kB / 0.5771 GB, free: 6.758 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001167/0.2073, allocations: 1.417 MB / 0.5785 GB, free: 5.207 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.2073, allocations: 3.953 kB / 0.5785 GB, free: 5.203 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009429/0.2083, allocations: 0.5622 MB / 0.5791 GB, free: 4.613 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/0.2084, allocations: 136.7 kB / 0.5792 GB, free: 4.461 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.275e-05/0.2085, allocations: 7.953 kB / 0.5792 GB, free: 4.453 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002785/0.2087, allocations: 47.95 kB / 0.5793 GB, free: 4.406 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.2089, allocations: 31.95 kB / 0.5793 GB, free: 4.375 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.547e-05/0.2089, allocations: 15.88 kB / 0.5793 GB, free: 4.359 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001624/0.2091, allocations: 168.5 kB / 0.5795 GB, free: 4.191 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2091, allocations: 0 / 0.5795 GB, free: 4.191 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006088/0.2097, allocations: 132 kB / 0.5796 GB, free: 4.062 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001833/0.2099, allocations: 111.9 kB / 0.5797 GB, free: 3.941 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001738/0.2116, allocations: 1.012 MB / 0.5807 GB, free: 2.879 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.2116, allocations: 0.625 kB / 0.5807 GB, free: 2.879 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005607/0.2122, allocations: 338.4 kB / 0.581 GB, free: 2.535 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004429/0.2127, allocations: 50.25 kB / 0.5811 GB, free: 2.488 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.2139, allocations: 0.7741 MB / 0.5818 GB, free: 1.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.2143, allocations: 0.7878 MB / 0.5826 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.2144, allocations: 27.44 kB / 0.5826 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2144, allocations: 0 / 0.5826 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of Templates: time 0.3271/0.5415, allocations: 5.089 MB / 0.5876 GB, free: 30.4 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.makefile make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.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.Sources.Examples.VariablePowerSourceCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSourceCalcHelperMain.o] Error 1