Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.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.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001612/0.001612, 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.001988/0.001989, 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.051/2.051, allocations: 205.1 MB / 224.6 MB, free: 12.48 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.001439/0.001439, allocations: 51.92 kB / 280.6 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1451, allocations: 46.62 MB / 327.3 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.03426/0.1794, allocations: 28.99 MB / 356.2 MB, free: 7.766 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02764/0.2072, allocations: 7.356 MB / 363.6 MB, free: 396 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01315/0.2205, allocations: 207.3 kB / 363.8 MB, free: 188 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03829/0.2588, allocations: 12.5 MB / 376.3 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02009/0.2789, allocations: 2.749 MB / 379 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3852/0.6641, allocations: 1.762 MB / 380.8 MB, free: 9.973 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.04005/0.7042, allocations: 18.48 MB / 399.3 MB, free: 9.734 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.09337/0.7977, allocations: 37.37 MB / 436.7 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02771/0.8255, allocations: 9.011 MB / 445.7 MB, free: 5.984 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03007/0.8556, allocations: 11.12 MB / 456.8 MB, free: 11.44 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01335/0.869, allocations: 2.098 MB / 458.9 MB, free: 9.344 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02351/0.8926, allocations: 2.343 MB / 461.2 MB, free: 7.031 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.02105/0.9137, allocations: 4.865 MB / 466.1 MB, free: 2.285 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.04574/0.9595, allocations: 10.28 MB / 476.4 MB, free: 8.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.06066/1.02, allocations: 34.71 MB / 0.4991 GB, free: 6.145 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.148e-05/1.02, allocations: 0 / 0.4991 GB, free: 6.145 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.605e-06/1.02, allocations: 0 / 0.4991 GB, free: 6.145 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.002076/1.023, allocations: 0 / 0.4991 GB, free: 6.145 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5161 * Number of variables: 5161 Notification: Performance of Generate backend data structure: time 0.1198/1.142, allocations: 22.98 MB / 0.5216 GB, free: 15.21 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001046/1.143, allocations: 8.031 kB / 0.5216 GB, free: 15.21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07676/1.219, allocations: 12.29 MB / 0.5336 GB, free: 3.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6376/1.857, allocations: 10.53 MB / 0.5438 GB, free: 124.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002869/1.86, allocations: 1.399 MB / 0.5452 GB, free: 123.9 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01302/1.873, allocations: 1.826 MB / 0.547 GB, free: 123.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1205/1.994, allocations: 30.89 MB / 0.5772 GB, free: 111 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001208/1.995, allocations: 24.92 kB / 0.5772 GB, free: 111 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01044/2.005, allocations: 0.7565 MB / 0.5779 GB, free: 110.4 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00121/2.006, allocations: 0.9879 MB / 0.5789 GB, free: 110.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07572/2.082, allocations: 27.91 MB / 0.6061 GB, free: 82.55 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1847/2.267, allocations: 94.37 MB / 0.6983 GB, free: 2.781 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.6699/2.937, allocations: 53.41 MB / 0.7505 GB, free: 98.62 MB / 478.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01802/2.955, allocations: 5.931 MB / 0.7563 GB, free: 98.55 MB / 478.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03794/2.993, allocations: 16.86 MB / 0.7727 GB, free: 90.57 MB / 478.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.039e-05/2.993, allocations: 77.83 kB / 0.7728 GB, free: 90.5 MB / 478.3 MB Notification: Performance of pre-optimization done (n=439): time 7.424e-06/2.993, allocations: 3.969 kB / 0.7728 GB, free: 90.5 MB / 478.3 MB Notification: Performance of matching and sorting (n=439): time 0.03308/3.026, allocations: 13.42 MB / 0.7859 GB, free: 86.48 MB / 478.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.8e-05/3.027, allocations: 127 kB / 0.786 GB, free: 86.38 MB / 478.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01632/3.043, allocations: 7.489 MB / 0.7933 GB, free: 83.77 MB / 478.3 MB Notification: Performance of collectPreVariables (initialization): time 0.001259/3.044, allocations: 93.42 kB / 0.7934 GB, free: 83.69 MB / 478.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.008122/3.052, allocations: 8.519 MB / 0.8017 GB, free: 77.29 MB / 478.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.002913/3.055, allocations: 1.602 MB / 0.8033 GB, free: 76.1 MB / 478.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004237/3.06, allocations: 2.282 MB / 0.8055 GB, free: 75 MB / 478.3 MB Notification: Performance of setup shared object (initialization): time 9.147e-05/3.06, allocations: 301.1 kB / 0.8058 GB, free: 74.7 MB / 478.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007645/3.067, allocations: 4.783 MB / 0.8105 GB, free: 72.99 MB / 478.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0128/3.08, allocations: 10.48 MB / 0.8207 GB, free: 63.54 MB / 478.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02414/3.104, allocations: 16.15 MB / 0.8365 GB, free: 49.82 MB / 478.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003648/3.105, allocations: 60 kB / 0.8366 GB, free: 49.77 MB / 478.3 MB Notification: Performance of matching and sorting (n=1411) (initialization): time 0.04147/3.146, allocations: 16.16 MB / 0.8523 GB, free: 33.7 MB / 478.3 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005247/3.147, allocations: 88 kB / 0.8524 GB, free: 33.61 MB / 478.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007492/3.148, allocations: 199.9 kB / 0.8526 GB, free: 33.41 MB / 478.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00686/3.154, allocations: 1.703 MB / 0.8543 GB, free: 31.71 MB / 478.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01033/3.165, allocations: 2.499 MB / 0.8567 GB, free: 29.21 MB / 478.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01546/3.18, allocations: 10.77 MB / 0.8672 GB, free: 18.3 MB / 478.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0125/3.193, allocations: 1.561 MB / 0.8688 GB, free: 16.73 MB / 478.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002607/3.196, allocations: 0.6015 MB / 0.8694 GB, free: 16.13 MB / 478.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 898 * 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 (1318): * Single equations (assignments): 1309 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,80,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01795/3.214, allocations: 7.398 MB / 0.8766 GB, free: 8.711 MB / 478.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002235/3.216, allocations: 0.6287 MB / 0.8772 GB, free: 8.074 MB / 478.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01823/3.234, allocations: 8.253 MB / 0.8853 GB, free: 15.79 MB / 494.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01279/3.247, allocations: 6.654 MB / 0.8918 GB, free: 9.121 MB / 494.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.713e-05/3.247, allocations: 12 kB / 0.8918 GB, free: 9.109 MB / 494.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.09e-05/3.247, allocations: 19.92 kB / 0.8918 GB, free: 9.09 MB / 494.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4493/3.696, allocations: 21.01 MB / 0.9123 GB, free: 140.3 MB / 494.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.11e-05/3.696, allocations: 1.094 kB / 0.9123 GB, free: 140.3 MB / 494.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003502/3.7, allocations: 0.7676 MB / 0.9131 GB, free: 140.3 MB / 494.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007298/3.707, allocations: 1.452 MB / 0.9145 GB, free: 140 MB / 494.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001059/3.708, allocations: 101.4 kB / 0.9146 GB, free: 139.9 MB / 494.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01842/3.727, allocations: 10.41 MB / 0.9247 GB, free: 134.5 MB / 494.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.187e-05/3.727, allocations: 10.14 kB / 0.9247 GB, free: 134.5 MB / 494.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02648/3.753, allocations: 11.97 MB / 0.9364 GB, free: 129.8 MB / 494.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005183/3.759, allocations: 1.335 MB / 0.9377 GB, free: 129.1 MB / 494.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003189/3.762, allocations: 75.47 kB / 0.9378 GB, free: 129 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005421/3.767, allocations: 306.7 kB / 0.9381 GB, free: 129 MB / 494.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001628/3.769, allocations: 297.5 kB / 0.9384 GB, free: 128.9 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009995/3.77, allocations: 127.9 kB / 0.9385 GB, free: 128.9 MB / 494.3 MB Notification: Performance of sorting global known variables: time 0.01551/3.786, allocations: 4.922 MB / 0.9433 GB, free: 127.2 MB / 494.3 MB Notification: Performance of sort global known variables: time 4.21e-07/3.786, allocations: 0 / 0.9433 GB, free: 127.2 MB / 494.3 MB Notification: Performance of remove unused functions: time 0.02473/3.81, allocations: 4.184 MB / 0.9474 GB, free: 125.9 MB / 494.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (source.plug_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 (387): * Single equations (assignments): 378 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,80,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002365/3.813, allocations: 281.4 kB / 0.9477 GB, free: 125.7 MB / 494.3 MB Notification: Performance of simCode: created initialization part: time 0.02705/3.84, allocations: 11.12 MB / 0.9585 GB, free: 121.5 MB / 494.3 MB Notification: Performance of simCode: created event and clocks part: time 2.111e-05/3.84, allocations: 0 / 0.9585 GB, free: 121.5 MB / 494.3 MB Notification: Performance of simCode: created simulation system equations: time 0.01242/3.852, allocations: 4.027 MB / 0.9625 GB, free: 119.8 MB / 494.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01638/3.869, allocations: 1.456 MB / 0.9639 GB, free: 119.3 MB / 494.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09145/3.96, allocations: 37.01 MB / 1 GB, free: 85.45 MB / 494.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03369/3.994, allocations: 11.24 MB / 1.011 GB, free: 75.92 MB / 494.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004273/3.998, allocations: 0.5853 MB / 1.012 GB, free: 75.34 MB / 494.3 MB Notification: Performance of SimCode: time 1.843e-06/3.999, allocations: 0 / 1.012 GB, free: 75.34 MB / 494.3 MB Notification: Performance of Templates: time 1.405/5.403, allocations: 289.9 MB / 1.295 GB, free: 158.1 MB / 0.5139 GB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.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.Machines.Examples.TransformerTestbenchCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbenchCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbenchCalcHelperMain.o] Error 1