Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001347/0.001347, allocations: 99.56 kB / 16.96 MB, free: 5.301 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.001389/0.001389, allocations: 186 kB / 17.84 MB, free: 4.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.615/1.615, allocations: 223.3 MB / 241.9 MB, free: 14.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003133/0.0003133, allocations: 8 kB / 301.5 MB, free: 6.168 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1524, allocations: 50.41 MB / 351.9 MB, free: 3.742 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.008991/0.1614, allocations: 6.791 MB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006535/0.168, allocations: 2.513 MB / 361.2 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001647/0.1697, allocations: 59.69 kB / 361.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001443/0.1712, allocations: 437.2 kB / 361.7 MB, free: 9.906 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002392/0.1736, allocations: 0.6412 MB / 362.3 MB, free: 9.262 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009515/0.1745, allocations: 271.6 kB / 362.6 MB, free: 8.996 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004593/0.1791, allocations: 3.347 MB / 365.9 MB, free: 5.637 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003627/0.1828, allocations: 2.499 MB / 368.4 MB, free: 3.098 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003211/0.186, allocations: 1.175 MB / 369.6 MB, free: 1.918 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003467/0.1895, allocations: 1.588 MB / 371.2 MB, free: 332 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004866/0.19, allocations: 188 kB / 371.4 MB, free: 144 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3142/0.5042, allocations: 359.9 kB / 371.7 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002382/0.5066, allocations: 0.903 MB / 372.6 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001951/0.5086, allocations: 0.6586 MB / 373.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009921/0.5185, allocations: 4.959 MB / 378.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.307e-06/0.5186, allocations: 0 / 378.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.238e-06/0.5186, allocations: 1.375 kB / 378.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002772/0.5189, allocations: 0 / 378.2 MB, free: 11.79 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.009811/0.5287, allocations: 3.225 MB / 381.5 MB, free: 10.35 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.918e-05/0.5288, allocations: 8.656 kB / 381.5 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001587/0.5303, allocations: 390 kB / 381.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003992/0.5344, allocations: 2.031 MB / 383.9 MB, free: 9.434 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002526/0.5346, allocations: 221.4 kB / 384.1 MB, free: 9.422 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000592/0.5352, allocations: 292.1 kB / 384.4 MB, free: 9.418 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009345/0.5446, allocations: 4.169 MB / 388.6 MB, free: 8.422 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.599e-05/0.5447, allocations: 0 / 388.6 MB, free: 8.422 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003185/0.545, allocations: 122.2 kB / 388.7 MB, free: 8.422 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002396/0.5452, allocations: 147.5 kB / 388.8 MB, free: 8.398 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007445/0.5527, allocations: 3.475 MB / 392.3 MB, free: 7.414 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02068/0.5734, allocations: 10.98 MB / 403.3 MB, free: 256 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003371/0.5768, allocations: 2.64 MB / 405.9 MB, free: 13.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002649/0.5795, allocations: 1.494 MB / 407.4 MB, free: 12.2 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002806/0.5798, allocations: 124.8 kB / 407.5 MB, free: 12.06 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.732e-05/0.5799, allocations: 55.55 kB / 407.6 MB, free: 12 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 4.379e-06/0.5799, allocations: 0 / 407.6 MB, free: 12 MB / 318.1 MB Notification: Performance of matching and sorting (n=133): time 0.01149/0.5914, allocations: 5.176 MB / 412.8 MB, free: 6.793 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/0.5915, allocations: 90.42 kB / 412.8 MB, free: 6.684 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004042/0.5956, allocations: 1.894 MB / 414.7 MB, free: 4.785 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001269/0.5957, allocations: 47.27 kB / 414.8 MB, free: 4.734 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001347/0.5971, allocations: 1.326 MB / 416.1 MB, free: 3.395 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005864/0.5977, allocations: 451.8 kB / 416.6 MB, free: 2.957 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.804e-05/0.5978, allocations: 37.56 kB / 416.6 MB, free: 2.922 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.00023/0.598, allocations: 369.9 kB / 417 MB, free: 2.555 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001357/0.5994, allocations: 0.812 MB / 417.8 MB, free: 1.742 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001854/0.6012, allocations: 1.188 MB / 419 MB, free: 428 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001632/0.6029, allocations: 1.01 MB / 420 MB, free: 15.42 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.6029, allocations: 6.406 kB / 420 MB, free: 15.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004673/0.6076, allocations: 2.52 MB / 422.5 MB, free: 12.95 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.6076, allocations: 12 kB / 422.5 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.061e-05/0.6076, allocations: 8 kB / 422.5 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001786/0.6094, allocations: 489.2 kB / 423 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/0.6106, allocations: 332.9 kB / 423.3 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005479/0.6161, allocations: 4.06 MB / 427.4 MB, free: 7.977 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00163/0.6178, allocations: 80.8 kB / 427.5 MB, free: 7.898 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/0.6179, allocations: 60.53 kB / 427.5 MB, free: 7.84 MB / 334.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.002509/0.6205, allocations: 1.058 MB / 428.6 MB, free: 6.793 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004786/0.6209, allocations: 189.8 kB / 428.8 MB, free: 6.605 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003849/0.6248, allocations: 2.156 MB / 430.9 MB, free: 4.449 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.132e-05/0.6248, allocations: 16 kB / 430.9 MB, free: 4.434 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.6249, allocations: 7.984 kB / 430.9 MB, free: 4.426 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/0.6249, allocations: 3.984 kB / 430.9 MB, free: 4.422 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00862/0.6335, allocations: 5.199 MB / 436.1 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/0.6335, allocations: 6.625 kB / 436.1 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009167/0.6344, allocations: 224.7 kB / 436.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00164/0.6361, allocations: 460.6 kB / 436.8 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.105e-05/0.6362, allocations: 39.94 kB / 436.8 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004981/0.6412, allocations: 3.957 MB / 440.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/0.6412, allocations: 4 kB / 440.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00577/0.647, allocations: 3.256 MB / 444.1 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001215/0.6482, allocations: 470.6 kB / 444.5 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002366/0.6485, allocations: 27.91 kB / 444.6 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009214/0.6494, allocations: 104 kB / 444.7 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002157/0.6496, allocations: 95.86 kB / 444.7 MB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.509e-05/0.6497, allocations: 36 kB / 444.8 MB, free: 6.391 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002546/0.6523, allocations: 1.33 MB / 446.1 MB, free: 5.066 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.6523, allocations: 0 / 446.1 MB, free: 5.066 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002261/0.6546, allocations: 0.5585 MB / 446.7 MB, free: 4.508 MB / 350.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.0006427/0.6552, allocations: 187.1 kB / 446.9 MB, free: 4.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003702/0.6589, allocations: 2.184 MB / 449 MB, free: 2.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.6589, allocations: 12.06 kB / 449.1 MB, free: 2.168 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001991/0.6609, allocations: 1.21 MB / 450.3 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002265/0.6632, allocations: 0.498 MB / 450.8 MB, free: 496 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01268/0.6759, allocations: 6.756 MB / 457.5 MB, free: 9.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002759/0.6787, allocations: 2.363 MB / 459.9 MB, free: 7.289 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000827/0.6795, allocations: 139.4 kB / 460 MB, free: 7.152 MB / 366.1 MB Notification: Performance of SimCode: time 2.615e-06/0.6795, allocations: 0 / 460 MB, free: 7.152 MB / 366.1 MB Notification: Performance of Templates: time 0.085/0.7646, allocations: 50.54 MB / 0.4986 GB, free: 4.773 MB / 414.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile make -j1 -f Modelica_4.0.0_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 4.0.0+maint.om/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 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbenchCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbenchCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbenchCalcHelperMain.o] Error 1