Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.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.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1256,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1256,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008233/0.0008235, allocations: 92.61 kB / 17.59 MB, free: 6.168 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.0008553/0.0008555, allocations: 184 kB / 18.47 MB, free: 5.336 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.704/1.704, allocations: 205.4 MB / 224.6 MB, free: 13.15 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.0004329/0.000433, allocations: 12 kB / 281.4 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1223, allocations: 47.59 MB / 329 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.00235/0.1247, allocations: 1.664 MB / 330.7 MB, free: 2.402 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.1258, allocations: 0.5585 MB / 331.2 MB, free: 1.836 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.557e-05/0.126, allocations: 0 / 331.2 MB, free: 1.836 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 4.579e-05/0.126, allocations: 19.84 kB / 331.2 MB, free: 1.816 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001538/0.1262, allocations: 39.69 kB / 331.3 MB, free: 1.777 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003564/0.1265, allocations: 67.91 kB / 331.3 MB, free: 1.711 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000232/0.1268, allocations: 167.2 kB / 331.5 MB, free: 1.547 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.1269, allocations: 53.41 kB / 331.6 MB, free: 1.492 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002115/0.1272, allocations: 71.69 kB / 331.6 MB, free: 1.422 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.1273, allocations: 67.69 kB / 331.7 MB, free: 1.355 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.989e-05/0.1273, allocations: 8 kB / 331.7 MB, free: 1.348 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.742e-05/0.1274, allocations: 8 kB / 331.7 MB, free: 1.34 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.119e-05/0.1274, allocations: 19.92 kB / 331.7 MB, free: 1.32 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.214e-05/0.1275, allocations: 57.58 kB / 331.8 MB, free: 1.258 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001662/0.1276, allocations: 119.9 kB / 331.9 MB, free: 1.141 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.1276, allocations: 0 / 331.9 MB, free: 1.141 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.1277, allocations: 4 kB / 331.9 MB, free: 1.137 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.1277, allocations: 0 / 331.9 MB, free: 1.137 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0008758/0.1285, allocations: 450.7 kB / 332.3 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.1286, allocations: 12.03 kB / 332.4 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.676e-05/0.1287, allocations: 11.91 kB / 332.4 MB, free: 0.625 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.1289, allocations: 190.9 kB / 332.6 MB, free: 408 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.129, allocations: 11.95 kB / 332.6 MB, free: 396 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.05e-05/0.129, allocations: 12 kB / 332.6 MB, free: 384 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003431/0.1294, allocations: 160 kB / 332.7 MB, free: 208 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.1294, allocations: 0 / 332.7 MB, free: 208 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.929e-05/0.1294, allocations: 0 / 332.7 MB, free: 208 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.1294, allocations: 4 kB / 332.7 MB, free: 204 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002651/0.1297, allocations: 91.94 kB / 332.8 MB, free: 112 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009471/0.1306, allocations: 0.5071 MB / 333.3 MB, free: 15.54 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002816/0.1309, allocations: 110.5 kB / 333.4 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001877/0.1311, allocations: 76.81 kB / 333.5 MB, free: 15.35 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.1312, allocations: 3.953 kB / 333.5 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.1312, allocations: 38.55 kB / 333.6 MB, free: 15.3 MB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.1312, allocations: 0 / 333.6 MB, free: 15.3 MB / 286.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004424/0.1317, allocations: 153.6 kB / 333.7 MB, free: 15.14 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.332e-05/0.1317, allocations: 102.8 kB / 333.8 MB, free: 15.02 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.1319, allocations: 158.1 kB / 334 MB, free: 14.85 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.1319, allocations: 29.7 kB / 334 MB, free: 14.82 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.928e-05/0.132, allocations: 123.7 kB / 334.1 MB, free: 14.69 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.1321, allocations: 23.66 kB / 334.1 MB, free: 14.67 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.987e-06/0.1321, allocations: 7.938 kB / 334.1 MB, free: 14.66 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.1322, allocations: 326.8 kB / 334.5 MB, free: 14.33 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.1323, allocations: 39.97 kB / 334.5 MB, free: 14.29 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.1325, allocations: 80.27 kB / 334.6 MB, free: 14.2 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.1327, allocations: 43.98 kB / 334.6 MB, free: 14.16 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1327, allocations: 0 / 334.6 MB, free: 14.16 MB / 286.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003329/0.133, allocations: 149.5 kB / 334.8 MB, free: 14 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.133, allocations: 7.953 kB / 334.8 MB, free: 14 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.1331, allocations: 3.938 kB / 334.8 MB, free: 13.99 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.1331, allocations: 7.938 kB / 334.8 MB, free: 13.98 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005358/0.1336, allocations: 83.91 kB / 334.9 MB, free: 13.9 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001441/0.1351, allocations: 1.405 MB / 336.3 MB, free: 12.36 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.1352, allocations: 19.89 kB / 336.3 MB, free: 12.34 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.1353, allocations: 4 kB / 336.3 MB, free: 12.34 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001268/0.1354, allocations: 121.8 kB / 336.4 MB, free: 12.21 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.905e-05/0.1354, allocations: 19.98 kB / 336.4 MB, free: 12.19 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000439/0.1359, allocations: 155.5 kB / 336.6 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.1359, allocations: 4 kB / 336.6 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.1359, allocations: 4 kB / 336.6 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1359, allocations: 0 / 336.6 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007523/0.1367, allocations: 484 kB / 337.1 MB, free: 11.48 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.1367, allocations: 4 kB / 337.1 MB, free: 11.48 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.1368, allocations: 23.92 kB / 337.1 MB, free: 11.45 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002576/0.1371, allocations: 36.83 kB / 337.1 MB, free: 11.41 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.1371, allocations: 0 / 337.1 MB, free: 11.41 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001111/0.1382, allocations: 1.3 MB / 338.4 MB, free: 9.984 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1383, allocations: 4.062 kB / 338.4 MB, free: 9.98 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005735/0.1388, allocations: 293 kB / 338.7 MB, free: 9.672 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.768e-05/0.1389, allocations: 96.94 kB / 338.8 MB, free: 9.559 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.1389, allocations: 0 / 338.8 MB, free: 9.559 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.1391, allocations: 19.92 kB / 338.8 MB, free: 9.539 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.936e-05/0.1392, allocations: 19.95 kB / 338.9 MB, free: 9.52 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.1392, allocations: 7.984 kB / 338.9 MB, free: 9.512 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001042/0.1393, allocations: 111.3 kB / 339 MB, free: 9.402 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1393, allocations: 0 / 339 MB, free: 9.402 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003003/0.1396, allocations: 36 kB / 339 MB, free: 9.367 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (SaturatingInductance1.Psi,Inductance1.i) * 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 (7): * Single equations (assignments): 6 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.000141/0.1397, allocations: 107.2 kB / 339.1 MB, free: 9.254 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006112/0.1404, allocations: 139.8 kB / 339.2 MB, free: 9.117 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1404, allocations: 0 / 339.2 MB, free: 9.117 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003103/0.1407, allocations: 170.7 kB / 339.4 MB, free: 8.938 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.141, allocations: 8 kB / 339.4 MB, free: 8.93 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.1425, allocations: 0.6322 MB / 340.1 MB, free: 8.266 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.1428, allocations: 0.7121 MB / 340.8 MB, free: 7.527 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.954e-05/0.1429, allocations: 23.36 kB / 340.8 MB, free: 7.504 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1429, allocations: 4 kB / 340.8 MB, free: 7.5 MB / 286.1 MB Notification: Performance of Templates: time 0.004549/0.1474, allocations: 2.182 MB / 343 MB, free: 5.316 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.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.Electrical.Analog.Examples.ShowSaturatingInductorCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductorCalcHelperMain.o] Error 1