Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer") translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009604/0.0009605, allocations: 89.62 kB / 17.63 MB, free: 6.16 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.001105/0.001105, allocations: 182.4 kB / 18.52 MB, free: 5.32 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.523/1.523, allocations: 223.2 MB / 242.5 MB, free: 14.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2468/0.2468, allocations: 44.22 MB / 337.9 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003232/0.0003232, allocations: 8 kB / 410.2 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1317, allocations: 61.92 MB / 472.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.003036/0.1348, allocations: 2.151 MB / 474.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009949/0.1358, allocations: 0.5691 MB / 474.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.136, allocations: 4 kB / 474.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001176/0.1361, allocations: 31.77 kB / 474.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.1362, allocations: 55.48 kB / 475 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002369/0.1365, allocations: 59.92 kB / 475 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002923/0.1368, allocations: 262.7 kB / 475.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002108/0.137, allocations: 72.64 kB / 475.4 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.1371, allocations: 99.64 kB / 475.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001558/0.1373, allocations: 95.55 kB / 475.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.243e-05/0.1374, allocations: 12 kB / 475.6 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.494e-05/0.1374, allocations: 12 kB / 475.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.486e-05/0.1375, allocations: 51.75 kB / 475.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.791e-05/0.1375, allocations: 73.58 kB / 475.7 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.1378, allocations: 195.7 kB / 475.9 MB, free: 9.996 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.1378, allocations: 0 / 475.9 MB, free: 9.996 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1378, allocations: 0 / 475.9 MB, free: 9.996 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.1378, allocations: 0 / 475.9 MB, free: 9.996 MB / 350.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.0007769/0.1386, allocations: 0.4989 MB / 476.4 MB, free: 9.449 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.1386, allocations: 12.56 kB / 476.4 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.266e-05/0.1387, allocations: 27.62 kB / 476.4 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003093/0.139, allocations: 238.6 kB / 476.7 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.1391, allocations: 16.44 kB / 476.7 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.824e-05/0.1391, allocations: 16 kB / 476.7 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003726/0.1395, allocations: 195.2 kB / 476.9 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.1395, allocations: 0 / 476.9 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.783e-05/0.1395, allocations: 16 kB / 476.9 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.1395, allocations: 4 kB / 476.9 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002863/0.1398, allocations: 145.7 kB / 477.1 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001322/0.1412, allocations: 0.8142 MB / 477.9 MB, free: 7.855 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002069/0.1414, allocations: 98.53 kB / 478 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.1415, allocations: 57.02 kB / 478 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.1415, allocations: 7.938 kB / 478 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.1416, allocations: 34.52 kB / 478.1 MB, free: 7.641 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.1416, allocations: 0 / 478.1 MB, free: 7.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001791/0.1434, allocations: 0.7479 MB / 478.8 MB, free: 6.836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.1434, allocations: 51.41 kB / 478.9 MB, free: 6.773 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/0.1437, allocations: 219.7 kB / 479.1 MB, free: 6.547 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.1437, allocations: 26.36 kB / 479.1 MB, free: 6.516 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.1438, allocations: 167.8 kB / 479.3 MB, free: 6.348 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.944e-05/0.1439, allocations: 63.09 kB / 479.3 MB, free: 6.285 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.135e-05/0.1439, allocations: 4 kB / 479.3 MB, free: 6.281 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1441, allocations: 326.8 kB / 479.6 MB, free: 5.953 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.1442, allocations: 63.97 kB / 479.7 MB, free: 5.891 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/0.1444, allocations: 105.1 kB / 479.8 MB, free: 5.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.1446, allocations: 90.22 kB / 479.9 MB, free: 5.684 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1446, allocations: 0 / 479.9 MB, free: 5.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000512/0.1451, allocations: 287 kB / 480.2 MB, free: 5.391 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.1451, allocations: 8 kB / 480.2 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1451, allocations: 0 / 480.2 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002228/0.1454, allocations: 73.62 kB / 480.3 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.1455, allocations: 31.98 kB / 480.3 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002341/0.1479, allocations: 2.812 MB / 483.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.148, allocations: 12.03 kB / 483.1 MB, free: 2.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.148, allocations: 4 kB / 483.1 MB, free: 2.176 MB / 350.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.0001556/0.1482, allocations: 149.8 kB / 483.3 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.638e-05/0.1482, allocations: 19.77 kB / 483.3 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.74e-05/0.1483, allocations: 21.88 kB / 483.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.1483, allocations: 4 kB / 483.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.1483, allocations: 0 / 483.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1483, allocations: 3.984 kB / 483.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003327/0.1487, allocations: 281.5 kB / 483.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1487, allocations: 0 / 483.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.083e-05/0.1488, allocations: 23.98 kB / 483.6 MB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001688/0.1489, allocations: 61.67 kB / 483.7 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.149, allocations: 15.94 kB / 483.7 MB, free: 1.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002324/0.1513, allocations: 2.792 MB / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.1513, allocations: 3.984 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006538/0.152, allocations: 396.9 kB / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.634e-05/0.1521, allocations: 92.95 kB / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.1521, allocations: 0 / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.1523, allocations: 32 kB / 487 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.386e-05/0.1523, allocations: 19.97 kB / 487 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.377e-06/0.1523, allocations: 0 / 487 MB, free: 13.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001391/0.1525, allocations: 148.2 kB / 487.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.894e-06/0.1525, allocations: 0 / 487.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003483/0.1529, allocations: 67.94 kB / 487.2 MB, free: 13.7 MB / 366.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.0001403/0.153, allocations: 103.2 kB / 487.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006887/0.1537, allocations: 417.4 kB / 487.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.1537, allocations: 3.984 kB / 487.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004254/0.1541, allocations: 329.2 kB / 488.1 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004263/0.1546, allocations: 35.98 kB / 488.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.1557, allocations: 0.6258 MB / 488.7 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000402/0.1561, allocations: 0.7517 MB / 489.5 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.644e-05/0.1561, allocations: 19.42 kB / 489.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1562, allocations: 0 / 489.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of Templates: time 0.007294/0.1635, allocations: 4.486 MB / 494 MB, free: 6.832 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.makefile make -j1 -f ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Electrical.SingularTransfomerCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomerCalcHelperMain.o] Error 1