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.0008387/0.0008465, allocations: 92.06 kB / 17.58 MB, free: 6.164 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.001052/0.001053, allocations: 180.1 kB / 18.47 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.978/1.978, allocations: 205.4 MB / 224.6 MB, free: 13.15 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.0004557/0.0004557, allocations: 12 kB / 281.4 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1143, allocations: 47.58 MB / 329 MB, free: 4.078 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.007976/0.1224, allocations: 6.735 MB / 335.7 MB, free: 13.31 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006193/0.1286, allocations: 2.588 MB / 338.3 MB, free: 10.71 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0014/0.1301, allocations: 51.69 kB / 338.4 MB, free: 10.66 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00131/0.1314, allocations: 441.2 kB / 338.8 MB, free: 10.23 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002365/0.1338, allocations: 0.6451 MB / 339.4 MB, free: 9.582 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.1348, allocations: 283.6 kB / 339.7 MB, free: 9.305 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004605/0.1394, allocations: 3.464 MB / 343.2 MB, free: 5.828 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003821/0.1433, allocations: 2.368 MB / 345.5 MB, free: 3.426 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003047/0.1464, allocations: 1.187 MB / 346.7 MB, free: 2.234 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003675/0.1501, allocations: 1.603 MB / 348.3 MB, free: 0.625 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006217/0.1507, allocations: 196 kB / 348.5 MB, free: 444 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001331/0.152, allocations: 367.6 kB / 348.9 MB, free: 76 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001177/0.1532, allocations: 0.9152 MB / 349.8 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001373/0.1546, allocations: 0.6563 MB / 350.5 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007377/0.162, allocations: 4.956 MB / 355.4 MB, free: 9.523 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.327e-06/0.1621, allocations: 4 kB / 355.4 MB, free: 9.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1621, allocations: 0 / 355.4 MB, free: 9.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003028/0.1624, allocations: 4 kB / 355.4 MB, free: 9.516 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.009519/0.1719, allocations: 3.186 MB / 358.6 MB, free: 6.266 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.172, allocations: 8.031 kB / 358.6 MB, free: 6.258 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001961/0.174, allocations: 387.7 kB / 359 MB, free: 5.875 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004615/0.1786, allocations: 1.901 MB / 360.9 MB, free: 3.918 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002283/0.1789, allocations: 217.8 kB / 361.1 MB, free: 3.703 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000918/0.1798, allocations: 287.9 kB / 361.4 MB, free: 3.422 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0101/0.1899, allocations: 4.171 MB / 365.6 MB, free: 15.2 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.854e-05/0.19, allocations: 0 / 365.6 MB, free: 15.2 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002982/0.1903, allocations: 120 kB / 365.7 MB, free: 15.08 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001741/0.1905, allocations: 141.9 kB / 365.8 MB, free: 14.94 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00765/0.1981, allocations: 3.478 MB / 369.3 MB, free: 11.45 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02401/0.2222, allocations: 11 MB / 380.3 MB, free: 272 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2613/0.4835, allocations: 2.636 MB / 382.9 MB, free: 47.59 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002769/0.4863, allocations: 1.495 MB / 384.4 MB, free: 47.44 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002477/0.4866, allocations: 128.3 kB / 384.5 MB, free: 47.34 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.98e-05/0.4866, allocations: 53.89 kB / 384.6 MB, free: 47.29 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 3.808e-06/0.4866, allocations: 0.875 kB / 384.6 MB, free: 47.29 MB / 318.1 MB Notification: Performance of matching and sorting (n=133): time 0.009368/0.496, allocations: 5.294 MB / 389.9 MB, free: 45.1 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.4961, allocations: 91.77 kB / 390 MB, free: 45 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003297/0.4994, allocations: 1.908 MB / 391.9 MB, free: 44.31 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001889/0.4996, allocations: 47.38 kB / 391.9 MB, free: 44.26 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008767/0.5005, allocations: 1.327 MB / 393.3 MB, free: 43.25 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004011/0.5009, allocations: 453.5 kB / 393.7 MB, free: 42.91 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.567e-05/0.501, allocations: 30.75 kB / 393.7 MB, free: 42.89 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.5011, allocations: 368.1 kB / 394.1 MB, free: 42.56 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/0.5022, allocations: 0.8177 MB / 394.9 MB, free: 42.27 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001335/0.5036, allocations: 1.184 MB / 396.1 MB, free: 41.55 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001469/0.505, allocations: 1.018 MB / 397.1 MB, free: 41.12 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.758e-06/0.5051, allocations: 2.531 kB / 397.1 MB, free: 41.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004041/0.5091, allocations: 2.524 MB / 399.6 MB, free: 40.13 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.5092, allocations: 11.81 kB / 399.6 MB, free: 40.13 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.857e-05/0.5092, allocations: 14.34 kB / 399.7 MB, free: 40.12 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001652/0.5108, allocations: 485.5 kB / 400.1 MB, free: 40.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/0.512, allocations: 335.1 kB / 400.5 MB, free: 39.99 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004009/0.516, allocations: 4.066 MB / 404.5 MB, free: 37.15 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/0.5175, allocations: 89.11 kB / 404.6 MB, free: 37.1 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001396/0.5176, allocations: 60.31 kB / 404.7 MB, free: 37.09 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 (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.001783/0.5194, allocations: 1.048 MB / 405.7 MB, free: 36.25 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005535/0.52, allocations: 193.8 kB / 405.9 MB, free: 36.06 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002872/0.5229, allocations: 2.139 MB / 408.1 MB, free: 33.9 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.961e-05/0.5229, allocations: 23.98 kB / 408.1 MB, free: 33.88 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.5229, allocations: 8.688 kB / 408.1 MB, free: 33.87 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.523, allocations: 7.969 kB / 408.1 MB, free: 33.86 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007006/0.53, allocations: 5.211 MB / 413.3 MB, free: 28.6 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/0.53, allocations: 3.984 kB / 413.3 MB, free: 28.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008399/0.5309, allocations: 239.9 kB / 413.5 MB, free: 28.36 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001515/0.5324, allocations: 457.7 kB / 414 MB, free: 27.91 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-05/0.5325, allocations: 29.39 kB / 414 MB, free: 27.88 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003819/0.5363, allocations: 3.968 MB / 418 MB, free: 23.78 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.5363, allocations: 3.953 kB / 418 MB, free: 23.78 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004264/0.5406, allocations: 3.263 MB / 421.3 MB, free: 20.47 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009988/0.5416, allocations: 462.7 kB / 421.7 MB, free: 20 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002423/0.5419, allocations: 28 kB / 421.7 MB, free: 19.97 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008301/0.5427, allocations: 105.1 kB / 421.8 MB, free: 19.87 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000204/0.5429, allocations: 104.8 kB / 421.9 MB, free: 19.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.241e-05/0.543, allocations: 43.92 kB / 422 MB, free: 19.72 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001738/0.5448, allocations: 1.326 MB / 423.3 MB, free: 18.4 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.5448, allocations: 0 / 423.3 MB, free: 18.4 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002029/0.5468, allocations: 0.5593 MB / 423.9 MB, free: 17.85 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 (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.0004734/0.5473, allocations: 184.7 kB / 424 MB, free: 17.68 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002952/0.5503, allocations: 2.189 MB / 426.2 MB, free: 15.47 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.5503, allocations: 4 kB / 426.2 MB, free: 15.47 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001586/0.5519, allocations: 1.223 MB / 427.5 MB, free: 14.23 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002352/0.5543, allocations: 0.4925 MB / 428 MB, free: 13.75 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0108/0.5651, allocations: 6.776 MB / 434.7 MB, free: 6.914 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00168/0.5668, allocations: 2.368 MB / 437.1 MB, free: 4.52 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008137/0.5676, allocations: 143.4 kB / 437.2 MB, free: 4.379 MB / 318.1 MB Notification: Performance of SimCode: time 1.824e-06/0.5677, allocations: 4 kB / 437.2 MB, free: 4.375 MB / 318.1 MB Notification: Performance of Templates: time 0.07937/0.647, allocations: 50.56 MB / 487.8 MB, free: 1.711 MB / 366.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++ 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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/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