Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.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.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 104.2 kB / 17.8 MB, free: 5.578 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.001641/0.001642, allocations: 189.9 kB / 18.72 MB, free: 4.664 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.153/2.153, allocations: 205.1 MB / 224.6 MB, free: 12.49 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.00129/0.00129, allocations: 52.25 kB / 280.6 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1369, allocations: 46.63 MB / 327.2 MB, free: 4.902 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.009722/0.1467, allocations: 7.678 MB / 334.9 MB, free: 13.18 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007287/0.154, allocations: 2.692 MB / 337.6 MB, free: 10.48 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002139/0.1563, allocations: 51.69 kB / 337.7 MB, free: 10.43 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00182/0.1581, allocations: 489.4 kB / 338.1 MB, free: 9.945 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002887/0.161, allocations: 0.6841 MB / 338.8 MB, free: 9.258 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.1622, allocations: 391.6 kB / 339.2 MB, free: 8.875 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004593/0.1668, allocations: 3.776 MB / 343 MB, free: 5.086 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003459/0.1703, allocations: 2.82 MB / 345.8 MB, free: 2.207 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003746/0.174, allocations: 1.412 MB / 347.2 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003559/0.1776, allocations: 1.942 MB / 349.2 MB, free: 14.85 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006813/0.1783, allocations: 288 kB / 349.4 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001761/0.1801, allocations: 0.515 MB / 350 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001304/0.1814, allocations: 1.059 MB / 351 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002858/0.1842, allocations: 1.777 MB / 352.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005071/0.1893, allocations: 5.094 MB / 357.9 MB, free: 6.102 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.858e-06/0.1894, allocations: 4 kB / 357.9 MB, free: 6.098 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1894, allocations: 0 / 357.9 MB, free: 6.098 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000135/0.1895, allocations: 0 / 357.9 MB, free: 6.098 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.00933/0.1989, allocations: 3.771 MB / 361.7 MB, free: 2.262 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.1989, allocations: 12.03 kB / 361.7 MB, free: 2.25 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.2, allocations: 388.6 kB / 362.1 MB, free: 1.867 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003312/0.2033, allocations: 1.952 MB / 364 MB, free: 15.86 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000173/0.2035, allocations: 229.7 kB / 364.2 MB, free: 15.63 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003932/0.2039, allocations: 287.9 kB / 364.5 MB, free: 15.35 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007657/0.2116, allocations: 4.183 MB / 368.7 MB, free: 11.12 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.594e-05/0.2117, allocations: 0 / 368.7 MB, free: 11.12 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002702/0.2119, allocations: 116 kB / 368.8 MB, free: 11 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001852/0.2121, allocations: 141.9 kB / 368.9 MB, free: 10.86 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005952/0.2181, allocations: 3.49 MB / 372.4 MB, free: 7.363 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3683/0.5864, allocations: 10.94 MB / 383.4 MB, free: 45.45 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004495/0.591, allocations: 2.638 MB / 386 MB, free: 44.29 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003689/0.5947, allocations: 1.484 MB / 387.5 MB, free: 43.92 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003807/0.5952, allocations: 122.4 kB / 387.6 MB, free: 43.82 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.516e-05/0.5953, allocations: 56.38 kB / 387.7 MB, free: 43.77 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 4.899e-06/0.5953, allocations: 0 / 387.7 MB, free: 43.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=133): time 0.01488/0.6102, allocations: 5.279 MB / 393 MB, free: 41.54 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.865e-05/0.6103, allocations: 94.17 kB / 393 MB, free: 41.44 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004259/0.6146, allocations: 1.911 MB / 395 MB, free: 40.75 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003075/0.6149, allocations: 51.47 kB / 395 MB, free: 40.7 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001147/0.6161, allocations: 1.323 MB / 396.3 MB, free: 39.7 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005514/0.6167, allocations: 454.3 kB / 396.8 MB, free: 39.36 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005494/0.6172, allocations: 270.8 kB / 397 MB, free: 39.23 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.783e-05/0.6173, allocations: 306.2 kB / 397.3 MB, free: 38.93 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001566/0.6189, allocations: 0.8144 MB / 398.2 MB, free: 38.64 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001402/0.6203, allocations: 1.187 MB / 399.3 MB, free: 37.92 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002766/0.6231, allocations: 2.094 MB / 401.4 MB, free: 36.69 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-05/0.6231, allocations: 2.625 kB / 401.4 MB, free: 36.69 MB / 318.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004611/0.6277, allocations: 2.527 MB / 404 MB, free: 35.38 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.547e-05/0.6278, allocations: 11.81 kB / 404 MB, free: 35.38 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.903e-05/0.6279, allocations: 7.938 kB / 404 MB, free: 35.38 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00189/0.6297, allocations: 486.3 kB / 404.5 MB, free: 35.13 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/0.6312, allocations: 330.1 kB / 404.8 MB, free: 35.05 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005301/0.6365, allocations: 4.063 MB / 408.8 MB, free: 31.99 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002419/0.639, allocations: 87.23 kB / 408.9 MB, free: 31.95 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002623/0.6393, allocations: 64.42 kB / 409 MB, free: 31.93 MB / 318.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 (158): * Single equations (assignments): 153 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002579/0.6419, allocations: 1.044 MB / 410 MB, free: 30.97 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001026/0.6429, allocations: 193.8 kB / 410.2 MB, free: 30.78 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004334/0.6473, allocations: 2.148 MB / 412.4 MB, free: 28.62 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.866e-05/0.6474, allocations: 16 kB / 412.4 MB, free: 28.61 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.147e-05/0.6474, allocations: 4 kB / 412.4 MB, free: 28.6 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.447e-05/0.6474, allocations: 9.172 kB / 412.4 MB, free: 28.59 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01159/0.659, allocations: 5.189 MB / 417.6 MB, free: 23.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.561e-05/0.6591, allocations: 4 kB / 417.6 MB, free: 23.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009865/0.6601, allocations: 223.7 kB / 417.8 MB, free: 23.12 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001941/0.6621, allocations: 460.5 kB / 418.3 MB, free: 22.67 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001558/0.6623, allocations: 46.05 kB / 418.3 MB, free: 22.63 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004576/0.6668, allocations: 3.958 MB / 422.3 MB, free: 18.54 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/0.6669, allocations: 3.938 kB / 422.3 MB, free: 18.54 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005656/0.6726, allocations: 3.257 MB / 425.5 MB, free: 15.24 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001591/0.6742, allocations: 450.8 kB / 426 MB, free: 14.78 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008215/0.675, allocations: 35.92 kB / 426 MB, free: 14.74 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00164/0.6767, allocations: 95.97 kB / 426.1 MB, free: 14.65 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003281/0.6771, allocations: 92.8 kB / 426.2 MB, free: 14.56 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001432/0.6772, allocations: 43.98 kB / 426.2 MB, free: 14.52 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.002912/0.6801, allocations: 1.338 MB / 427.6 MB, free: 13.18 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6801, allocations: 0 / 427.6 MB, free: 13.18 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003158/0.6833, allocations: 0.566 MB / 428.1 MB, free: 12.62 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * 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 (104): * Single equations (assignments): 99 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008643/0.6842, allocations: 210.2 kB / 428.3 MB, free: 12.42 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004122/0.6883, allocations: 2.184 MB / 430.5 MB, free: 10.23 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/0.6884, allocations: 0 / 430.5 MB, free: 10.23 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002119/0.6905, allocations: 1.222 MB / 431.7 MB, free: 8.992 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004222/0.6947, allocations: 0.4931 MB / 432.2 MB, free: 8.508 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01599/0.7108, allocations: 7.041 MB / 439.3 MB, free: 1.422 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003721/0.7145, allocations: 2.36 MB / 441.6 MB, free: 15.04 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001517/0.7161, allocations: 147.4 kB / 441.8 MB, free: 14.89 MB / 334.1 MB Notification: Performance of SimCode: time 3.026e-06/0.7162, allocations: 0 / 441.8 MB, free: 14.89 MB / 334.1 MB Notification: Performance of Templates: time 0.1105/0.8267, allocations: 50.93 MB / 492.7 MB, free: 11.86 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.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.Machines.Examples.Transformers.TransformerTestbenchCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbenchCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbenchCalcHelperMain.o] Error 1