Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.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.QuasiStationary.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.pin_p.reference.gamma|voltageSource.pin_p.reference.gamma|idealTransformer.v1.re|idealTransformer.v1.im|idealTransformer.i1.re|idealTransformer.i1.im|idealTransformer.v2.re|idealTransformer.v2.im|idealTransformer.i2.re|idealTransformer.i2.im",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.pin_p.reference.gamma|voltageSource.pin_p.reference.gamma|idealTransformer.v1.re|idealTransformer.v1.im|idealTransformer.i1.re|idealTransformer.i1.im|idealTransformer.v2.re|idealTransformer.v2.im|idealTransformer.i2.re|idealTransformer.i2.im",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 109.5 kB / 17.81 MB, free: 5.559 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.00182/0.00182, allocations: 197.9 kB / 18.73 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.147/2.147, allocations: 205.1 MB / 224.6 MB, free: 12.47 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.001823/0.001823, allocations: 51.92 kB / 280.6 MB, free: 3.574 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1374, allocations: 46.62 MB / 327.2 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.008066/0.1455, allocations: 5.858 MB / 333.1 MB, free: 14.99 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003965/0.1495, allocations: 1.881 MB / 335 MB, free: 13.1 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005788/0.1501, allocations: 20 kB / 335 MB, free: 13.08 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003346/0.1535, allocations: 1.549 MB / 336.6 MB, free: 11.52 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002197/0.1557, allocations: 0.7585 MB / 337.3 MB, free: 10.76 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008814/0.1566, allocations: 251.6 kB / 337.6 MB, free: 10.52 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001496/0.1581, allocations: 0.856 MB / 338.4 MB, free: 9.656 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001993/0.1601, allocations: 0.7989 MB / 339.2 MB, free: 8.832 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009143/0.161, allocations: 374.4 kB / 339.6 MB, free: 8.465 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001103/0.1621, allocations: 0.5136 MB / 340.1 MB, free: 7.949 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001281/0.1623, allocations: 72 kB / 340.2 MB, free: 7.879 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006403/0.1629, allocations: 219.8 kB / 340.4 MB, free: 7.664 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001862/0.1631, allocations: 187.2 kB / 340.6 MB, free: 7.48 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005075/0.1636, allocations: 449.7 kB / 341 MB, free: 7.039 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.1647, allocations: 0.9702 MB / 342 MB, free: 6.066 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1647, allocations: 0 / 342 MB, free: 6.066 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.62e-07/0.1647, allocations: 0 / 342 MB, free: 6.066 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.1648, allocations: 0 / 342 MB, free: 6.066 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.00354/0.1683, allocations: 1.428 MB / 343.4 MB, free: 4.586 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.1684, allocations: 8.031 kB / 343.4 MB, free: 4.578 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00679/0.1752, allocations: 0.9676 MB / 344.4 MB, free: 3.609 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008659/0.176, allocations: 451 kB / 344.8 MB, free: 3.121 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.215e-05/0.1761, allocations: 78.55 kB / 344.9 MB, free: 3.043 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00017/0.1763, allocations: 108.4 kB / 345 MB, free: 2.938 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0022/0.1785, allocations: 1.129 MB / 346.1 MB, free: 1.77 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.229e-05/0.1786, allocations: 0 / 346.1 MB, free: 1.77 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001082/0.1787, allocations: 44 kB / 346.2 MB, free: 1.727 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.094e-05/0.1787, allocations: 28 kB / 346.2 MB, free: 1.699 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002026/0.1808, allocations: 1.132 MB / 347.3 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005859/0.1866, allocations: 3.964 MB / 351.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004076/0.1907, allocations: 3.76 MB / 355.1 MB, free: 7.926 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005249/0.1913, allocations: 320.6 kB / 355.4 MB, free: 7.605 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001397/0.1914, allocations: 101.6 kB / 355.5 MB, free: 7.488 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.071e-05/0.1915, allocations: 47 kB / 355.5 MB, free: 7.434 MB / 302.1 MB Notification: Performance of pre-optimization done (n=71): time 4.649e-06/0.1915, allocations: 3.938 kB / 355.5 MB, free: 7.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=71): time 0.00159/0.1931, allocations: 0.7561 MB / 356.3 MB, free: 6.668 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.611e-05/0.1932, allocations: 115.3 kB / 356.4 MB, free: 6.531 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004161/0.1936, allocations: 328.2 kB / 356.7 MB, free: 6.199 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.657e-05/0.1937, allocations: 37.7 kB / 356.7 MB, free: 6.156 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00034/0.194, allocations: 446.1 kB / 357.2 MB, free: 5.711 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002086/0.1943, allocations: 240.6 kB / 357.4 MB, free: 5.473 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002553/0.1945, allocations: 174.5 kB / 357.6 MB, free: 5.297 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.1947, allocations: 350.8 kB / 357.9 MB, free: 4.945 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004669/0.1952, allocations: 253.8 kB / 358.2 MB, free: 4.695 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007307/0.1959, allocations: 0.5552 MB / 358.7 MB, free: 3.996 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/0.1972, allocations: 0.8715 MB / 359.6 MB, free: 2.98 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.752e-06/0.1972, allocations: 8 kB / 359.6 MB, free: 2.973 MB / 302.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001519/0.1987, allocations: 0.9071 MB / 360.5 MB, free: 2.059 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.526e-05/0.1988, allocations: 15.94 kB / 360.5 MB, free: 2.043 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.997e-05/0.1988, allocations: 8 kB / 360.5 MB, free: 2.035 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.792e-05/0.1988, allocations: 16 kB / 360.6 MB, free: 2.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008153/0.1996, allocations: 231.6 kB / 360.8 MB, free: 1.793 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.333e-05/0.1997, allocations: 23.92 kB / 360.8 MB, free: 1.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005927/0.2003, allocations: 111 kB / 360.9 MB, free: 1.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.612e-05/0.2004, allocations: 48 kB / 361 MB, free: 1.613 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (122): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004068/0.2008, allocations: 229.5 kB / 361.2 MB, free: 1.379 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.2009, allocations: 51.38 kB / 361.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001316/0.2022, allocations: 0.6823 MB / 361.9 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/0.2023, allocations: 8 kB / 361.9 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.2023, allocations: 0 / 361.9 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/0.2023, allocations: 7.984 kB / 361.9 MB, free: 0.625 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002816/0.2051, allocations: 1.594 MB / 363.5 MB, free: 14.97 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-05/0.2052, allocations: 7.875 kB / 363.5 MB, free: 14.96 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005938/0.2058, allocations: 147.8 kB / 363.7 MB, free: 14.82 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.167e-05/0.2058, allocations: 4 kB / 363.7 MB, free: 14.82 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.207e-05/0.2059, allocations: 16 kB / 363.7 MB, free: 14.8 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/0.2059, allocations: 4 kB / 363.7 MB, free: 14.8 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.2059, allocations: 4 kB / 363.7 MB, free: 14.79 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001858/0.2077, allocations: 1.162 MB / 364.9 MB, free: 13.61 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001877/0.2079, allocations: 136.4 kB / 365 MB, free: 13.46 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.179e-05/0.208, allocations: 16.06 kB / 365 MB, free: 13.45 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003763/0.2084, allocations: 23.98 kB / 365 MB, free: 13.42 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/0.2086, allocations: 44.59 kB / 365.1 MB, free: 13.38 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-05/0.2086, allocations: 20 kB / 365.1 MB, free: 13.36 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000259/0.2089, allocations: 211.1 kB / 365.3 MB, free: 13.16 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2089, allocations: 0 / 365.3 MB, free: 13.16 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000999/0.2099, allocations: 251 kB / 365.6 MB, free: 12.91 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.pin_p.reference.gamma,voltageSource.pin_p.reference.gamma) * 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 (78): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003954/0.2103, allocations: 143.1 kB / 365.7 MB, free: 12.76 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001342/0.2117, allocations: 0.6912 MB / 366.4 MB, free: 12.07 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.2117, allocations: 4.062 kB / 366.4 MB, free: 12.06 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005482/0.2122, allocations: 323.6 kB / 366.7 MB, free: 11.75 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007165/0.213, allocations: 45.03 kB / 366.7 MB, free: 11.7 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003113/0.2161, allocations: 1.846 MB / 368.6 MB, free: 9.82 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006183/0.2167, allocations: 0.9244 MB / 369.5 MB, free: 8.871 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002299/0.217, allocations: 63.42 kB / 369.6 MB, free: 8.809 MB / 318.1 MB Notification: Performance of SimCode: time 4.91e-07/0.217, allocations: 0 / 369.6 MB, free: 8.809 MB / 318.1 MB Notification: Performance of Templates: time 0.01584/0.2328, allocations: 7.966 MB / 377.5 MB, free: 0.8281 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.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 OMCppModelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.TransformerCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.TransformerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.TransformerCalcHelperMain.o] Error 1