Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.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.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers") translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009678/0.0009672, allocations: 87.36 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.0008752/0.0008753, allocations: 184.8 kB / 18.48 MB, free: 5.25 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.63/1.63, allocations: 205.4 MB / 224.6 MB, free: 13.07 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.0004336/0.0004339, allocations: 12 kB / 281.4 MB, free: 3.707 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09811/0.09855, allocations: 47.57 MB / 329 MB, free: 4.059 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.003606/0.1022, allocations: 3.472 MB / 332.5 MB, free: 0.5625 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001507/0.1037, allocations: 0.8891 MB / 333.3 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001769/0.1039, allocations: 8 kB / 333.4 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001663/0.1041, allocations: 71.44 kB / 333.4 MB, free: 15.59 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002653/0.1044, allocations: 150.8 kB / 333.6 MB, free: 15.44 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002669/0.1046, allocations: 99.88 kB / 333.7 MB, free: 15.34 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005198/0.1052, allocations: 0.6225 MB / 334.3 MB, free: 14.71 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002535/0.1054, allocations: 154.3 kB / 334.4 MB, free: 14.56 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002441/0.1057, allocations: 219.1 kB / 334.7 MB, free: 14.35 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002736/0.106, allocations: 250.8 kB / 334.9 MB, free: 14.1 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.299e-05/0.106, allocations: 32 kB / 334.9 MB, free: 14.07 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.604e-05/0.1061, allocations: 36 kB / 335 MB, free: 14.04 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.916e-05/0.1062, allocations: 95.53 kB / 335.1 MB, free: 13.94 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.1063, allocations: 125.5 kB / 335.2 MB, free: 13.81 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003855/0.1067, allocations: 478.8 kB / 335.6 MB, free: 13.34 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1067, allocations: 0 / 335.6 MB, free: 13.34 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1067, allocations: 0 / 335.6 MB, free: 13.34 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.1067, allocations: 0 / 335.6 MB, free: 13.34 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001157/0.1079, allocations: 0.787 MB / 336.4 MB, free: 12.51 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.1079, allocations: 8.031 kB / 336.4 MB, free: 12.5 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.1081, allocations: 63.34 kB / 336.5 MB, free: 12.44 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004216/0.1085, allocations: 354.6 kB / 336.9 MB, free: 12.05 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.503e-05/0.1085, allocations: 40.95 kB / 336.9 MB, free: 12.01 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.986e-05/0.1086, allocations: 59.78 kB / 337 MB, free: 11.95 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000757/0.1094, allocations: 483.2 kB / 337.4 MB, free: 11.46 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.1094, allocations: 0 / 337.4 MB, free: 11.46 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.665e-05/0.1095, allocations: 20 kB / 337.4 MB, free: 11.45 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.1095, allocations: 12 kB / 337.5 MB, free: 11.43 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005673/0.1101, allocations: 332.3 kB / 337.8 MB, free: 11.11 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002448/0.1125, allocations: 1.717 MB / 339.5 MB, free: 9.297 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004296/0.113, allocations: 269.1 kB / 339.8 MB, free: 9.016 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002172/0.1132, allocations: 145.6 kB / 339.9 MB, free: 8.867 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.1132, allocations: 7.984 kB / 339.9 MB, free: 8.859 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.1133, allocations: 42.5 kB / 339.9 MB, free: 8.809 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 1.864e-06/0.1133, allocations: 0 / 339.9 MB, free: 8.809 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.001719/0.115, allocations: 0.9656 MB / 340.9 MB, free: 7.766 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.1151, allocations: 93.05 kB / 341 MB, free: 7.656 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004679/0.1155, allocations: 377.7 kB / 341.4 MB, free: 7.277 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.1156, allocations: 37.7 kB / 341.4 MB, free: 7.234 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/0.1158, allocations: 283.4 kB / 341.7 MB, free: 6.949 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.01e-05/0.1159, allocations: 118.4 kB / 341.8 MB, free: 6.832 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.629e-05/0.1159, allocations: 8 kB / 341.8 MB, free: 6.824 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.116, allocations: 346.8 kB / 342.1 MB, free: 6.477 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.1162, allocations: 104.8 kB / 342.3 MB, free: 6.375 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002559/0.1165, allocations: 194.8 kB / 342.4 MB, free: 6.148 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002307/0.1167, allocations: 132.8 kB / 342.6 MB, free: 6.02 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.1167, allocations: 7.984 kB / 342.6 MB, free: 6.012 MB / 286.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007665/0.1175, allocations: 449.1 kB / 343 MB, free: 5.562 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.1175, allocations: 8 kB / 343 MB, free: 5.555 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/0.1176, allocations: 3.984 kB / 343 MB, free: 5.551 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003345/0.1179, allocations: 93.58 kB / 343.1 MB, free: 5.453 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003005/0.1182, allocations: 83.83 kB / 343.2 MB, free: 5.371 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00219/0.1204, allocations: 2.841 MB / 346 MB, free: 2.266 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002371/0.1207, allocations: 19.91 kB / 346.1 MB, free: 2.246 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-05/0.1208, allocations: 19.98 kB / 346.1 MB, free: 2.227 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (45): * Single equations (assignments): 43 * 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,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001999/0.121, allocations: 169.7 kB / 346.2 MB, free: 2.051 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.652e-05/0.1211, allocations: 43.53 kB / 346.3 MB, free: 2.008 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.61e-05/0.1212, allocations: 39.47 kB / 346.3 MB, free: 1.969 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.1212, allocations: 4 kB / 346.3 MB, free: 1.965 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.1212, allocations: 0 / 346.3 MB, free: 1.965 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.1212, allocations: 3.984 kB / 346.3 MB, free: 1.961 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.1225, allocations: 0.9354 MB / 347.3 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.1225, allocations: 0 / 347.3 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/0.1227, allocations: 59.86 kB / 347.3 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002371/0.1229, allocations: 85.81 kB / 347.4 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.97e-05/0.1229, allocations: 4 kB / 347.4 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002185/0.1251, allocations: 2.849 MB / 350.3 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1251, allocations: 4.094 kB / 350.3 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008576/0.126, allocations: 0.6284 MB / 350.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.1261, allocations: 124.5 kB / 351 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.496e-05/0.1262, allocations: 8.188 kB / 351 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002945/0.1265, allocations: 35.98 kB / 351.1 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.664e-05/0.1266, allocations: 23.97 kB / 351.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.657e-05/0.1266, allocations: 15.98 kB / 351.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002809/0.1269, allocations: 267.2 kB / 351.4 MB, free: 12.56 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1269, allocations: 0 / 351.4 MB, free: 12.56 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005697/0.1275, allocations: 116 kB / 351.5 MB, free: 12.45 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * 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 (26): * Single equations (assignments): 24 * 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,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001599/0.1276, allocations: 115.2 kB / 351.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008557/0.1285, allocations: 0.5136 MB / 352.1 MB, free: 11.78 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1285, allocations: 0 / 352.1 MB, free: 11.78 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000534/0.129, allocations: 393.1 kB / 352.5 MB, free: 11.37 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00055/0.1296, allocations: 70.12 kB / 352.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.1313, allocations: 1.209 MB / 353.8 MB, free: 10.06 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.1317, allocations: 0.8353 MB / 354.6 MB, free: 9.195 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.925e-05/0.1318, allocations: 31.44 kB / 354.6 MB, free: 9.164 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1318, allocations: 0 / 354.6 MB, free: 9.164 MB / 302.1 MB Notification: Performance of Templates: time 0.01133/0.1431, allocations: 8.826 MB / 363.5 MB, free: 340 kB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.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.CompareTransformersCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformersCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformersCalcHelperMain.o] Error 1