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.001005/0.001004, allocations: 98.86 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.001114/0.001114, allocations: 176.5 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.195/2.195, 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.0006493/0.0006493, allocations: 16.33 kB / 282 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1331, allocations: 47.58 MB / 329.6 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.008428/0.1415, allocations: 7.165 MB / 336.8 MB, free: 12.55 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006334/0.1479, allocations: 2.673 MB / 339.5 MB, free: 9.871 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001502/0.1495, allocations: 55.69 kB / 339.5 MB, free: 9.816 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001392/0.1509, allocations: 485.4 kB / 340 MB, free: 9.34 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002508/0.1534, allocations: 0.6725 MB / 340.7 MB, free: 8.664 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001228/0.1546, allocations: 395.5 kB / 341 MB, free: 8.277 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005729/0.1604, allocations: 3.772 MB / 344.8 MB, free: 4.492 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003986/0.1644, allocations: 2.785 MB / 347.6 MB, free: 1.648 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003653/0.1681, allocations: 1.217 MB / 348.8 MB, free: 448 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00333/0.1714, allocations: 1.665 MB / 350.5 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005049/0.1719, allocations: 196 kB / 350.7 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001403/0.1734, allocations: 439.4 kB / 351.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001117/0.1745, allocations: 0.915 MB / 352 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002443/0.1769, allocations: 1.634 MB / 353.6 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007349/0.1843, allocations: 4.967 MB / 358.6 MB, free: 6.598 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/0.1844, allocations: 4 kB / 358.6 MB, free: 6.594 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.981e-06/0.1844, allocations: 0 / 358.6 MB, free: 6.594 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002141/0.1846, allocations: 0 / 358.6 MB, free: 6.594 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.008406/0.193, allocations: 3.147 MB / 361.8 MB, free: 3.383 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.381e-05/0.1931, allocations: 12.03 kB / 361.8 MB, free: 3.371 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001671/0.1948, allocations: 388.7 kB / 362.2 MB, free: 2.988 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004123/0.1989, allocations: 1.956 MB / 364.1 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001982/0.1991, allocations: 217.8 kB / 364.3 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00052/0.1997, allocations: 284 kB / 364.6 MB, free: 496 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008202/0.2079, allocations: 4.198 MB / 368.8 MB, free: 12.23 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.386e-05/0.208, allocations: 7.938 kB / 368.8 MB, free: 12.23 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002892/0.2083, allocations: 116 kB / 368.9 MB, free: 12.11 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001881/0.2085, allocations: 137.9 kB / 369.1 MB, free: 11.98 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006703/0.2152, allocations: 3.501 MB / 372.6 MB, free: 8.465 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3093/0.5245, allocations: 11 MB / 383.6 MB, free: 35.44 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003944/0.5285, allocations: 2.645 MB / 386.2 MB, free: 34.28 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003238/0.5318, allocations: 1.485 MB / 387.7 MB, free: 34.26 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003113/0.5321, allocations: 122.4 kB / 387.8 MB, free: 34.16 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.059e-05/0.5322, allocations: 51.72 kB / 387.9 MB, free: 34.12 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 5.1e-06/0.5322, allocations: 3.719 kB / 387.9 MB, free: 34.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=133): time 0.01285/0.5451, allocations: 5.317 MB / 393.2 MB, free: 33.28 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.834e-05/0.5452, allocations: 95.83 kB / 393.3 MB, free: 33.18 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003904/0.5491, allocations: 1.91 MB / 395.2 MB, free: 32.73 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002853/0.5494, allocations: 49.14 kB / 395.2 MB, free: 32.69 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001195/0.5506, allocations: 1.321 MB / 396.6 MB, free: 31.68 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005579/0.5512, allocations: 458.5 kB / 397 MB, free: 31.34 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002136/0.5514, allocations: 122.8 kB / 397.1 MB, free: 31.28 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.5515, allocations: 302.5 kB / 397.4 MB, free: 30.98 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001602/0.5531, allocations: 0.8285 MB / 398.2 MB, free: 30.69 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001605/0.5548, allocations: 1.187 MB / 399.4 MB, free: 29.97 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002709/0.5575, allocations: 2.105 MB / 401.5 MB, free: 28.86 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.5575, allocations: 3.781 kB / 401.5 MB, free: 28.86 MB / 318.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004575/0.5621, allocations: 2.542 MB / 404.1 MB, free: 27.94 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.138e-05/0.5622, allocations: 7.875 kB / 404.1 MB, free: 27.94 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.964e-05/0.5622, allocations: 16.88 kB / 404.1 MB, free: 27.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00198/0.5642, allocations: 485.6 kB / 404.6 MB, free: 27.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001321/0.5655, allocations: 335 kB / 404.9 MB, free: 27.81 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004808/0.5704, allocations: 4.07 MB / 409 MB, free: 25.06 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002292/0.5727, allocations: 90.05 kB / 409.1 MB, free: 25.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002482/0.573, allocations: 60.38 kB / 409.1 MB, free: 25 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.002744/0.5757, allocations: 1.048 MB / 410.2 MB, free: 24.34 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008393/0.5766, allocations: 193.8 kB / 410.4 MB, free: 24.24 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00352/0.5801, allocations: 2.149 MB / 412.5 MB, free: 22.14 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.766e-05/0.5802, allocations: 27.98 kB / 412.5 MB, free: 22.11 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.5802, allocations: 4 kB / 412.5 MB, free: 22.11 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.797e-05/0.5802, allocations: 7.922 kB / 412.6 MB, free: 22.1 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009067/0.5893, allocations: 5.209 MB / 417.8 MB, free: 16.86 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.457e-05/0.5893, allocations: 7.984 kB / 417.8 MB, free: 16.86 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009351/0.5903, allocations: 238.6 kB / 418 MB, free: 16.63 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00187/0.5922, allocations: 468.8 kB / 418.5 MB, free: 16.18 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001059/0.5923, allocations: 31.98 kB / 418.5 MB, free: 16.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004586/0.5969, allocations: 3.977 MB / 422.5 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-06/0.5969, allocations: 7.875 kB / 422.5 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005161/0.6021, allocations: 3.263 MB / 425.7 MB, free: 8.754 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001416/0.6036, allocations: 465.6 kB / 426.2 MB, free: 8.281 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002826/0.6039, allocations: 29.17 kB / 426.2 MB, free: 8.254 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/0.6049, allocations: 111.9 kB / 426.3 MB, free: 8.145 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002825/0.6052, allocations: 98.27 kB / 426.4 MB, free: 8.051 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.84e-05/0.6053, allocations: 39.98 kB / 426.5 MB, free: 8.012 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001969/0.6073, allocations: 1.334 MB / 427.8 MB, free: 6.684 MB / 318.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.6073, allocations: 4 kB / 427.8 MB, free: 6.68 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002505/0.6098, allocations: 0.552 MB / 428.4 MB, free: 6.133 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.0007527/0.6106, allocations: 216.1 kB / 428.6 MB, free: 5.934 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003768/0.6143, allocations: 2.202 MB / 430.8 MB, free: 3.758 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/0.6144, allocations: 1.875 kB / 430.8 MB, free: 3.758 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002009/0.6164, allocations: 1.229 MB / 432 MB, free: 2.539 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003607/0.62, allocations: 0.489 MB / 432.5 MB, free: 2.062 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01525/0.6353, allocations: 7.087 MB / 439.6 MB, free: 10.93 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003232/0.6386, allocations: 2.367 MB / 441.9 MB, free: 8.531 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001168/0.6399, allocations: 143.4 kB / 442.1 MB, free: 8.391 MB / 334.1 MB Notification: Performance of SimCode: time 2.334e-06/0.6399, allocations: 4 kB / 442.1 MB, free: 8.387 MB / 334.1 MB Notification: Performance of Templates: time 0.1233/0.7632, allocations: 50.53 MB / 492.6 MB, free: 5.801 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