Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Electrical.SingularTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer") translateModel(ModelicaTest.Electrical.SingularTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009862/0.000986, allocations: 88.11 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001433/0.001433, allocations: 197.1 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.569/1.569, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2476/0.2476, allocations: 45.91 MB / 344.7 MB, free: 12.25 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002875/0.0002875, allocations: 4 kB / 418.6 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1511, allocations: 63.48 MB / 482.1 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.002804/0.1539, allocations: 2.165 MB / 484.3 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.155, allocations: 0.6158 MB / 484.9 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.1551, allocations: 4 kB / 484.9 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001152/0.1553, allocations: 31.77 kB / 484.9 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000122/0.1554, allocations: 67.45 kB / 485 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000224/0.1556, allocations: 47.94 kB / 485 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002732/0.1559, allocations: 266.8 kB / 485.3 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001763/0.1561, allocations: 75.64 kB / 485.4 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002238/0.1563, allocations: 95.64 kB / 485.5 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001678/0.1565, allocations: 103.5 kB / 485.6 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.168e-05/0.1566, allocations: 12 kB / 485.6 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.266e-05/0.1566, allocations: 16 kB / 485.6 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.562e-05/0.1567, allocations: 35.84 kB / 485.6 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.195e-05/0.1568, allocations: 69.58 kB / 485.7 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002467/0.157, allocations: 211.6 kB / 485.9 MB, free: 1.594 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.157, allocations: 0 / 485.9 MB, free: 1.594 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.157, allocations: 0 / 485.9 MB, free: 1.594 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.1571, allocations: 4 kB / 485.9 MB, free: 1.59 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.0007289/0.1578, allocations: 0.495 MB / 486.4 MB, free: 1.047 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.1578, allocations: 12.03 kB / 486.4 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002025/0.1581, allocations: 43.61 kB / 486.5 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.1584, allocations: 242.6 kB / 486.7 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.668e-05/0.1584, allocations: 16.44 kB / 486.7 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.122e-05/0.1584, allocations: 23.98 kB / 486.7 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003653/0.1588, allocations: 187.3 kB / 486.9 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.1588, allocations: 0 / 486.9 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.215e-05/0.1589, allocations: 12 kB / 486.9 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.1589, allocations: 4 kB / 486.9 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002883/0.1592, allocations: 145.7 kB / 487.1 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.1604, allocations: 0.8219 MB / 487.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.1606, allocations: 94.55 kB / 488 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.493e-05/0.1607, allocations: 48.84 kB / 488 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.1608, allocations: 8.188 kB / 488.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.1608, allocations: 34.5 kB / 488.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.263e-06/0.1608, allocations: 3.938 kB / 488.1 MB, free: 15.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001686/0.1625, allocations: 0.7447 MB / 488.8 MB, free: 14.42 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.1626, allocations: 55.41 kB / 488.9 MB, free: 14.35 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002127/0.1628, allocations: 207.7 kB / 489.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.1628, allocations: 29.7 kB / 489.1 MB, free: 14.1 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.1629, allocations: 171.8 kB / 489.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.71e-05/0.163, allocations: 59.16 kB / 489.3 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.017e-05/0.163, allocations: 4 kB / 489.4 MB, free: 13.87 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1632, allocations: 334.8 kB / 489.7 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.1633, allocations: 63.97 kB / 489.7 MB, free: 13.47 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.1635, allocations: 105.1 kB / 489.8 MB, free: 13.35 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.1636, allocations: 75.92 kB / 489.9 MB, free: 13.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.1636, allocations: 4 kB / 489.9 MB, free: 13.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004994/0.1641, allocations: 290.8 kB / 490.2 MB, free: 12.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.1642, allocations: 12.16 kB / 490.2 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1642, allocations: 0 / 490.2 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002234/0.1644, allocations: 65.67 kB / 490.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.1646, allocations: 31.98 kB / 490.3 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002237/0.1668, allocations: 2.808 MB / 493.1 MB, free: 9.781 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.167, allocations: 16.02 kB / 493.1 MB, free: 9.766 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.167, allocations: 4 kB / 493.1 MB, free: 9.762 MB / 366.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.0001527/0.1671, allocations: 149.7 kB / 493.3 MB, free: 9.605 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.51e-05/0.1672, allocations: 15.81 kB / 493.3 MB, free: 9.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.076e-05/0.1672, allocations: 25.86 kB / 493.3 MB, free: 9.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.1673, allocations: 4 kB / 493.3 MB, free: 9.566 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.1673, allocations: 0 / 493.3 MB, free: 9.566 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1673, allocations: 0 / 493.3 MB, free: 9.566 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002986/0.1676, allocations: 285.5 kB / 493.6 MB, free: 9.238 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.1676, allocations: 3.984 kB / 493.6 MB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.617e-05/0.1677, allocations: 12.66 kB / 493.6 MB, free: 9.223 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001705/0.1679, allocations: 81.88 kB / 493.7 MB, free: 9.137 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.1679, allocations: 8 kB / 493.7 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002093/0.17, allocations: 2.796 MB / 496.5 MB, free: 6.066 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.17, allocations: 0 / 496.5 MB, free: 6.066 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006097/0.1706, allocations: 403.6 kB / 496.9 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.259e-05/0.1707, allocations: 92.89 kB / 497 MB, free: 5.543 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.1707, allocations: 8.078 kB / 497 MB, free: 5.535 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.1709, allocations: 20.23 kB / 497 MB, free: 5.516 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.225e-05/0.171, allocations: 35.89 kB / 497.1 MB, free: 5.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/0.171, allocations: 0 / 497.1 MB, free: 5.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001569/0.1711, allocations: 152.2 kB / 497.2 MB, free: 5.332 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1711, allocations: 0 / 497.2 MB, free: 5.332 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003605/0.1715, allocations: 64 kB / 497.3 MB, free: 5.27 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.0001375/0.1717, allocations: 91.25 kB / 497.4 MB, free: 5.168 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000643/0.1723, allocations: 419.4 kB / 497.8 MB, free: 4.734 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/0.1723, allocations: 4 kB / 497.8 MB, free: 4.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003998/0.1727, allocations: 337.5 kB / 498.1 MB, free: 4.375 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.1731, allocations: 31.94 kB / 498.1 MB, free: 4.344 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.1741, allocations: 0.6334 MB / 498.8 MB, free: 3.688 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.1745, allocations: 0.748 MB / 499.5 MB, free: 2.914 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.272e-05/0.1745, allocations: 15.44 kB / 499.5 MB, free: 2.898 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1745, allocations: 0 / 499.5 MB, free: 2.898 MB / 366.1 MB Notification: Performance of Templates: time 0.00637/0.1809, allocations: 4.495 MB / 0.4922 GB, free: 14.4 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.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_trunk_ModelicaTest.Electrical.SingularTransformerCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformerCalcHelperMain.o] Error 1