Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000909/0.0009093, allocations: 93.92 kB / 17.96 MB, free: 5.645 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.001298/0.001298, allocations: 177.6 kB / 18.86 MB, free: 4.773 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.371/2.371, 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.0006227/0.0006229, allocations: 12 kB / 282 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1747, allocations: 47.59 MB / 329.6 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005638/0.1804, allocations: 2.991 MB / 332.6 MB, free: 0.75 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003784/0.1843, allocations: 1.365 MB / 334 MB, free: 15.38 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003426/0.1847, allocations: 7.938 kB / 334 MB, free: 15.37 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002898/0.1876, allocations: 1.852 MB / 335.8 MB, free: 13.51 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006852/0.1883, allocations: 151 kB / 336 MB, free: 13.36 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009304/0.1892, allocations: 259.6 kB / 336.2 MB, free: 13.11 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00271/0.192, allocations: 1.687 MB / 337.9 MB, free: 11.42 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003566/0.1923, allocations: 119.8 kB / 338 MB, free: 11.29 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005602/0.1929, allocations: 273.1 kB / 338.3 MB, free: 11.03 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004684/0.1934, allocations: 302.8 kB / 338.6 MB, free: 10.73 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.721e-05/0.1935, allocations: 24 kB / 338.6 MB, free: 10.71 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002337/0.1937, allocations: 51.98 kB / 338.7 MB, free: 10.66 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008669/0.1946, allocations: 0.818 MB / 339.5 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009513/0.1956, allocations: 0.9089 MB / 340.4 MB, free: 8.914 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002476/0.1981, allocations: 2.093 MB / 342.5 MB, free: 6.816 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.909e-06/0.1981, allocations: 0 / 342.5 MB, free: 6.816 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.528e-06/0.1981, allocations: 0 / 342.5 MB, free: 6.816 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.959e-05/0.1981, allocations: 0 / 342.5 MB, free: 6.816 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.004855/0.203, allocations: 2.411 MB / 344.9 MB, free: 4.344 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.403e-05/0.2031, allocations: 8.031 kB / 344.9 MB, free: 4.336 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004504/0.2035, allocations: 281.3 kB / 345.2 MB, free: 4.059 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002755/0.2063, allocations: 1.82 MB / 347 MB, free: 2.18 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001118/0.2064, allocations: 55.27 kB / 347.1 MB, free: 2.121 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002213/0.2067, allocations: 51.92 kB / 347.1 MB, free: 2.07 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009066/0.2076, allocations: 398.9 kB / 347.5 MB, free: 1.668 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.2076, allocations: 0 / 347.5 MB, free: 1.668 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.894e-05/0.2077, allocations: 16 kB / 347.5 MB, free: 1.652 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.064e-05/0.2077, allocations: 12 kB / 347.5 MB, free: 1.641 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007908/0.2085, allocations: 327.8 kB / 347.9 MB, free: 1.32 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005145/0.2137, allocations: 2.922 MB / 350.8 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007292/0.2144, allocations: 313.1 kB / 351.1 MB, free: 13.97 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003865/0.2148, allocations: 173.5 kB / 351.2 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.205e-05/0.2149, allocations: 7.984 kB / 351.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.841e-05/0.215, allocations: 47.08 kB / 351.3 MB, free: 13.73 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 4.368e-06/0.215, allocations: 4 kB / 351.3 MB, free: 13.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.006008/0.221, allocations: 2.373 MB / 353.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.082e-05/0.2211, allocations: 85.53 kB / 353.8 MB, free: 11.19 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008502/0.2296, allocations: 5.431 MB / 359.2 MB, free: 5.754 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001235/0.2298, allocations: 37.7 kB / 359.2 MB, free: 5.711 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001745/0.2315, allocations: 1.199 MB / 360.4 MB, free: 4.508 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002338/0.2318, allocations: 173.5 kB / 360.6 MB, free: 4.336 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001953/0.232, allocations: 53.72 kB / 360.7 MB, free: 4.277 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002613/0.2323, allocations: 322 kB / 361 MB, free: 3.957 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00041/0.2327, allocations: 141 kB / 361.1 MB, free: 3.82 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004397/0.2331, allocations: 229.6 kB / 361.3 MB, free: 3.566 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008059/0.234, allocations: 384.3 kB / 361.7 MB, free: 3.164 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.234, allocations: 0 / 361.7 MB, free: 3.164 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001751/0.2357, allocations: 0.6879 MB / 362.4 MB, free: 2.465 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.171e-05/0.2358, allocations: 4 kB / 362.4 MB, free: 2.461 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.2358, allocations: 4 kB / 362.4 MB, free: 2.457 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.815e-05/0.2358, allocations: 4 kB / 362.4 MB, free: 2.453 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005425/0.2364, allocations: 120.1 kB / 362.5 MB, free: 2.336 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.759e-05/0.2364, allocations: 8 kB / 362.5 MB, free: 2.328 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005648/0.237, allocations: 27.83 kB / 362.6 MB, free: 2.301 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.319e-05/0.2371, allocations: 20 kB / 362.6 MB, free: 2.281 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001866/0.2389, allocations: 0.9192 MB / 363.5 MB, free: 1.352 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004339/0.2394, allocations: 264.5 kB / 363.8 MB, free: 1.09 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001821/0.2412, allocations: 0.7864 MB / 364.5 MB, free: 304 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.2412, allocations: 4 kB / 364.5 MB, free: 300 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/0.2412, allocations: 0 / 364.5 MB, free: 300 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.2413, allocations: 0 / 364.5 MB, free: 300 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002529/0.2438, allocations: 1.48 MB / 366 MB, free: 14.76 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.2438, allocations: 0 / 366 MB, free: 14.76 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004585/0.2443, allocations: 99.88 kB / 366.1 MB, free: 14.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004242/0.2447, allocations: 88.64 kB / 366.2 MB, free: 14.57 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.272e-05/0.2448, allocations: 15.98 kB / 366.2 MB, free: 14.55 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007874/0.2456, allocations: 0.6383 MB / 366.9 MB, free: 13.89 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.2456, allocations: 0 / 366.9 MB, free: 13.89 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001919/0.2475, allocations: 1.061 MB / 367.9 MB, free: 12.81 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008449/0.2484, allocations: 0.4897 MB / 368.4 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/0.2486, allocations: 12 kB / 368.4 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000477/0.249, allocations: 19.98 kB / 368.4 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.2492, allocations: 28.39 kB / 368.5 MB, free: 12.24 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.554e-05/0.2492, allocations: 19.94 kB / 368.5 MB, free: 12.22 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.007078/0.2563, allocations: 3.974 MB / 372.5 MB, free: 8.254 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2563, allocations: 0 / 372.5 MB, free: 8.254 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001491/0.2578, allocations: 208 kB / 372.7 MB, free: 8.051 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (core.MagRel,winding1.i,winding2.i,core.Hstat,core.B) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * Array equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001606/0.2595, allocations: 421.2 kB / 373.1 MB, free: 7.641 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001262/0.2608, allocations: 381 kB / 373.5 MB, free: 7.266 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.2608, allocations: 0 / 373.5 MB, free: 7.266 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006673/0.2615, allocations: 222.3 kB / 373.7 MB, free: 7.051 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001997/0.2635, allocations: 187.7 kB / 373.9 MB, free: 6.863 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01422/0.2777, allocations: 6.337 MB / 380.2 MB, free: 496 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2485/0.5263, allocations: 1.812 MB / 382 MB, free: 50.59 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006548/0.527, allocations: 91.34 kB / 382.1 MB, free: 50.59 MB / 318.1 MB Notification: Performance of SimCode: time 7.52e-07/0.5271, allocations: 0 / 382.1 MB, free: 50.59 MB / 318.1 MB Notification: Performance of Templates: time 0.06468/0.5917, allocations: 35.3 MB / 417.4 MB, free: 26.08 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1CalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1CalcHelperMain.o] Error 1