Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) 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(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_4.0.0_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_4.0.0_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.001295/0.001295, allocations: 95.72 kB / 16.96 MB, free: 6.461 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.001939/0.001939, allocations: 179.8 kB / 17.85 MB, free: 6 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.485/1.485, allocations: 223.3 MB / 241.9 MB, free: 324 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003037/0.0003037, allocations: 8 kB / 301.5 MB, free: 6.48 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1297, allocations: 50.42 MB / 351.9 MB, free: 4.043 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.003461/0.1332, allocations: 2.772 MB / 354.6 MB, free: 1.254 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001986/0.1352, allocations: 1.196 MB / 355.8 MB, free: 52 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001521/0.1354, allocations: 4 kB / 355.8 MB, free: 48 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003408/0.1358, allocations: 107.4 kB / 355.9 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007969/0.1366, allocations: 370.3 kB / 356.3 MB, free: 15.58 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002863/0.1369, allocations: 131.8 kB / 356.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005299/0.1374, allocations: 410.1 kB / 356.8 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002107/0.1376, allocations: 111.4 kB / 356.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001664/0.1378, allocations: 143.4 kB / 357.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002376/0.1381, allocations: 171.2 kB / 357.3 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.157e-05/0.1381, allocations: 20 kB / 357.3 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002582/0.1384, allocations: 131.9 kB / 357.4 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.404e-05/0.1384, allocations: 67.69 kB / 357.5 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.433e-05/0.1385, allocations: 89.52 kB / 357.6 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004561/0.139, allocations: 403.1 kB / 358 MB, free: 13.92 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.139, allocations: 0 / 358 MB, free: 13.92 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.139, allocations: 0 / 358 MB, free: 13.92 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.139, allocations: 0 / 358 MB, free: 13.92 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001314/0.1404, allocations: 0.6862 MB / 358.6 MB, free: 13.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.1404, allocations: 8.031 kB / 358.6 MB, free: 13.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005406/0.1409, allocations: 103.4 kB / 358.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003851/0.1413, allocations: 295.3 kB / 359 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.1414, allocations: 29 kB / 359.1 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.516e-05/0.1414, allocations: 39.92 kB / 359.1 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006109/0.1421, allocations: 349.3 kB / 359.4 MB, free: 12.33 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.1421, allocations: 4 kB / 359.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.86e-05/0.1421, allocations: 19.98 kB / 359.5 MB, free: 12.3 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.1422, allocations: 11.95 kB / 359.5 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004641/0.1426, allocations: 249.4 kB / 359.7 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002048/0.1447, allocations: 1.335 MB / 361.1 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003915/0.1451, allocations: 196.3 kB / 361.2 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/0.1453, allocations: 93.67 kB / 361.3 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000855/0.1461, allocations: 0.8752 MB / 362.2 MB, free: 9.336 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.575e-05/0.1462, allocations: 50.55 kB / 362.3 MB, free: 9.277 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.242e-06/0.1462, allocations: 0 / 362.3 MB, free: 9.277 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005242/0.1467, allocations: 221.5 kB / 362.5 MB, free: 9.055 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.1468, allocations: 81.11 kB / 362.6 MB, free: 8.957 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002793/0.1471, allocations: 282.9 kB / 362.8 MB, free: 8.676 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.1471, allocations: 29.7 kB / 362.9 MB, free: 8.641 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/0.1473, allocations: 239.5 kB / 363.1 MB, free: 8.402 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.875e-05/0.1473, allocations: 63.14 kB / 363.2 MB, free: 8.34 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.128e-05/0.1473, allocations: 4 kB / 363.2 MB, free: 8.336 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.1475, allocations: 338.8 kB / 363.5 MB, free: 7.996 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.1476, allocations: 64.62 kB / 363.6 MB, free: 7.93 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002378/0.1479, allocations: 206.4 kB / 363.8 MB, free: 7.668 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001797/0.1481, allocations: 95.92 kB / 363.9 MB, free: 7.574 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.1481, allocations: 7.938 kB / 363.9 MB, free: 7.566 MB / 302.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005125/0.1486, allocations: 333.3 kB / 364.2 MB, free: 7.234 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.1486, allocations: 8 kB / 364.2 MB, free: 7.227 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.1487, allocations: 4.062 kB / 364.2 MB, free: 7.223 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.076e-05/0.1487, allocations: 12 kB / 364.2 MB, free: 7.211 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002709/0.149, allocations: 83.83 kB / 364.3 MB, free: 7.129 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/0.149, allocations: 8 kB / 364.3 MB, free: 7.121 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001768/0.1492, allocations: 39.62 kB / 364.3 MB, free: 7.082 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.706e-05/0.1492, allocations: 23.98 kB / 364.4 MB, free: 7.059 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001569/0.1494, allocations: 149.7 kB / 364.5 MB, free: 6.902 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.688e-05/0.1495, allocations: 31.67 kB / 364.5 MB, free: 6.871 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.522e-05/0.1495, allocations: 29.73 kB / 364.6 MB, free: 6.844 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.1495, allocations: 4 kB / 364.6 MB, free: 6.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.1495, allocations: 0 / 364.6 MB, free: 6.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1495, allocations: 0 / 364.6 MB, free: 6.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006897/0.1502, allocations: 0.5185 MB / 365.1 MB, free: 6.262 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1503, allocations: 0 / 365.1 MB, free: 6.262 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/0.1505, allocations: 43.97 kB / 365.1 MB, free: 6.219 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1505, allocations: 0 / 365.1 MB, free: 6.219 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.1505, allocations: 11.94 kB / 365.1 MB, free: 6.207 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.1505, allocations: 3.984 kB / 365.1 MB, free: 6.203 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1505, allocations: 0 / 365.1 MB, free: 6.203 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005413/0.1511, allocations: 437.9 kB / 365.6 MB, free: 5.758 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.164e-05/0.1511, allocations: 108.7 kB / 365.7 MB, free: 5.633 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.553e-05/0.1512, allocations: 4 kB / 365.7 MB, free: 5.629 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.1514, allocations: 15.98 kB / 365.7 MB, free: 5.613 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.906e-05/0.1514, allocations: 11.98 kB / 365.7 MB, free: 5.602 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.1514, allocations: 8 kB / 365.7 MB, free: 5.594 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001846/0.1516, allocations: 198 kB / 365.9 MB, free: 5.398 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1516, allocations: 0 / 365.9 MB, free: 5.398 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000424/0.1521, allocations: 79.75 kB / 366 MB, free: 5.32 MB / 302.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 (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.0001547/0.1522, allocations: 119.2 kB / 366.1 MB, free: 5.191 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003663/0.1526, allocations: 195.7 kB / 366.3 MB, free: 5 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1526, allocations: 1.125 kB / 366.3 MB, free: 5 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.1527, allocations: 84.41 kB / 366.4 MB, free: 4.918 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004203/0.1532, allocations: 36.83 kB / 366.4 MB, free: 4.883 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.1543, allocations: 0.8302 MB / 367.3 MB, free: 4.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000419/0.1548, allocations: 0.7755 MB / 368 MB, free: 3.215 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.009e-05/0.1549, allocations: 27.44 kB / 368.1 MB, free: 3.188 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1549, allocations: 0 / 368.1 MB, free: 3.188 MB / 302.1 MB Notification: Performance of Templates: time 0.2088/0.3637, allocations: 3.374 MB / 371.4 MB, free: 24.27 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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 OMCppModelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductanceCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductanceCalcHelperMain.o] Error 1