Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 91.06 kB / 17.96 MB, free: 5.629 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.001774/0.001773, allocations: 176.3 kB / 18.86 MB, free: 4.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.202/2.202, allocations: 205.4 MB / 225 MB, free: 12.98 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005738/0.0005741, allocations: 12 kB / 282 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1176, allocations: 47.58 MB / 329.6 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004127/0.1218, allocations: 2.885 MB / 332.5 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002915/0.1247, allocations: 1.313 MB / 333.8 MB, free: 15.52 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004324/0.1252, allocations: 8 kB / 333.8 MB, free: 15.52 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000585/0.1258, allocations: 123.4 kB / 333.9 MB, free: 15.39 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001303/0.1271, allocations: 326.5 kB / 334.3 MB, free: 15.07 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007393/0.1279, allocations: 235.3 kB / 334.5 MB, free: 14.84 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001112/0.129, allocations: 426.2 kB / 334.9 MB, free: 14.43 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003283/0.1294, allocations: 128.7 kB / 335 MB, free: 14.3 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002252/0.1296, allocations: 143.3 kB / 335.2 MB, free: 14.16 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002864/0.1299, allocations: 175.2 kB / 335.3 MB, free: 13.99 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.801e-05/0.13, allocations: 20 kB / 335.4 MB, free: 13.97 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004531/0.1304, allocations: 143.8 kB / 335.5 MB, free: 13.83 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.308e-05/0.1305, allocations: 63.64 kB / 335.6 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002049/0.1307, allocations: 196.8 kB / 335.8 MB, free: 13.57 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004965/0.1312, allocations: 403.1 kB / 336.2 MB, free: 13.17 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1312, allocations: 0 / 336.2 MB, free: 13.17 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1312, allocations: 3.938 kB / 336.2 MB, free: 13.17 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.1313, allocations: 0 / 336.2 MB, free: 13.17 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001389/0.1326, allocations: 0.6864 MB / 336.8 MB, free: 12.43 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.1327, allocations: 12.03 kB / 336.9 MB, free: 12.42 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000577/0.1333, allocations: 96.41 kB / 336.9 MB, free: 12.32 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00038/0.1337, allocations: 308.5 kB / 337.2 MB, free: 11.98 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/0.1337, allocations: 21.38 kB / 337.3 MB, free: 11.96 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.036e-05/0.1338, allocations: 36.38 kB / 337.3 MB, free: 11.93 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005789/0.1344, allocations: 357.6 kB / 337.7 MB, free: 11.57 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.1344, allocations: 4 kB / 337.7 MB, free: 11.56 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.283e-05/0.1344, allocations: 16 kB / 337.7 MB, free: 11.55 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.1344, allocations: 8 kB / 337.7 MB, free: 11.54 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004875/0.1349, allocations: 254.1 kB / 337.9 MB, free: 11.29 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002004/0.1369, allocations: 1.335 MB / 339.3 MB, free: 9.855 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000402/0.1374, allocations: 197.1 kB / 339.5 MB, free: 9.645 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001785/0.1376, allocations: 101 kB / 339.6 MB, free: 9.543 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008921/0.1385, allocations: 0.8791 MB / 340.4 MB, free: 8.562 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.1385, allocations: 38.56 kB / 340.5 MB, free: 8.516 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.462e-06/0.1385, allocations: 0 / 340.5 MB, free: 8.516 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005754/0.1391, allocations: 229.3 kB / 340.7 MB, free: 8.285 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.391e-05/0.1392, allocations: 85.05 kB / 340.8 MB, free: 8.184 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003231/0.1395, allocations: 282.9 kB / 341.1 MB, free: 7.902 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.1395, allocations: 29.7 kB / 341.1 MB, free: 7.867 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.1397, allocations: 235.5 kB / 341.3 MB, free: 7.633 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.427e-05/0.1398, allocations: 67.08 kB / 341.4 MB, free: 7.566 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.115e-05/0.1398, allocations: 33.7 kB / 341.4 MB, free: 7.527 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0003175/0.1402, allocations: 338.8 kB / 341.7 MB, free: 7.188 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/0.1403, allocations: 68.62 kB / 341.8 MB, free: 7.117 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004233/0.1408, allocations: 214.3 kB / 342 MB, free: 6.848 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005829/0.1414, allocations: 300.9 kB / 342.3 MB, free: 6.492 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1414, allocations: 0 / 342.3 MB, free: 6.492 MB / 286.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005908/0.142, allocations: 325.3 kB / 342.6 MB, free: 6.168 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.142, allocations: 7.984 kB / 342.6 MB, free: 6.16 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.142, allocations: 4 kB / 342.6 MB, free: 6.156 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.142, allocations: 8 kB / 342.7 MB, free: 6.148 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002714/0.1423, allocations: 79.84 kB / 342.7 MB, free: 6.07 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/0.1423, allocations: 11.92 kB / 342.7 MB, free: 6.059 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001865/0.1425, allocations: 47.72 kB / 342.8 MB, free: 6.012 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.1426, allocations: 12 kB / 342.8 MB, free: 6 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001758/0.1428, allocations: 153.8 kB / 342.9 MB, free: 5.84 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.197e-05/0.1428, allocations: 23.72 kB / 343 MB, free: 5.816 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.736e-05/0.1429, allocations: 29.73 kB / 343 MB, free: 5.785 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.1429, allocations: 7.875 kB / 343 MB, free: 5.777 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.1429, allocations: 256 / 343 MB, free: 5.777 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.1429, allocations: 7.984 kB / 343 MB, free: 5.77 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007526/0.1437, allocations: 0.5147 MB / 343.5 MB, free: 5.195 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1437, allocations: 0 / 343.5 MB, free: 5.195 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002054/0.1439, allocations: 55.84 kB / 343.6 MB, free: 5.141 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.1439, allocations: 4 kB / 343.6 MB, free: 5.137 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.144, allocations: 4.031 kB / 343.6 MB, free: 5.133 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.144, allocations: 4 kB / 343.6 MB, free: 5.129 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.144, allocations: 0 / 343.6 MB, free: 5.129 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006364/0.1446, allocations: 434.3 kB / 344 MB, free: 4.688 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.54e-05/0.1447, allocations: 108.7 kB / 344.1 MB, free: 4.562 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.999e-05/0.1448, allocations: 8 kB / 344.1 MB, free: 4.555 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.145, allocations: 15.92 kB / 344.2 MB, free: 4.539 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.446e-05/0.145, allocations: 20.05 kB / 344.2 MB, free: 4.52 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.1451, allocations: 4 kB / 344.2 MB, free: 4.516 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002075/0.1453, allocations: 198 kB / 344.4 MB, free: 4.32 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1453, allocations: 0 / 344.4 MB, free: 4.32 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000436/0.1457, allocations: 83.75 kB / 344.5 MB, free: 4.238 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001928/0.1459, allocations: 111.2 kB / 344.6 MB, free: 4.121 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004184/0.1463, allocations: 192.5 kB / 344.7 MB, free: 3.934 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1464, allocations: 320 / 344.7 MB, free: 3.934 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.1465, allocations: 75.91 kB / 344.8 MB, free: 3.859 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004707/0.147, allocations: 36.77 kB / 344.9 MB, free: 3.824 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.1485, allocations: 0.8895 MB / 345.7 MB, free: 2.898 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006391/0.1491, allocations: 0.7718 MB / 346.5 MB, free: 2.102 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.898e-05/0.1492, allocations: 27.42 kB / 346.5 MB, free: 2.074 MB / 286.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1492, allocations: 0 / 346.5 MB, free: 2.074 MB / 286.1 MB Notification: Performance of Templates: time 0.007031/0.1563, allocations: 3.367 MB / 349.9 MB, free: 14.71 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductanceCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductanceCalcHelperMain.o] Error 1