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.0009166/0.000917, allocations: 92.77 kB / 17.58 MB, free: 5.805 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.0008503/0.0008503, allocations: 179.8 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.896/1.896, 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.0004434/0.0004434, allocations: 12.94 kB / 281.4 MB, free: 3.703 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1134, allocations: 47.58 MB / 329 MB, free: 4.055 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.00528/0.1187, allocations: 5.018 MB / 334 MB, free: 15.01 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002643/0.1214, allocations: 1.727 MB / 335.7 MB, free: 13.27 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002403/0.1216, allocations: 16 kB / 335.7 MB, free: 13.26 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004496/0.1221, allocations: 210.9 kB / 336 MB, free: 13.05 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001354/0.1235, allocations: 0.6885 MB / 336.6 MB, free: 12.36 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004644/0.1239, allocations: 227.7 kB / 336.9 MB, free: 12.14 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007947/0.1247, allocations: 0.817 MB / 337.7 MB, free: 11.32 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002562/0.1273, allocations: 1.506 MB / 339.2 MB, free: 9.77 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000371/0.1277, allocations: 318.7 kB / 339.5 MB, free: 9.457 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004524/0.1282, allocations: 450.2 kB / 339.9 MB, free: 9.016 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.351e-05/0.1282, allocations: 40 kB / 340 MB, free: 8.977 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003463/0.1286, allocations: 199.8 kB / 340.2 MB, free: 8.781 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.1287, allocations: 147.3 kB / 340.3 MB, free: 8.637 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.1288, allocations: 185.2 kB / 340.5 MB, free: 8.449 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008051/0.1296, allocations: 0.9464 MB / 341.4 MB, free: 7.5 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1297, allocations: 4 kB / 341.4 MB, free: 7.496 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1297, allocations: 0 / 341.4 MB, free: 7.496 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.1297, allocations: 0 / 341.4 MB, free: 7.496 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.0027/0.1324, allocations: 1.245 MB / 342.7 MB, free: 6.199 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.1324, allocations: 15.97 kB / 342.7 MB, free: 6.184 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006055/0.1385, allocations: 0.9668 MB / 343.7 MB, free: 5.215 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005522/0.1391, allocations: 445.7 kB / 344.1 MB, free: 4.738 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.317e-05/0.1391, allocations: 86.17 kB / 344.2 MB, free: 4.652 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/0.1393, allocations: 104 kB / 344.3 MB, free: 4.551 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001779/0.1411, allocations: 1.125 MB / 345.4 MB, free: 3.387 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.902e-05/0.1411, allocations: 7.906 kB / 345.4 MB, free: 3.379 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.529e-05/0.1412, allocations: 40 kB / 345.5 MB, free: 3.34 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.383e-05/0.1412, allocations: 24 kB / 345.5 MB, free: 3.316 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001819/0.1431, allocations: 1.144 MB / 346.6 MB, free: 2.176 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005026/0.1481, allocations: 3.972 MB / 350.6 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003207/0.1513, allocations: 3.748 MB / 354.4 MB, free: 9.539 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004686/0.1518, allocations: 328.6 kB / 354.7 MB, free: 9.207 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.897e-05/0.1519, allocations: 97.66 kB / 354.8 MB, free: 9.094 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/0.152, allocations: 43.11 kB / 354.8 MB, free: 9.043 MB / 302.1 MB Notification: Performance of pre-optimization done (n=71): time 2.204e-06/0.152, allocations: 0 / 354.8 MB, free: 9.043 MB / 302.1 MB Notification: Performance of matching and sorting (n=71): time 0.001351/0.1533, allocations: 0.7678 MB / 355.6 MB, free: 8.27 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.386e-05/0.1534, allocations: 115.6 kB / 355.7 MB, free: 8.133 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003287/0.1538, allocations: 320.3 kB / 356 MB, free: 7.816 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.965e-05/0.1538, allocations: 37.7 kB / 356 MB, free: 7.773 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002812/0.1541, allocations: 445.9 kB / 356.5 MB, free: 7.328 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001782/0.1543, allocations: 248.4 kB / 356.7 MB, free: 7.082 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.639e-05/0.1543, allocations: 20 kB / 356.7 MB, free: 7.062 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.1545, allocations: 358.7 kB / 357.1 MB, free: 6.703 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004305/0.1549, allocations: 249.9 kB / 357.3 MB, free: 6.457 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006286/0.1556, allocations: 0.5591 MB / 357.9 MB, free: 5.754 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005247/0.1561, allocations: 343 kB / 358.2 MB, free: 5.418 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.1561, allocations: 7.938 kB / 358.2 MB, free: 5.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001342/0.1575, allocations: 0.9027 MB / 359.1 MB, free: 4.5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.1575, allocations: 8 kB / 359.1 MB, free: 4.492 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.942e-05/0.1575, allocations: 8 kB / 359.2 MB, free: 4.484 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.1575, allocations: 20.75 kB / 359.2 MB, free: 4.465 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007115/0.1583, allocations: 239.6 kB / 359.4 MB, free: 4.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.732e-05/0.1583, allocations: 27.86 kB / 359.4 MB, free: 4.203 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000401/0.1587, allocations: 103 kB / 359.5 MB, free: 4.102 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.852e-05/0.1588, allocations: 40 kB / 359.6 MB, free: 4.062 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000315/0.1591, allocations: 245.4 kB / 359.8 MB, free: 3.812 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.1592, allocations: 47.53 kB / 359.9 MB, free: 3.766 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001137/0.1604, allocations: 0.69 MB / 360.6 MB, free: 3.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.1604, allocations: 8 kB / 360.6 MB, free: 3.062 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.1604, allocations: 3.984 kB / 360.6 MB, free: 3.059 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.1604, allocations: 4 kB / 360.6 MB, free: 3.055 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002239/0.1626, allocations: 1.594 MB / 362.2 MB, free: 1.402 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.1627, allocations: 4 kB / 362.2 MB, free: 1.398 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005503/0.1632, allocations: 155.8 kB / 362.3 MB, free: 1.246 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.1632, allocations: 4 kB / 362.3 MB, free: 1.242 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.714e-05/0.1633, allocations: 19.94 kB / 362.3 MB, free: 1.223 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.1633, allocations: 4 kB / 362.3 MB, free: 1.219 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1633, allocations: 0 / 362.3 MB, free: 1.219 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001461/0.1648, allocations: 1.173 MB / 363.5 MB, free: 28 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.1649, allocations: 140.3 kB / 363.7 MB, free: 15.87 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.891e-05/0.1649, allocations: 12 kB / 363.7 MB, free: 15.86 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003168/0.1653, allocations: 36.05 kB / 363.7 MB, free: 15.82 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.9e-05/0.1654, allocations: 40.59 kB / 363.7 MB, free: 15.79 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/0.1654, allocations: 20 kB / 363.8 MB, free: 15.77 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001907/0.1656, allocations: 211.1 kB / 364 MB, free: 15.56 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1656, allocations: 0 / 364 MB, free: 15.56 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007241/0.1663, allocations: 243.1 kB / 364.2 MB, free: 15.32 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002452/0.1666, allocations: 155 kB / 364.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001064/0.1677, allocations: 0.6984 MB / 365.1 MB, free: 14.46 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1677, allocations: 0 / 365.1 MB, free: 14.46 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004632/0.1681, allocations: 323.6 kB / 365.4 MB, free: 14.15 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005487/0.1687, allocations: 45.86 kB / 365.4 MB, free: 14.1 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.1711, allocations: 1.811 MB / 367.2 MB, free: 12.25 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004782/0.1716, allocations: 0.9244 MB / 368.2 MB, free: 11.3 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001878/0.1718, allocations: 63.42 kB / 368.2 MB, free: 11.24 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1718, allocations: 4 kB / 368.2 MB, free: 11.23 MB / 318.1 MB Notification: Performance of Templates: time 0.01046/0.1822, allocations: 7.916 MB / 376.1 MB, free: 3.301 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++ 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.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