Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Magnetic.TestTransformer.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.Magnetic.TestTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Magnetic.TestTransformer") translateModel(HanserModelica.Magnetic.TestTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Magnetic.TestTransformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009254/0.0009256, allocations: 102 kB / 15.71 MB, free: 460 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.502/1.502, allocations: 223.3 MB / 239.7 MB, free: 5.453 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.001197/0.001197, allocations: 188.1 kB / 290.9 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03977/0.03977, allocations: 8.785 MB / 350.8 MB, free: 4.645 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004015/0.0004017, allocations: 8.969 kB / 413.8 MB, free: 42.92 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1205, allocations: 52.56 MB / 466.4 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Magnetic.TestTransformer): time 0.004483/0.1251, allocations: 3.279 MB / 469.6 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001623/0.1267, allocations: 0.869 MB / 470.5 MB, free: 9.301 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002276/0.1269, allocations: 11.94 kB / 470.5 MB, free: 9.289 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001757/0.1271, allocations: 55.53 kB / 470.6 MB, free: 9.234 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003566/0.1275, allocations: 138.9 kB / 470.7 MB, free: 9.098 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003006/0.1278, allocations: 103.9 kB / 470.8 MB, free: 8.996 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000725/0.1285, allocations: 0.58 MB / 471.4 MB, free: 8.414 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003726/0.1289, allocations: 212.5 kB / 471.6 MB, free: 8.199 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003827/0.1293, allocations: 203.2 kB / 471.8 MB, free: 8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003072/0.1296, allocations: 222.9 kB / 472 MB, free: 7.781 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.562e-05/0.1297, allocations: 35.88 kB / 472.1 MB, free: 7.746 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.265e-05/0.1298, allocations: 32 kB / 472.1 MB, free: 7.715 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.603e-05/0.1299, allocations: 83.67 kB / 472.2 MB, free: 7.633 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.13, allocations: 129.4 kB / 472.3 MB, free: 7.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005796/0.1306, allocations: 0.5492 MB / 472.8 MB, free: 6.949 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.128e-05/0.1306, allocations: 12 kB / 472.9 MB, free: 6.938 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.1306, allocations: 0 / 472.9 MB, free: 6.938 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.1307, allocations: 0 / 472.9 MB, free: 6.938 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001632/0.1323, allocations: 0.7524 MB / 473.6 MB, free: 6.137 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.1324, allocations: 12.03 kB / 473.6 MB, free: 6.125 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/0.1325, allocations: 59.3 kB / 473.7 MB, free: 6.066 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000579/0.1331, allocations: 358.4 kB / 474 MB, free: 5.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.903e-05/0.1331, allocations: 37.31 kB / 474.1 MB, free: 5.641 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.581e-05/0.1332, allocations: 55.98 kB / 474.1 MB, free: 5.586 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.1344, allocations: 0.5224 MB / 474.6 MB, free: 5.051 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.1344, allocations: 0 / 474.6 MB, free: 5.051 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.288e-05/0.1345, allocations: 23.98 kB / 474.7 MB, free: 5.027 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.779e-05/0.1345, allocations: 12 kB / 474.7 MB, free: 5.016 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009186/0.1354, allocations: 407.7 kB / 475.1 MB, free: 4.617 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003195/0.1386, allocations: 1.902 MB / 477 MB, free: 2.602 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008904/0.1395, allocations: 313.5 kB / 477.3 MB, free: 2.289 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000524/0.1401, allocations: 237.2 kB / 477.5 MB, free: 2.055 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.749e-05/0.1401, allocations: 4.281 kB / 477.5 MB, free: 2.051 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.151e-05/0.1402, allocations: 42.84 kB / 477.6 MB, free: 2 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 2.264e-06/0.1402, allocations: 3.938 kB / 477.6 MB, free: 1.996 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.005073/0.1452, allocations: 1.798 MB / 479.4 MB, free: 124 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.1453, allocations: 55.84 kB / 479.4 MB, free: 56 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004779/0.1458, allocations: 295.2 kB / 479.7 MB, free: 15.76 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.278e-05/0.1459, allocations: 41.69 kB / 479.7 MB, free: 15.71 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002025/0.1461, allocations: 264.2 kB / 480 MB, free: 15.45 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001782/0.1463, allocations: 161.6 kB / 480.2 MB, free: 15.29 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-05/0.1463, allocations: 12 kB / 480.2 MB, free: 15.28 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002162/0.1465, allocations: 346.8 kB / 480.5 MB, free: 14.93 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004282/0.1469, allocations: 157 kB / 480.7 MB, free: 14.77 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004639/0.1474, allocations: 246.5 kB / 480.9 MB, free: 14.5 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004059/0.1478, allocations: 180.8 kB / 481.1 MB, free: 14.32 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1478, allocations: 0 / 481.1 MB, free: 14.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001158/0.149, allocations: 0.5636 MB / 481.6 MB, free: 13.75 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.149, allocations: 8 kB / 481.7 MB, free: 13.74 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.1492, allocations: 7.891 kB / 481.7 MB, free: 13.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000303/0.1495, allocations: 93.8 kB / 481.8 MB, free: 13.64 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004448/0.1499, allocations: 107.9 kB / 481.9 MB, free: 13.53 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00376/0.1537, allocations: 3.232 MB / 485.1 MB, free: 10.03 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003328/0.1541, allocations: 28 kB / 485.1 MB, free: 10 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.481e-05/0.1541, allocations: 23.98 kB / 485.1 MB, free: 9.977 MB / 318.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: 1 (switch.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 49 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004313/0.1546, allocations: 177.8 kB / 485.3 MB, free: 9.793 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.997e-05/0.1547, allocations: 39.53 kB / 485.4 MB, free: 9.754 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000115/0.1548, allocations: 47.73 kB / 485.4 MB, free: 9.707 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.1548, allocations: 4 kB / 485.4 MB, free: 9.703 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.1548, allocations: 0 / 485.4 MB, free: 9.703 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.1548, allocations: 3.984 kB / 485.4 MB, free: 9.699 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002238/0.1571, allocations: 1.144 MB / 486.6 MB, free: 8.492 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.1571, allocations: 0 / 486.6 MB, free: 8.492 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004096/0.1575, allocations: 87.88 kB / 486.6 MB, free: 8.406 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003578/0.1579, allocations: 93.77 kB / 486.7 MB, free: 8.309 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.39e-05/0.1579, allocations: 23.95 kB / 486.8 MB, free: 8.285 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004804/0.1627, allocations: 3.235 MB / 490 MB, free: 4.777 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.1628, allocations: 0 / 490 MB, free: 4.777 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001877/0.1647, allocations: 0.7802 MB / 490.8 MB, free: 3.969 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003815/0.1651, allocations: 144.7 kB / 490.9 MB, free: 3.809 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.769e-05/0.1651, allocations: 12.06 kB / 490.9 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002902/0.1654, allocations: 35.97 kB / 491 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.1655, allocations: 31.89 kB / 491 MB, free: 3.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.412e-05/0.1656, allocations: 19.95 kB / 491 MB, free: 3.711 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004576/0.166, allocations: 205.9 kB / 491.2 MB, free: 3.512 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1661, allocations: 8 kB / 491.2 MB, free: 3.504 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009606/0.167, allocations: 116 kB / 491.3 MB, free: 3.391 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (transformer.converter1.i,transformer.eddyCurrent.Phi) * Number of discrete variables: 1 (switch.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 35 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001921/0.1672, allocations: 103.2 kB / 491.4 MB, free: 3.277 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001607/0.1688, allocations: 0.6705 MB / 492.1 MB, free: 2.582 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.1689, allocations: 0 / 492.1 MB, free: 2.582 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009551/0.1698, allocations: 497.7 kB / 492.6 MB, free: 2.07 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006881/0.1705, allocations: 50.52 kB / 492.6 MB, free: 2.023 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002833/0.1734, allocations: 1.304 MB / 493.9 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005168/0.1739, allocations: 0.8395 MB / 494.8 MB, free: 15.82 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.174, allocations: 35.42 kB / 494.8 MB, free: 15.78 MB / 334.1 MB Notification: Performance of SimCode: time 1.522e-06/0.174, allocations: 4 kB / 494.8 MB, free: 15.78 MB / 334.1 MB Notification: Performance of Templates: time 0.01637/0.1904, allocations: 9.758 MB / 0.4927 GB, free: 6.023 MB / 334.1 MB make -j1 -f HanserModelica_HanserModelica.Magnetic.TestTransformer.makefile make -j1 -f HanserModelica_HanserModelica.Magnetic.TestTransformer.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.Magnetic.TestTransformerCalcHelperMain.o OMCppHanserModelica_HanserModelica.Magnetic.TestTransformerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHanserModelica_HanserModelica.Magnetic.TestTransformerCalcHelperMain.o] Error 1