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.001144/0.001144, allocations: 98.7 kB / 17.96 MB, free: 5.77 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.0015/0.001501, allocations: 177.8 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.039/2.039, allocations: 205.4 MB / 225 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.000563/0.0005634, allocations: 8 kB / 282 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1521, allocations: 47.58 MB / 329.6 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.03308/0.1852, allocations: 27.64 MB / 357.3 MB, free: 7.984 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0245/0.2098, allocations: 7.325 MB / 364.6 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008248/0.2182, allocations: 203.3 kB / 364.8 MB, free: 448 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009099/0.2273, allocations: 2.022 MB / 366.8 MB, free: 14.41 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01825/0.2456, allocations: 2.741 MB / 369.5 MB, free: 11.65 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009261/0.2549, allocations: 1.751 MB / 371.3 MB, free: 9.902 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.4192/0.6741, allocations: 18.46 MB / 389.8 MB, free: 9.938 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1489/0.8231, allocations: 43.75 MB / 433.5 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02722/0.8505, allocations: 7.172 MB / 440.7 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02509/0.8757, allocations: 8.59 MB / 449.3 MB, free: 6.949 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009404/0.8852, allocations: 1.172 MB / 450.4 MB, free: 5.777 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01449/0.8997, allocations: 1.416 MB / 451.9 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01/0.9097, allocations: 3.528 MB / 455.4 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02735/0.9371, allocations: 8.758 MB / 464.1 MB, free: 8.281 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05095/0.9881, allocations: 33.73 MB / 497.9 MB, free: 7.141 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.01e-05/0.9882, allocations: 4 kB / 497.9 MB, free: 7.137 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.045e-06/0.9882, allocations: 0 / 497.9 MB, free: 7.137 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.001783/0.99, allocations: 0 / 497.9 MB, free: 7.137 MB / 398.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.06969/1.06, allocations: 18.81 MB / 0.5046 GB, free: 4.344 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.896e-05/1.06, allocations: 15.97 kB / 0.5046 GB, free: 4.328 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07238/1.132, allocations: 12.33 MB / 0.5166 GB, free: 8.098 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03184/1.164, allocations: 10.56 MB / 0.5269 GB, free: 13.99 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002064/1.166, allocations: 1.396 MB / 0.5283 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01071/1.177, allocations: 1.829 MB / 0.5301 GB, free: 10.79 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7315/1.909, allocations: 30.89 MB / 0.5603 GB, free: 115.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001227/1.91, allocations: 19.81 kB / 0.5603 GB, free: 115.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01001/1.92, allocations: 0.7622 MB / 0.561 GB, free: 114.6 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001266/1.921, allocations: 0.9867 MB / 0.562 GB, free: 114.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09961/2.021, allocations: 27.91 MB / 0.5892 GB, free: 101.4 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2313/2.252, allocations: 94.63 MB / 0.6816 GB, free: 6.938 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.7276/2.98, allocations: 53.36 MB / 0.7338 GB, free: 118.5 MB / 478.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01388/2.994, allocations: 5.895 MB / 0.7395 GB, free: 118.4 MB / 478.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03383/3.028, allocations: 16.88 MB / 0.756 GB, free: 110.4 MB / 478.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.021e-05/3.028, allocations: 87.64 kB / 0.7561 GB, free: 110.3 MB / 478.3 MB Notification: Performance of pre-optimization done (n=439): time 6.001e-06/3.028, allocations: 0 / 0.7561 GB, free: 110.3 MB / 478.3 MB Notification: Performance of matching and sorting (n=439): time 0.03272/3.061, allocations: 13.47 MB / 0.7692 GB, free: 106.3 MB / 478.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.125e-05/3.061, allocations: 121.8 kB / 0.7694 GB, free: 106.2 MB / 478.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01275/3.073, allocations: 7.484 MB / 0.7767 GB, free: 103.5 MB / 478.3 MB Notification: Performance of collectPreVariables (initialization): time 0.001047/3.075, allocations: 97.27 kB / 0.7768 GB, free: 103.4 MB / 478.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.005067/3.08, allocations: 8.514 MB / 0.7851 GB, free: 97.05 MB / 478.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.002293/3.082, allocations: 1.597 MB / 0.7866 GB, free: 95.87 MB / 478.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001325/3.083, allocations: 0.8576 MB / 0.7875 GB, free: 95.49 MB / 478.3 MB Notification: Performance of setup shared object (initialization): time 6.758e-05/3.083, allocations: 301.1 kB / 0.7878 GB, free: 95.2 MB / 478.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007424/3.091, allocations: 4.784 MB / 0.7924 GB, free: 93.48 MB / 478.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01018/3.101, allocations: 10.49 MB / 0.8027 GB, free: 84.04 MB / 478.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01829/3.119, allocations: 16.14 MB / 0.8184 GB, free: 71.05 MB / 478.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002735/3.12, allocations: 59.94 kB / 0.8185 GB, free: 71 MB / 478.3 MB Notification: Performance of matching and sorting (n=1411) (initialization): time 0.03213/3.152, allocations: 16.16 MB / 0.8343 GB, free: 55.52 MB / 478.3 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003415/3.152, allocations: 89 kB / 0.8344 GB, free: 55.43 MB / 478.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005166/3.153, allocations: 199.9 kB / 0.8346 GB, free: 55.24 MB / 478.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005916/3.159, allocations: 1.703 MB / 0.8362 GB, free: 53.53 MB / 478.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00908/3.168, allocations: 2.503 MB / 0.8387 GB, free: 51.02 MB / 478.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01571/3.184, allocations: 10.79 MB / 0.8492 GB, free: 40.1 MB / 478.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01253/3.196, allocations: 1.556 MB / 0.8507 GB, free: 38.53 MB / 478.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002731/3.199, allocations: 0.6015 MB / 0.8513 GB, free: 37.93 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.01744/3.216, allocations: 7.39 MB / 0.8585 GB, free: 30.52 MB / 478.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002346/3.219, allocations: 0.6326 MB / 0.8591 GB, free: 29.88 MB / 478.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01895/3.238, allocations: 8.254 MB / 0.8672 GB, free: 21.59 MB / 478.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01272/3.25, allocations: 6.654 MB / 0.8737 GB, free: 14.92 MB / 478.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.778e-05/3.251, allocations: 12 kB / 0.8737 GB, free: 14.91 MB / 478.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001095/3.251, allocations: 19.92 kB / 0.8737 GB, free: 14.89 MB / 478.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5367/3.787, allocations: 21.02 MB / 0.8943 GB, free: 139.8 MB / 494.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.624e-05/3.788, allocations: 2.125 kB / 0.8943 GB, free: 139.8 MB / 494.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004732/3.792, allocations: 0.7656 MB / 0.895 GB, free: 139.8 MB / 494.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006328/3.799, allocations: 1.453 MB / 0.8964 GB, free: 139.7 MB / 494.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001332/3.8, allocations: 95.94 kB / 0.8965 GB, free: 139.7 MB / 494.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02321/3.823, allocations: 10.44 MB / 0.9067 GB, free: 136.4 MB / 494.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/3.823, allocations: 1.281 kB / 0.9067 GB, free: 136.4 MB / 494.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02829/3.852, allocations: 11.98 MB / 0.9184 GB, free: 131.7 MB / 494.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00618/3.858, allocations: 1.376 MB / 0.9198 GB, free: 130.9 MB / 494.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002844/3.861, allocations: 79.44 kB / 0.9198 GB, free: 130.8 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00538/3.866, allocations: 312.9 kB / 0.9201 GB, free: 130.8 MB / 494.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001193/3.868, allocations: 294.9 kB / 0.9204 GB, free: 130.7 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004111/3.868, allocations: 128.9 kB / 0.9205 GB, free: 130.7 MB / 494.3 MB Notification: Performance of sorting global known variables: time 0.0165/3.884, allocations: 4.923 MB / 0.9254 GB, free: 129 MB / 494.3 MB Notification: Performance of sort global known variables: time 1.823e-06/3.885, allocations: 0 / 0.9254 GB, free: 129 MB / 494.3 MB Notification: Performance of remove unused functions: time 0.02504/3.91, allocations: 4.19 MB / 0.9294 GB, free: 127.7 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.002388/3.912, allocations: 270.3 kB / 0.9297 GB, free: 127.5 MB / 494.3 MB Notification: Performance of simCode: created initialization part: time 0.03047/3.943, allocations: 11.12 MB / 0.9406 GB, free: 123.3 MB / 494.3 MB Notification: Performance of simCode: created event and clocks part: time 3.049e-05/3.943, allocations: 7.906 kB / 0.9406 GB, free: 123.3 MB / 494.3 MB Notification: Performance of simCode: created simulation system equations: time 0.01184/3.955, allocations: 4.027 MB / 0.9445 GB, free: 121.6 MB / 494.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01505/3.97, allocations: 1.454 MB / 0.9459 GB, free: 121.1 MB / 494.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1062/4.076, allocations: 37.03 MB / 0.9821 GB, free: 93.82 MB / 494.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03732/4.113, allocations: 11.24 MB / 0.9931 GB, free: 85.14 MB / 494.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004409/4.118, allocations: 0.5959 MB / 0.9937 GB, free: 84.57 MB / 494.3 MB Notification: Performance of SimCode: time 1.022e-06/4.118, allocations: 0 / 0.9937 GB, free: 84.57 MB / 494.3 MB Notification: Performance of Templates: time 1.404/5.522, allocations: 287.6 MB / 1.274 GB, free: 151.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