Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001107/0.001106, allocations: 92.31 kB / 17.63 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001693/0.001693, allocations: 198.2 kB / 18.54 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.676/1.676, allocations: 227.3 MB / 246.6 MB, free: 12 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002715/0.0002715, allocations: 8 kB / 307.3 MB, free: 1.621 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1478, allocations: 51.5 MB / 358.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.008855/0.1568, allocations: 6.794 MB / 365.6 MB, free: 7.301 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006751/0.1636, allocations: 2.564 MB / 368.2 MB, free: 4.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001797/0.1654, allocations: 63.62 kB / 368.2 MB, free: 4.668 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001485/0.1669, allocations: 433.3 kB / 368.6 MB, free: 4.242 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002498/0.1695, allocations: 0.6373 MB / 369.3 MB, free: 3.602 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.1705, allocations: 275.6 kB / 369.6 MB, free: 3.332 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.3177/0.4882, allocations: 3.35 MB / 372.9 MB, free: 9.047 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005569/0.4938, allocations: 2.502 MB / 375.4 MB, free: 8.629 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003007/0.4969, allocations: 1.182 MB / 376.6 MB, free: 8.629 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004058/0.5009, allocations: 1.592 MB / 378.2 MB, free: 8.625 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008102/0.5018, allocations: 188.1 kB / 378.4 MB, free: 8.625 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001739/0.5035, allocations: 367.5 kB / 378.7 MB, free: 8.625 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001353/0.5049, allocations: 0.9059 MB / 379.6 MB, free: 8.625 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001192/0.5061, allocations: 0.655 MB / 380.3 MB, free: 8.594 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006802/0.5129, allocations: 4.962 MB / 385.2 MB, free: 7.625 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.5129, allocations: 1.188 kB / 385.2 MB, free: 7.625 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.5129, allocations: 0 / 385.2 MB, free: 7.625 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000224/0.5132, allocations: 4 kB / 385.3 MB, free: 7.621 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.009803/0.523, allocations: 3.225 MB / 388.5 MB, free: 5.758 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.5231, allocations: 9.406 kB / 388.5 MB, free: 5.758 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002945/0.526, allocations: 439.2 kB / 388.9 MB, free: 5.555 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005012/0.531, allocations: 2.028 MB / 390.9 MB, free: 4.828 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000209/0.5313, allocations: 219.7 kB / 391.2 MB, free: 4.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008206/0.5321, allocations: 289.4 kB / 391.4 MB, free: 4.812 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008144/0.5403, allocations: 4.178 MB / 395.6 MB, free: 3.289 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.438e-05/0.5403, allocations: 2.406 kB / 395.6 MB, free: 3.289 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002678/0.5406, allocations: 116.6 kB / 395.7 MB, free: 3.199 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001457/0.5407, allocations: 142.1 kB / 395.9 MB, free: 3.176 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005615/0.5464, allocations: 3.481 MB / 399.4 MB, free: 1.336 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02086/0.5673, allocations: 10.96 MB / 410.3 MB, free: 7.117 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002963/0.5703, allocations: 2.646 MB / 413 MB, free: 4.266 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00238/0.5727, allocations: 1.497 MB / 414.5 MB, free: 2.77 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002642/0.5729, allocations: 133.5 kB / 414.6 MB, free: 2.625 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.715e-05/0.573, allocations: 48.97 kB / 414.6 MB, free: 2.57 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 4.478e-06/0.573, allocations: 0 / 414.6 MB, free: 2.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=133): time 0.01031/0.5833, allocations: 5.18 MB / 419.8 MB, free: 13.35 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.069e-05/0.5834, allocations: 90.42 kB / 419.9 MB, free: 13.24 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00354/0.587, allocations: 1.898 MB / 421.8 MB, free: 11.34 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000176/0.5872, allocations: 47.03 kB / 421.8 MB, free: 11.29 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001152/0.5883, allocations: 1.323 MB / 423.2 MB, free: 9.949 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004546/0.5888, allocations: 459.7 kB / 423.6 MB, free: 9.504 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.487e-05/0.5889, allocations: 25.48 kB / 423.6 MB, free: 9.48 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.5891, allocations: 365.9 kB / 424 MB, free: 9.117 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001343/0.5904, allocations: 0.8198 MB / 424.8 MB, free: 8.297 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001566/0.592, allocations: 1.178 MB / 426 MB, free: 6.977 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001514/0.5935, allocations: 1.021 MB / 427 MB, free: 5.957 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.5936, allocations: 0 / 427 MB, free: 5.957 MB / 334.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004537/0.5981, allocations: 2.523 MB / 429.5 MB, free: 3.422 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.084e-05/0.5982, allocations: 8.938 kB / 429.6 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.53e-05/0.5982, allocations: 12 kB / 429.6 MB, free: 3.402 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001823/0.6, allocations: 484.4 kB / 430 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/0.6014, allocations: 331.5 kB / 430.4 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005243/0.6066, allocations: 4.069 MB / 434.4 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001762/0.6084, allocations: 75.94 kB / 434.5 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001761/0.6086, allocations: 69.84 kB / 434.6 MB, free: 14.28 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002403/0.611, allocations: 1.048 MB / 435.6 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006288/0.6116, allocations: 189.7 kB / 435.8 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003741/0.6154, allocations: 2.146 MB / 438 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.555e-05/0.6154, allocations: 23.89 kB / 438 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/0.6155, allocations: 4 kB / 438 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.495e-05/0.6155, allocations: 11.91 kB / 438 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009253/0.6247, allocations: 5.203 MB / 443.2 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.759e-06/0.6248, allocations: 0 / 443.2 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009476/0.6258, allocations: 235.9 kB / 443.4 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001859/0.6276, allocations: 454.1 kB / 443.9 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.661e-05/0.6277, allocations: 32.69 kB / 443.9 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005495/0.6332, allocations: 3.967 MB / 447.9 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.6333, allocations: 0 / 447.9 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005839/0.6391, allocations: 3.258 MB / 451.1 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001273/0.6404, allocations: 462.7 kB / 451.6 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002592/0.6407, allocations: 27.98 kB / 451.6 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/0.6418, allocations: 108 kB / 451.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002307/0.642, allocations: 98.08 kB / 451.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/0.6421, allocations: 47.98 kB / 451.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002288/0.6444, allocations: 1.319 MB / 453.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.6444, allocations: 4 kB / 453.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002165/0.6466, allocations: 0.5479 MB / 453.7 MB, free: 10.86 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005181/0.6471, allocations: 195.7 kB / 453.9 MB, free: 10.67 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003648/0.6508, allocations: 2.186 MB / 456.1 MB, free: 8.469 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/0.6508, allocations: 7.938 kB / 456.1 MB, free: 8.461 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001979/0.6528, allocations: 1.212 MB / 457.3 MB, free: 7.238 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002696/0.6555, allocations: 498.5 kB / 457.8 MB, free: 6.754 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0119/0.6674, allocations: 6.75 MB / 464.6 MB, free: 15.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002306/0.6698, allocations: 2.363 MB / 466.9 MB, free: 13.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008571/0.6706, allocations: 139.4 kB / 467.1 MB, free: 13.42 MB / 382.1 MB Notification: Performance of SimCode: time 8.61e-07/0.6706, allocations: 0 / 467.1 MB, free: 13.42 MB / 382.1 MB Notification: Performance of Templates: time 0.0804/0.751, allocations: 50.56 MB / 0.5055 GB, free: 10.97 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbenchCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbenchCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbenchCalcHelperMain.o] Error 1