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.001016/0.001016, allocations: 92.81 kB / 16.67 MB, free: 6.105 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.001222/0.001222, allocations: 180.9 kB / 17.57 MB, free: 5.824 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.903/1.903, allocations: 205.4 MB / 223.8 MB, free: 13.09 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.2621/0.2621, allocations: 43.59 MB / 315.6 MB, free: 428 kB / 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.000699/0.000699, allocations: 18.38 kB / 385.2 MB, free: 56.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.162, allocations: 58.87 MB / 444.1 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.003244/0.1653, allocations: 2.199 MB / 446.3 MB, free: 2.953 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.1666, allocations: 0.6359 MB / 446.9 MB, free: 2.309 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.1667, allocations: 4 kB / 446.9 MB, free: 2.305 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001555/0.1669, allocations: 27.77 kB / 447 MB, free: 2.277 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000145/0.167, allocations: 63.48 kB / 447 MB, free: 2.215 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003075/0.1674, allocations: 59.92 kB / 447.1 MB, free: 2.156 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003704/0.1677, allocations: 274.8 kB / 447.3 MB, free: 1.887 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002515/0.168, allocations: 76.95 kB / 447.4 MB, free: 1.809 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001827/0.1682, allocations: 99.59 kB / 447.5 MB, free: 1.711 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/0.1684, allocations: 111.4 kB / 447.6 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.446e-05/0.1684, allocations: 12 kB / 447.6 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.607e-05/0.1685, allocations: 12 kB / 447.7 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.864e-05/0.1685, allocations: 39.83 kB / 447.7 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.1687, allocations: 137.1 kB / 447.8 MB, free: 1.398 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002512/0.1689, allocations: 191.5 kB / 448 MB, free: 1.211 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.169, allocations: 0 / 448 MB, free: 1.211 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.169, allocations: 0 / 448 MB, free: 1.211 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.169, allocations: 4 kB / 448 MB, free: 1.207 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.0008846/0.1699, allocations: 0.5068 MB / 448.5 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.221e-05/0.1699, allocations: 8.031 kB / 448.5 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.12e-05/0.17, allocations: 28.66 kB / 448.6 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003853/0.1704, allocations: 241.1 kB / 448.8 MB, free: 352 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/0.1705, allocations: 20.75 kB / 448.8 MB, free: 332 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.758e-05/0.1705, allocations: 24.38 kB / 448.8 MB, free: 308 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000539/0.1711, allocations: 191.6 kB / 449 MB, free: 112 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.1711, allocations: 0 / 449 MB, free: 112 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.158e-05/0.1712, allocations: 12 kB / 449 MB, free: 100 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.1712, allocations: 4 kB / 449 MB, free: 96 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005006/0.1717, allocations: 145.7 kB / 449.2 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002521/0.1743, allocations: 0.8219 MB / 450 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003367/0.1746, allocations: 98.48 kB / 450.1 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.1748, allocations: 52.84 kB / 450.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.1748, allocations: 0 / 450.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.219e-05/0.1749, allocations: 34.56 kB / 450.2 MB, free: 14.85 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.683e-06/0.1749, allocations: 192 / 450.2 MB, free: 14.85 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.002215/0.1771, allocations: 0.7563 MB / 450.9 MB, free: 14.03 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.1772, allocations: 59.34 kB / 451 MB, free: 13.96 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002279/0.1774, allocations: 207.8 kB / 451.2 MB, free: 13.75 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.1774, allocations: 33.64 kB / 451.2 MB, free: 13.71 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.1776, allocations: 167.8 kB / 451.4 MB, free: 13.54 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.65e-05/0.1776, allocations: 59.2 kB / 451.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.098e-05/0.1777, allocations: 25.7 kB / 451.5 MB, free: 13.45 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.1779, allocations: 330.8 kB / 451.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.178, allocations: 67.91 kB / 451.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00023/0.1783, allocations: 114 kB / 452 MB, free: 12.92 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003439/0.1786, allocations: 184.3 kB / 452.2 MB, free: 12.73 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1787, allocations: 0 / 452.2 MB, free: 12.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005512/0.1792, allocations: 286.9 kB / 452.4 MB, free: 12.43 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.1792, allocations: 6.188 kB / 452.4 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.1793, allocations: 4 kB / 452.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000276/0.1795, allocations: 73.61 kB / 452.5 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.1797, allocations: 31.98 kB / 452.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003143/0.1829, allocations: 2.812 MB / 455.4 MB, free: 9.238 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.183, allocations: 16.02 kB / 455.4 MB, free: 9.223 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.685e-05/0.1831, allocations: 8.062 kB / 455.4 MB, free: 9.215 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001617/0.1833, allocations: 142.2 kB / 455.5 MB, free: 9.066 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.532e-05/0.1833, allocations: 19.81 kB / 455.5 MB, free: 9.047 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.913e-05/0.1834, allocations: 29.8 kB / 455.6 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1834, allocations: 0 / 455.6 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.1834, allocations: 4 kB / 455.6 MB, free: 9.016 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1834, allocations: 0 / 455.6 MB, free: 9.016 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003575/0.1838, allocations: 289.4 kB / 455.9 MB, free: 8.684 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.1838, allocations: 0 / 455.9 MB, free: 8.684 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.319e-05/0.1839, allocations: 19.98 kB / 455.9 MB, free: 8.664 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001903/0.1841, allocations: 65.67 kB / 455.9 MB, free: 8.594 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.1841, allocations: 7.938 kB / 456 MB, free: 8.586 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002822/0.1869, allocations: 2.797 MB / 458.8 MB, free: 5.516 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1869, allocations: 0 / 458.8 MB, free: 5.516 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007453/0.1877, allocations: 408.7 kB / 459.2 MB, free: 5.094 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.504e-05/0.1878, allocations: 92.95 kB / 459.2 MB, free: 4.984 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.1878, allocations: 3.984 kB / 459.2 MB, free: 4.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.188, allocations: 20.06 kB / 459.3 MB, free: 4.961 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.809e-05/0.1881, allocations: 23.91 kB / 459.3 MB, free: 4.938 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.1881, allocations: 7.938 kB / 459.3 MB, free: 4.93 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001543/0.1883, allocations: 157.4 kB / 459.5 MB, free: 4.777 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1883, allocations: 0 / 459.5 MB, free: 4.777 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000358/0.1887, allocations: 64 kB / 459.5 MB, free: 4.715 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001394/0.1888, allocations: 103.2 kB / 459.6 MB, free: 4.605 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000723/0.1895, allocations: 417.2 kB / 460 MB, free: 4.172 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1896, allocations: 0 / 460 MB, free: 4.172 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004509/0.19, allocations: 329.2 kB / 460.3 MB, free: 3.824 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000432/0.1905, allocations: 47.62 kB / 460.4 MB, free: 3.781 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.1916, allocations: 0.6578 MB / 461 MB, free: 3.094 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.192, allocations: 0.748 MB / 461.8 MB, free: 2.32 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.819e-05/0.1921, allocations: 15.44 kB / 461.8 MB, free: 2.309 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1921, allocations: 3.938 kB / 461.8 MB, free: 2.305 MB / 334.1 MB Notification: Performance of Templates: time 0.007299/0.1994, allocations: 4.484 MB / 466.3 MB, free: 13.82 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++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/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