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.000866/0.0008656, allocations: 91.28 kB / 17.58 MB, free: 5.801 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.000839/0.0008394, allocations: 185 kB / 18.48 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.642/1.642, allocations: 205.4 MB / 224.6 MB, free: 13.14 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.0004778/0.000478, allocations: 8 kB / 281.4 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1076, allocations: 47.57 MB / 329 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.003331/0.1109, allocations: 2.751 MB / 331.7 MB, free: 1.316 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00203/0.113, allocations: 1.236 MB / 333 MB, free: 72 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001546/0.1132, allocations: 4 kB / 333 MB, free: 68 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003486/0.1135, allocations: 107.4 kB / 333.1 MB, free: 15.96 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007481/0.1143, allocations: 294.6 kB / 333.4 MB, free: 15.67 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004085/0.1147, allocations: 195.5 kB / 333.6 MB, free: 15.48 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004983/0.1152, allocations: 402.2 kB / 333.9 MB, free: 15.09 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002266/0.1155, allocations: 127.1 kB / 334.1 MB, free: 14.96 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001739/0.1156, allocations: 147.4 kB / 334.2 MB, free: 14.82 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002349/0.1159, allocations: 167.3 kB / 334.4 MB, free: 14.65 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.801e-05/0.1159, allocations: 20 kB / 334.4 MB, free: 14.63 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002705/0.1162, allocations: 135.8 kB / 334.5 MB, free: 14.5 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.311e-05/0.1163, allocations: 71.67 kB / 334.6 MB, free: 14.43 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.71e-05/0.1164, allocations: 89.52 kB / 334.7 MB, free: 14.34 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000404/0.1168, allocations: 391.1 kB / 335.1 MB, free: 13.95 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.1168, allocations: 0 / 335.1 MB, free: 13.95 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1168, allocations: 0 / 335.1 MB, free: 13.95 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.1168, allocations: 0 / 335.1 MB, free: 13.95 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.001277/0.1181, allocations: 0.6901 MB / 335.8 MB, free: 13.21 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.1181, allocations: 8.031 kB / 335.8 MB, free: 13.2 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005534/0.1187, allocations: 95.47 kB / 335.9 MB, free: 13.11 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004004/0.1191, allocations: 307.2 kB / 336.2 MB, free: 12.77 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.274e-05/0.1192, allocations: 32.95 kB / 336.2 MB, free: 12.74 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.142e-05/0.1192, allocations: 35.94 kB / 336.2 MB, free: 12.7 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006274/0.1199, allocations: 349.3 kB / 336.6 MB, free: 12.35 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.1199, allocations: 0 / 336.6 MB, free: 12.35 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.481e-05/0.1199, allocations: 16 kB / 336.6 MB, free: 12.34 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.1199, allocations: 8 kB / 336.6 MB, free: 12.33 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004679/0.1204, allocations: 262 kB / 336.8 MB, free: 12.07 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00215/0.1226, allocations: 1.327 MB / 338.2 MB, free: 10.64 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003938/0.123, allocations: 193.2 kB / 338.4 MB, free: 10.43 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001758/0.1232, allocations: 93.58 kB / 338.5 MB, free: 10.34 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009388/0.1241, allocations: 0.883 MB / 339.3 MB, free: 9.352 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.1242, allocations: 38.56 kB / 339.4 MB, free: 9.305 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.373e-06/0.1242, allocations: 0 / 339.4 MB, free: 9.305 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005426/0.1247, allocations: 229.3 kB / 339.6 MB, free: 9.074 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.959e-05/0.1248, allocations: 81.11 kB / 339.7 MB, free: 8.977 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002754/0.1251, allocations: 278.9 kB / 340 MB, free: 8.699 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.1251, allocations: 29.7 kB / 340 MB, free: 8.664 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.1253, allocations: 247.5 kB / 340.2 MB, free: 8.418 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.225e-05/0.1253, allocations: 55.17 kB / 340.3 MB, free: 8.363 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.004e-05/0.1254, allocations: 4 kB / 340.3 MB, free: 8.359 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.1255, allocations: 342.8 kB / 340.6 MB, free: 8.016 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.1257, allocations: 72.55 kB / 340.7 MB, free: 7.941 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002283/0.1259, allocations: 202.4 kB / 340.9 MB, free: 7.684 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001886/0.1261, allocations: 103.9 kB / 341 MB, free: 7.582 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.1261, allocations: 4 kB / 341 MB, free: 7.578 MB / 286.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005281/0.1267, allocations: 312.9 kB / 341.3 MB, free: 7.266 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.1267, allocations: 8.562 kB / 341.3 MB, free: 7.258 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.1267, allocations: 4 kB / 341.3 MB, free: 7.254 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.1267, allocations: 8 kB / 341.3 MB, free: 7.246 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002741/0.127, allocations: 83.89 kB / 341.4 MB, free: 7.164 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.934e-05/0.127, allocations: 16 kB / 341.4 MB, free: 7.148 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/0.1272, allocations: 51.47 kB / 341.5 MB, free: 7.098 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.378e-05/0.1273, allocations: 16 kB / 341.5 MB, free: 7.082 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001652/0.1274, allocations: 149.8 kB / 341.6 MB, free: 6.926 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.079e-05/0.1275, allocations: 23.72 kB / 341.6 MB, free: 6.902 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.112e-05/0.1276, allocations: 33.73 kB / 341.7 MB, free: 6.867 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.942e-06/0.1276, allocations: 7.938 kB / 341.7 MB, free: 6.859 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.1276, allocations: 0 / 341.7 MB, free: 6.859 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1276, allocations: 3.984 kB / 341.7 MB, free: 6.855 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006686/0.1283, allocations: 0.5149 MB / 342.2 MB, free: 6.281 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.518e-05/0.1283, allocations: 4.062 kB / 342.2 MB, free: 6.277 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001993/0.1285, allocations: 51.91 kB / 342.3 MB, free: 6.227 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1285, allocations: 0 / 342.3 MB, free: 6.227 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.1285, allocations: 11.94 kB / 342.3 MB, free: 6.215 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.1285, allocations: 0 / 342.3 MB, free: 6.215 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1286, allocations: 3.953 kB / 342.3 MB, free: 6.211 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000531/0.1291, allocations: 427.2 kB / 342.7 MB, free: 5.773 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.383e-05/0.1292, allocations: 116.7 kB / 342.8 MB, free: 5.641 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.431e-05/0.1292, allocations: 8.062 kB / 342.8 MB, free: 5.633 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.1294, allocations: 12 kB / 342.8 MB, free: 5.621 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.591e-05/0.1295, allocations: 19.92 kB / 342.8 MB, free: 5.602 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.1295, allocations: 8 kB / 342.9 MB, free: 5.594 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001785/0.1297, allocations: 194 kB / 343 MB, free: 5.406 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1297, allocations: 0 / 343 MB, free: 5.406 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004041/0.1301, allocations: 75.84 kB / 343.1 MB, free: 5.332 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 (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.000147/0.1302, allocations: 107.2 kB / 343.2 MB, free: 5.219 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003691/0.1306, allocations: 198.4 kB / 343.4 MB, free: 5.027 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.1306, allocations: 4 kB / 343.4 MB, free: 5.023 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.1308, allocations: 73.03 kB / 343.5 MB, free: 4.953 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/0.1312, allocations: 36.88 kB / 343.5 MB, free: 4.918 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.1323, allocations: 0.8271 MB / 344.4 MB, free: 4.055 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.1325, allocations: 0.7757 MB / 345.1 MB, free: 3.254 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.659e-05/0.1326, allocations: 35.42 kB / 345.2 MB, free: 3.219 MB / 286.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1326, allocations: 0 / 345.2 MB, free: 3.219 MB / 286.1 MB Notification: Performance of Templates: time 0.004963/0.1376, allocations: 3.369 MB / 348.5 MB, free: 15.85 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++ 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_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