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.001089/0.00109, allocations: 99.45 kB / 17.96 MB, free: 5.766 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.001205/0.001205, allocations: 178.7 kB / 18.86 MB, free: 4.906 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.11/2.11, allocations: 205.4 MB / 225 MB, free: 12.98 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.0006063/0.0006071, allocations: 12 kB / 282 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1494, allocations: 47.58 MB / 329.6 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.008687/0.1582, allocations: 5.371 MB / 335 MB, free: 14.34 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005731/0.164, allocations: 1.854 MB / 336.8 MB, free: 12.48 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001332/0.1654, allocations: 23.94 kB / 336.9 MB, free: 12.45 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001405/0.1668, allocations: 282.8 kB / 337.1 MB, free: 12.18 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003081/0.1699, allocations: 0.7507 MB / 337.9 MB, free: 11.42 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.171, allocations: 259.5 kB / 338.1 MB, free: 11.17 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002073/0.1731, allocations: 0.8482 MB / 339 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00324/0.1763, allocations: 1.688 MB / 340.7 MB, free: 8.582 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000623/0.177, allocations: 322.5 kB / 341 MB, free: 8.266 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006094/0.1776, allocations: 477.9 kB / 341.5 MB, free: 7.797 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.1777, allocations: 40 kB / 341.5 MB, free: 7.758 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006497/0.1784, allocations: 207.8 kB / 341.7 MB, free: 7.555 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001558/0.1785, allocations: 155.2 kB / 341.9 MB, free: 7.402 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004651/0.179, allocations: 431.5 kB / 342.3 MB, free: 6.973 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001217/0.1802, allocations: 0.9503 MB / 343.2 MB, free: 6.02 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1802, allocations: 4 kB / 343.2 MB, free: 6.016 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1803, allocations: 0 / 343.2 MB, free: 6.016 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.1803, allocations: 0 / 343.2 MB, free: 6.016 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.003563/0.1838, allocations: 1.233 MB / 344.5 MB, free: 4.73 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.589e-05/0.1839, allocations: 15.97 kB / 344.5 MB, free: 4.715 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006874/0.1908, allocations: 0.9755 MB / 345.5 MB, free: 3.738 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008194/0.1916, allocations: 443 kB / 345.9 MB, free: 3.266 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.158e-05/0.1917, allocations: 78.55 kB / 346 MB, free: 3.188 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001962/0.1919, allocations: 112.3 kB / 346.1 MB, free: 3.078 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002302/0.1942, allocations: 1.141 MB / 347.2 MB, free: 1.898 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.112e-05/0.1943, allocations: 7.906 kB / 347.2 MB, free: 1.891 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/0.1944, allocations: 40 kB / 347.3 MB, free: 1.852 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.86e-05/0.1945, allocations: 28 kB / 347.3 MB, free: 1.824 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002101/0.1966, allocations: 1.148 MB / 348.4 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006113/0.2027, allocations: 3.968 MB / 352.4 MB, free: 12.47 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00462/0.2073, allocations: 3.763 MB / 356.2 MB, free: 8.031 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005084/0.2078, allocations: 324.6 kB / 356.5 MB, free: 7.707 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001114/0.208, allocations: 105.6 kB / 356.6 MB, free: 7.586 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.249e-05/0.208, allocations: 43.06 kB / 356.6 MB, free: 7.535 MB / 302.1 MB Notification: Performance of pre-optimization done (n=71): time 2.164e-06/0.208, allocations: 0 / 356.6 MB, free: 7.535 MB / 302.1 MB Notification: Performance of matching and sorting (n=71): time 0.001522/0.2096, allocations: 0.7642 MB / 357.4 MB, free: 6.766 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.504e-05/0.2097, allocations: 111.4 kB / 357.5 MB, free: 6.633 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003939/0.2101, allocations: 328.2 kB / 357.8 MB, free: 6.301 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.631e-05/0.2101, allocations: 41.77 kB / 357.9 MB, free: 6.254 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003467/0.2105, allocations: 445.9 kB / 358.3 MB, free: 5.809 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000215/0.2107, allocations: 244.5 kB / 358.5 MB, free: 5.566 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.965e-05/0.2108, allocations: 73.69 kB / 358.6 MB, free: 5.488 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.211, allocations: 358.8 kB / 359 MB, free: 5.129 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000453/0.2115, allocations: 253.9 kB / 359.2 MB, free: 4.883 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007364/0.2122, allocations: 0.5709 MB / 359.8 MB, free: 4.168 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001284/0.2135, allocations: 0.8832 MB / 360.7 MB, free: 3.141 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.2135, allocations: 0 / 360.7 MB, free: 3.141 MB / 302.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001498/0.215, allocations: 0.9109 MB / 361.6 MB, free: 2.223 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/0.2151, allocations: 11.94 kB / 361.6 MB, free: 2.211 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-05/0.2151, allocations: 15.98 kB / 361.6 MB, free: 2.195 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.694e-05/0.2151, allocations: 16 kB / 361.6 MB, free: 2.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007631/0.2159, allocations: 235.6 kB / 361.8 MB, free: 1.949 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.741e-05/0.2159, allocations: 24.27 kB / 361.9 MB, free: 1.926 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004991/0.2164, allocations: 103 kB / 362 MB, free: 1.824 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.328e-05/0.2165, allocations: 51.92 kB / 362 MB, free: 1.773 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.0003287/0.2168, allocations: 241.5 kB / 362.3 MB, free: 1.527 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.2169, allocations: 51.38 kB / 362.3 MB, free: 1.477 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/0.2182, allocations: 0.6939 MB / 363 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.2182, allocations: 8 kB / 363 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.2182, allocations: 4 kB / 363 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.2182, allocations: 3.984 kB / 363 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002448/0.2207, allocations: 1.594 MB / 364.6 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.2207, allocations: 7.938 kB / 364.6 MB, free: 15.1 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005619/0.2213, allocations: 155.8 kB / 364.8 MB, free: 14.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.2213, allocations: 4 kB / 364.8 MB, free: 14.94 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.617e-05/0.2214, allocations: 12 kB / 364.8 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.2214, allocations: 4 kB / 364.8 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.2214, allocations: 7.938 kB / 364.8 MB, free: 14.92 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001744/0.2231, allocations: 1.177 MB / 366 MB, free: 13.72 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.2232, allocations: 144.2 kB / 366.1 MB, free: 13.56 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.558e-05/0.2233, allocations: 16 kB / 366.1 MB, free: 13.55 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003524/0.2237, allocations: 23.98 kB / 366.2 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.2238, allocations: 44.66 kB / 366.2 MB, free: 13.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.333e-05/0.2238, allocations: 24 kB / 366.2 MB, free: 13.46 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002216/0.2241, allocations: 211.1 kB / 366.4 MB, free: 13.25 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.2241, allocations: 0 / 366.4 MB, free: 13.25 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000816/0.2249, allocations: 247.1 kB / 366.7 MB, free: 13.01 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.0002749/0.2252, allocations: 151 kB / 366.8 MB, free: 12.85 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001114/0.2263, allocations: 0.7061 MB / 367.5 MB, free: 12.14 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2263, allocations: 0.75 kB / 367.5 MB, free: 12.14 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004819/0.2268, allocations: 327.6 kB / 367.8 MB, free: 11.83 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000624/0.2274, allocations: 56.98 kB / 367.9 MB, free: 11.77 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002649/0.2301, allocations: 1.901 MB / 369.8 MB, free: 9.832 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005097/0.2306, allocations: 0.9205 MB / 370.7 MB, free: 8.887 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/0.2308, allocations: 63.42 kB / 370.8 MB, free: 8.824 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2308, allocations: 4 kB / 370.8 MB, free: 8.82 MB / 318.1 MB Notification: Performance of Templates: time 0.01204/0.2429, allocations: 7.876 MB / 378.7 MB, free: 0.9297 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