Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.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.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008532/0.0008533, allocations: 91.28 kB / 17.58 MB, free: 5.797 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.0009788/0.0009788, allocations: 180.4 kB / 18.48 MB, free: 5.254 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.799/1.799, 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.0004579/0.0004579, allocations: 12 kB / 281.4 MB, free: 3.707 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1276, allocations: 47.58 MB / 329 MB, free: 4.055 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.003868/0.1316, allocations: 3.188 MB / 332.2 MB, free: 0.8438 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001765/0.1333, allocations: 0.9671 MB / 333.1 MB, free: 15.87 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002228/0.1336, allocations: 23.88 kB / 333.2 MB, free: 15.85 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002852/0.1339, allocations: 107.2 kB / 333.3 MB, free: 15.74 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006754/0.1346, allocations: 254.7 kB / 333.5 MB, free: 15.49 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002169/0.1348, allocations: 91.91 kB / 333.6 MB, free: 15.4 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001397/0.1362, allocations: 1.494 MB / 335.1 MB, free: 13.9 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008937/0.1371, allocations: 0.7303 MB / 335.8 MB, free: 13.16 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005226/0.1376, allocations: 470.2 kB / 336.3 MB, free: 12.7 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000774/0.1384, allocations: 0.6265 MB / 336.9 MB, free: 12.07 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001173/0.1386, allocations: 76 kB / 337 MB, free: 11.99 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.1387, allocations: 75.94 kB / 337.1 MB, free: 11.92 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000345/0.1391, allocations: 358.9 kB / 337.4 MB, free: 11.57 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002366/0.1393, allocations: 273 kB / 337.7 MB, free: 11.29 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001378/0.1407, allocations: 1.609 MB / 339.3 MB, free: 9.68 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.1407, allocations: 0 / 339.3 MB, free: 9.68 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1407, allocations: 0 / 339.3 MB, free: 9.68 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.879e-05/0.1408, allocations: 0 / 339.3 MB, free: 9.68 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.002432/0.1432, allocations: 1.469 MB / 340.8 MB, free: 8.156 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.1432, allocations: 12.03 kB / 340.8 MB, free: 8.145 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002273/0.1435, allocations: 146.3 kB / 340.9 MB, free: 8 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.1447, allocations: 0.787 MB / 341.7 MB, free: 7.172 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.785e-05/0.1447, allocations: 78.22 kB / 341.8 MB, free: 7.094 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001621/0.1449, allocations: 111.9 kB / 341.9 MB, free: 6.984 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002494/0.1474, allocations: 1.537 MB / 343.4 MB, free: 5.402 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/0.1474, allocations: 0 / 343.4 MB, free: 5.402 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/0.1476, allocations: 44 kB / 343.5 MB, free: 5.359 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.834e-05/0.1476, allocations: 28 kB / 343.5 MB, free: 5.332 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002014/0.1496, allocations: 1.312 MB / 344.8 MB, free: 4.012 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006081/0.1557, allocations: 4.248 MB / 349.1 MB, free: 15.63 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/0.1569, allocations: 1.318 MB / 350.4 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006602/0.1576, allocations: 466.5 kB / 350.8 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.036e-05/0.1576, allocations: 8.375 kB / 350.8 MB, free: 13.67 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.1577, allocations: 39 kB / 350.9 MB, free: 13.62 MB / 302.1 MB Notification: Performance of pre-optimization done (n=49): time 2.785e-06/0.1577, allocations: 0 / 350.9 MB, free: 13.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.003531/0.1612, allocations: 1.966 MB / 352.8 MB, free: 11.6 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/0.1613, allocations: 63.78 kB / 352.9 MB, free: 11.52 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/0.1624, allocations: 0.8165 MB / 353.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.384e-05/0.1625, allocations: 33.7 kB / 353.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004607/0.1629, allocations: 0.5453 MB / 354.3 MB, free: 10.11 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001696/0.1631, allocations: 177.4 kB / 354.5 MB, free: 9.93 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-05/0.1632, allocations: 12 kB / 354.5 MB, free: 9.918 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002242/0.1634, allocations: 382.7 kB / 354.9 MB, free: 9.535 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004922/0.1639, allocations: 316.8 kB / 355.2 MB, free: 9.227 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006028/0.1645, allocations: 407.3 kB / 355.6 MB, free: 8.793 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005568/0.1651, allocations: 370 kB / 355.9 MB, free: 8.434 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1651, allocations: 0 / 355.9 MB, free: 8.434 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001479/0.1666, allocations: 0.9205 MB / 356.8 MB, free: 7.504 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/0.1666, allocations: 8 kB / 356.9 MB, free: 7.496 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.1666, allocations: 4 kB / 356.9 MB, free: 7.492 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003201/0.1669, allocations: 108.9 kB / 357 MB, free: 7.383 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000517/0.1675, allocations: 123.8 kB / 357.1 MB, free: 7.262 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002616/0.1701, allocations: 2.181 MB / 359.3 MB, free: 4.941 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004001/0.1705, allocations: 36.03 kB / 359.3 MB, free: 4.906 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.783e-05/0.1706, allocations: 16 kB / 359.3 MB, free: 4.891 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (60): * Single equations (assignments): 59 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008217/0.1714, allocations: 457.5 kB / 359.8 MB, free: 4.434 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.1715, allocations: 75.14 kB / 359.8 MB, free: 4.359 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001647/0.1717, allocations: 91.06 kB / 359.9 MB, free: 4.27 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.1717, allocations: 12.14 kB / 359.9 MB, free: 4.258 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.1717, allocations: 0 / 359.9 MB, free: 4.258 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1717, allocations: 7.938 kB / 359.9 MB, free: 4.25 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003256/0.175, allocations: 2.041 MB / 362 MB, free: 2.133 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.175, allocations: 4.156 kB / 362 MB, free: 2.129 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003416/0.1754, allocations: 95.88 kB / 362.1 MB, free: 2.035 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002293/0.1756, allocations: 100.8 kB / 362.2 MB, free: 1.934 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.596e-05/0.1757, allocations: 19.98 kB / 362.2 MB, free: 1.914 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002163/0.1778, allocations: 2.123 MB / 364.3 MB, free: 15.66 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.1779, allocations: 4.031 kB / 364.3 MB, free: 15.65 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0019/0.1798, allocations: 1.211 MB / 365.5 MB, free: 14.4 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000222/0.18, allocations: 160.3 kB / 365.7 MB, free: 14.23 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.364e-05/0.1801, allocations: 23.94 kB / 365.7 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003579/0.1805, allocations: 52.02 kB / 365.8 MB, free: 14.15 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.1806, allocations: 44.31 kB / 365.8 MB, free: 14.11 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.942e-05/0.1806, allocations: 16 kB / 365.8 MB, free: 14.09 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000791/0.1814, allocations: 0.5771 MB / 366.4 MB, free: 13.52 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1814, allocations: 0 / 366.4 MB, free: 13.52 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008517/0.1823, allocations: 212 kB / 366.6 MB, free: 13.31 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (transformerL.inductor[2].i,transformerL.inductor[3].i) * 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 (43): * Single equations (assignments): 42 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000216/0.1825, allocations: 127 kB / 366.7 MB, free: 13.18 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001343/0.1838, allocations: 0.8165 MB / 367.6 MB, free: 12.34 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1839, allocations: 0 / 367.6 MB, free: 12.34 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007168/0.1846, allocations: 0.4937 MB / 368 MB, free: 11.84 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.1856, allocations: 171 kB / 368.2 MB, free: 11.67 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004139/0.1898, allocations: 2.63 MB / 370.8 MB, free: 8.992 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001265/0.191, allocations: 1.317 MB / 372.2 MB, free: 7.645 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.1912, allocations: 55.38 kB / 372.2 MB, free: 7.59 MB / 318.1 MB Notification: Performance of SimCode: time 1.613e-06/0.1912, allocations: 0 / 372.2 MB, free: 7.59 MB / 318.1 MB Notification: Performance of Templates: time 0.2216/0.4129, allocations: 18.64 MB / 390.8 MB, free: 47.63 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.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.MultiPhase.Examples.TransformerYYCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYYCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYYCalcHelperMain.o] Error 1