Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer") translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008076/0.0008077, allocations: 92.41 kB / 16.33 MB, free: 6.398 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.00081/0.00081, allocations: 188.5 kB / 17.22 MB, free: 6.289 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.46/1.46, allocations: 205.4 MB / 223.4 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2064/0.2064, allocations: 43.56 MB / 315.2 MB, free: 0.5625 MB / 254.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.0004942/0.0004943, allocations: 18.31 kB / 384.5 MB, free: 57.13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.113, allocations: 58.86 MB / 443.4 MB, free: 5.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.002036/0.1151, allocations: 2.122 MB / 445.5 MB, free: 3.672 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007784/0.1159, allocations: 0.6012 MB / 446.1 MB, free: 3.062 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.116, allocations: 4 kB / 446.1 MB, free: 3.059 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.1161, allocations: 27.77 kB / 446.1 MB, free: 3.031 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.033e-05/0.1162, allocations: 67.45 kB / 446.2 MB, free: 2.965 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001979/0.1164, allocations: 47.95 kB / 446.3 MB, free: 2.918 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002232/0.1167, allocations: 270.7 kB / 446.5 MB, free: 2.652 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.1168, allocations: 72.94 kB / 446.6 MB, free: 2.578 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.117, allocations: 99.58 kB / 446.7 MB, free: 2.48 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.1171, allocations: 103.5 kB / 446.8 MB, free: 2.379 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/0.1171, allocations: 12 kB / 446.8 MB, free: 2.367 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.981e-05/0.1171, allocations: 12 kB / 446.8 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.995e-05/0.1172, allocations: 39.84 kB / 446.9 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.004e-05/0.1172, allocations: 69.58 kB / 446.9 MB, free: 2.242 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001414/0.1174, allocations: 203.4 kB / 447.1 MB, free: 2.043 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.1174, allocations: 4 kB / 447.1 MB, free: 2.039 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1174, allocations: 0 / 447.1 MB, free: 2.039 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.1174, allocations: 0 / 447.1 MB, free: 2.039 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0005382/0.1179, allocations: 0.4949 MB / 447.6 MB, free: 1.496 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.118, allocations: 16.02 kB / 447.6 MB, free: 1.48 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.832e-05/0.118, allocations: 23.72 kB / 447.7 MB, free: 1.457 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/0.1183, allocations: 243.9 kB / 447.9 MB, free: 1.18 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.1183, allocations: 12.44 kB / 447.9 MB, free: 1.168 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.209e-05/0.1183, allocations: 27.91 kB / 447.9 MB, free: 1.141 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002989/0.1186, allocations: 195.2 kB / 448.1 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.1186, allocations: 0 / 448.1 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.332e-05/0.1187, allocations: 12 kB / 448.1 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.1187, allocations: 4 kB / 448.1 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002251/0.1189, allocations: 137.7 kB / 448.3 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009925/0.1199, allocations: 0.826 MB / 449.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.1201, allocations: 102.5 kB / 449.2 MB, free: 15.78 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.551e-05/0.1202, allocations: 48.84 kB / 449.3 MB, free: 15.73 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.1202, allocations: 0 / 449.3 MB, free: 15.73 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.1203, allocations: 34.56 kB / 449.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 9.01e-07/0.1203, allocations: 0 / 449.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001558/0.1218, allocations: 0.7554 MB / 450 MB, free: 14.88 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.1219, allocations: 55.41 kB / 450.1 MB, free: 14.81 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.1221, allocations: 207.7 kB / 450.3 MB, free: 14.6 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.1221, allocations: 33.8 kB / 450.3 MB, free: 14.56 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.368e-05/0.1222, allocations: 167.8 kB / 450.5 MB, free: 14.39 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/0.1222, allocations: 55.2 kB / 450.6 MB, free: 14.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.075e-05/0.1223, allocations: 4 kB / 450.6 MB, free: 14.33 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.1224, allocations: 342.7 kB / 450.9 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.1225, allocations: 67.91 kB / 451 MB, free: 13.92 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/0.1227, allocations: 102 kB / 451.1 MB, free: 13.8 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.1228, allocations: 79.25 kB / 451.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1228, allocations: 0 / 451.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004657/0.1233, allocations: 290.8 kB / 451.4 MB, free: 13.43 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.1233, allocations: 6.031 kB / 451.4 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.1233, allocations: 4 kB / 451.4 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002207/0.1236, allocations: 69.83 kB / 451.5 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.1237, allocations: 35.92 kB / 451.5 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002092/0.1258, allocations: 2.812 MB / 454.3 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.126, allocations: 15.98 kB / 454.4 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.126, allocations: 8 kB / 454.4 MB, free: 10.21 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 16 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001385/0.1261, allocations: 134.2 kB / 454.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.059e-05/0.1262, allocations: 15.81 kB / 454.5 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.986e-05/0.1262, allocations: 25.86 kB / 454.5 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.1262, allocations: 8.062 kB / 454.5 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1262, allocations: 0 / 454.5 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.1263, allocations: 0 / 454.5 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002796/0.1265, allocations: 289.5 kB / 454.8 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.1266, allocations: 0 / 454.8 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.009e-05/0.1266, allocations: 23.92 kB / 454.9 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001619/0.1268, allocations: 65.67 kB / 454.9 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.1268, allocations: 4 kB / 454.9 MB, free: 9.598 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001893/0.1287, allocations: 2.796 MB / 457.7 MB, free: 6.527 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1288, allocations: 0 / 457.7 MB, free: 6.527 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005637/0.1293, allocations: 412.8 kB / 458.1 MB, free: 6.102 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.724e-05/0.1294, allocations: 88.95 kB / 458.2 MB, free: 5.996 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.1294, allocations: 7.984 kB / 458.2 MB, free: 5.988 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.1296, allocations: 16 kB / 458.2 MB, free: 5.973 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.405e-05/0.1296, allocations: 15.97 kB / 458.2 MB, free: 5.957 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.1297, allocations: 4.141 kB / 458.2 MB, free: 5.953 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001197/0.1298, allocations: 161.5 kB / 458.4 MB, free: 5.797 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1298, allocations: 0 / 458.4 MB, free: 5.797 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003223/0.1301, allocations: 64 kB / 458.5 MB, free: 5.734 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (basicTransformer.i1) * 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 (9): * Single equations (assignments): 7 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001136/0.1302, allocations: 103.2 kB / 458.6 MB, free: 5.625 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005802/0.1308, allocations: 421.1 kB / 459 MB, free: 5.188 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.1308, allocations: 4 kB / 459 MB, free: 5.184 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003825/0.1312, allocations: 333.6 kB / 459.3 MB, free: 4.832 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/0.1316, allocations: 39.11 kB / 459.3 MB, free: 4.797 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009482/0.1325, allocations: 0.6302 MB / 460 MB, free: 4.137 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.1328, allocations: 0.748 MB / 460.7 MB, free: 3.363 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.005e-05/0.1329, allocations: 19.44 kB / 460.7 MB, free: 3.348 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1329, allocations: 0 / 460.7 MB, free: 3.348 MB / 334.1 MB Notification: Performance of Templates: time 0.005868/0.1388, allocations: 4.498 MB / 465.2 MB, free: 14.85 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.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 OMCppModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomerCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomerCalcHelperMain.o] Error 1