Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.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/Modelica 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/HanserModelica 2.0.0/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.Electrical.RLSeriesFrequencySweep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep") translateModel(HanserModelica.Electrical.RLSeriesFrequencySweep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 100.5 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 223.3 MB / 239.7 MB, free: 5.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 172.5 kB / 290.9 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03309/0.03309, allocations: 8.782 MB / 350.8 MB, free: 4.719 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003809/0.000381, allocations: 14.47 kB / 413.8 MB, free: 43.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.118, allocations: 52.56 MB / 466.4 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.RLSeriesFrequencySweep): time 0.004114/0.1222, allocations: 3.387 MB / 469.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002677/0.1249, allocations: 1.438 MB / 471.2 MB, free: 8.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002471/0.1252, allocations: 12 kB / 471.2 MB, free: 8.719 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004279/0.1256, allocations: 131.3 kB / 471.3 MB, free: 8.59 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001025/0.1266, allocations: 434.2 kB / 471.8 MB, free: 8.164 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008326/0.1275, allocations: 385.4 kB / 472.1 MB, free: 7.793 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006/0.1281, allocations: 498 kB / 472.6 MB, free: 7.305 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001291/0.1294, allocations: 0.7245 MB / 473.3 MB, free: 6.562 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002817/0.1297, allocations: 191.2 kB / 473.5 MB, free: 6.375 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002926/0.13, allocations: 242.9 kB / 473.8 MB, free: 6.137 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.094e-05/0.13, allocations: 24 kB / 473.8 MB, free: 6.113 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003956/0.1304, allocations: 175.8 kB / 474 MB, free: 5.941 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.734e-05/0.1305, allocations: 95.59 kB / 474.1 MB, free: 5.848 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.916e-05/0.1306, allocations: 109.5 kB / 474.2 MB, free: 5.734 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007083/0.1314, allocations: 0.6038 MB / 474.8 MB, free: 5.129 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.298e-06/0.1314, allocations: 0 / 474.8 MB, free: 5.129 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.1314, allocations: 0 / 474.8 MB, free: 5.129 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.1314, allocations: 0 / 474.8 MB, free: 5.129 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002344/0.1338, allocations: 0.8581 MB / 475.6 MB, free: 4.219 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.1338, allocations: 8.031 kB / 475.6 MB, free: 4.211 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002564/0.1364, allocations: 414.9 kB / 476 MB, free: 3.805 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005886/0.137, allocations: 352.1 kB / 476.4 MB, free: 3.422 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.952e-05/0.137, allocations: 45.31 kB / 476.4 MB, free: 3.379 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.25e-05/0.1371, allocations: 56 kB / 476.5 MB, free: 3.324 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/0.1383, allocations: 0.6315 MB / 477.1 MB, free: 2.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/0.1384, allocations: 4 kB / 477.1 MB, free: 2.676 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.107e-05/0.1384, allocations: 31.89 kB / 477.1 MB, free: 2.645 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.203e-05/0.1385, allocations: 29.3 kB / 477.2 MB, free: 2.613 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/0.1396, allocations: 0.579 MB / 477.7 MB, free: 2.031 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003844/0.1435, allocations: 2.185 MB / 479.9 MB, free: 15.71 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00157/0.1451, allocations: 1.184 MB / 481.1 MB, free: 14.35 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003851/0.1455, allocations: 204.7 kB / 481.3 MB, free: 14.14 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001146/0.1456, allocations: 97.28 kB / 481.4 MB, free: 14.03 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.1457, allocations: 38.55 kB / 481.5 MB, free: 13.98 MB / 318.1 MB Notification: Performance of pre-optimization done (n=44): time 2.965e-06/0.1457, allocations: 4 kB / 481.5 MB, free: 13.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=44): time 0.001688/0.1474, allocations: 0.7019 MB / 482.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.1474, allocations: 55.41 kB / 482.2 MB, free: 13.18 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002904/0.1477, allocations: 262.6 kB / 482.5 MB, free: 12.91 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.252e-05/0.1478, allocations: 37.7 kB / 482.5 MB, free: 12.87 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000183/0.148, allocations: 244.3 kB / 482.7 MB, free: 12.62 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/0.1481, allocations: 153.8 kB / 482.9 MB, free: 12.47 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.293e-05/0.1481, allocations: 8 kB / 482.9 MB, free: 12.46 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.1483, allocations: 338.8 kB / 483.2 MB, free: 12.12 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003155/0.1486, allocations: 149 kB / 483.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004277/0.1491, allocations: 261.9 kB / 483.6 MB, free: 11.68 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003815/0.1495, allocations: 185.6 kB / 483.8 MB, free: 11.5 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1495, allocations: 0 / 483.8 MB, free: 11.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001025/0.1505, allocations: 0.5377 MB / 484.4 MB, free: 10.95 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001512/0.1507, allocations: 176.3 kB / 484.5 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.1507, allocations: 7.984 kB / 484.5 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002721/0.151, allocations: 60.78 kB / 484.6 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004228/0.1514, allocations: 99.81 kB / 484.7 MB, free: 10.56 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001643/0.1531, allocations: 1.58 MB / 486.3 MB, free: 8.852 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003032/0.1534, allocations: 67.42 kB / 486.3 MB, free: 8.785 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-05/0.1534, allocations: 23.98 kB / 486.4 MB, free: 8.762 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.086e-06/0.1535, allocations: 4 kB / 486.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008882/0.1543, allocations: 479.8 kB / 486.8 MB, free: 8.285 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.1544, allocations: 4 kB / 486.8 MB, free: 8.281 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001426/0.1545, allocations: 45.25 kB / 486.9 MB, free: 8.234 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003613/0.1549, allocations: 103.9 kB / 487 MB, free: 8.133 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001407/0.1563, allocations: 1.504 MB / 488.5 MB, free: 6.496 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002557/0.1566, allocations: 55.52 kB / 488.5 MB, free: 6.441 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.879e-05/0.1566, allocations: 16 kB / 488.6 MB, free: 6.426 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (53): * Single equations (assignments): 52 * 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 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003329/0.157, allocations: 257.7 kB / 488.8 MB, free: 6.164 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.078e-05/0.157, allocations: 35.62 kB / 488.8 MB, free: 6.129 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00112/0.1582, allocations: 0.5122 MB / 489.4 MB, free: 5.609 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.014e-06/0.1582, allocations: 4 kB / 489.4 MB, free: 5.605 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.1582, allocations: 0 / 489.4 MB, free: 5.605 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.1582, allocations: 3.938 kB / 489.4 MB, free: 5.602 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001722/0.1599, allocations: 1.099 MB / 490.5 MB, free: 4.441 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.1599, allocations: 0 / 490.5 MB, free: 4.441 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003522/0.1603, allocations: 79.89 kB / 490.5 MB, free: 4.363 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001763/0.1605, allocations: 48.83 kB / 490.6 MB, free: 4.312 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.616e-05/0.1606, allocations: 19.92 kB / 490.6 MB, free: 4.293 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0015/0.1621, allocations: 1.576 MB / 492.2 MB, free: 2.578 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.1621, allocations: 4.062 kB / 492.2 MB, free: 2.574 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001333/0.1634, allocations: 0.7685 MB / 493 MB, free: 1.789 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000161/0.1636, allocations: 148.5 kB / 493.1 MB, free: 1.625 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.529e-05/0.1636, allocations: 8 kB / 493.1 MB, free: 1.617 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002381/0.1639, allocations: 23.98 kB / 493.1 MB, free: 1.594 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.565e-05/0.164, allocations: 32.45 kB / 493.2 MB, free: 1.562 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.063e-05/0.164, allocations: 12 kB / 493.2 MB, free: 1.551 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000285/0.1643, allocations: 197.9 kB / 493.4 MB, free: 1.359 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1643, allocations: 0 / 493.4 MB, free: 1.359 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001359/0.1657, allocations: 235.1 kB / 493.6 MB, free: 1.129 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * 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 (42): * Single equations (assignments): 41 * 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 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003386/0.1661, allocations: 131.2 kB / 493.7 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002882/0.169, allocations: 0.9107 MB / 494.6 MB, free: 56 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.169, allocations: 0 / 494.6 MB, free: 56 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006407/0.1696, allocations: 345.7 kB / 495 MB, free: 15.7 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000739/0.1704, allocations: 44.55 kB / 495 MB, free: 15.66 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002881/0.1733, allocations: 1.104 MB / 496.1 MB, free: 14.52 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007784/0.1741, allocations: 0.8213 MB / 496.9 MB, free: 13.67 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002238/0.1743, allocations: 43.42 kB / 497 MB, free: 13.63 MB / 334.1 MB Notification: Performance of SimCode: time 2.315e-06/0.1743, allocations: 0 / 497 MB, free: 13.63 MB / 334.1 MB Notification: Performance of Templates: time 0.01744/0.1918, allocations: 7.223 MB / 0.4924 GB, free: 6.418 MB / 334.1 MB make -j1 -f HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.makefile make -j1 -f HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.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 OMCppHanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweepCalcHelperMain.o OMCppHanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweepCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweepCalcHelperMain.o] Error 1