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.001654/0.001654, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.001876/0.001875, allocations: 194 kB / 18.72 MB, free: 4.762 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.985/1.985, allocations: 205.1 MB / 224.6 MB, free: 12.4 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.001383/0.001383, allocations: 39.94 kB / 280.6 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1711, allocations: 46.63 MB / 327.3 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.00847/0.1796, allocations: 3.372 MB / 330.6 MB, free: 1.488 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003448/0.1832, allocations: 1.388 MB / 332 MB, free: 92 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003901/0.1836, allocations: 4 kB / 332 MB, free: 88 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003443/0.1871, allocations: 1.848 MB / 333.9 MB, free: 14.23 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007516/0.1879, allocations: 147.1 kB / 334 MB, free: 14.09 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009774/0.1889, allocations: 255.6 kB / 334.3 MB, free: 13.84 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002465/0.1914, allocations: 1.698 MB / 336 MB, free: 12.14 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003249/0.1917, allocations: 119.9 kB / 336.1 MB, free: 12.01 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004613/0.1922, allocations: 285 kB / 336.4 MB, free: 11.73 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004535/0.1926, allocations: 302.8 kB / 336.6 MB, free: 11.44 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001083/0.1928, allocations: 28 kB / 336.7 MB, free: 11.41 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002101/0.193, allocations: 55.98 kB / 336.7 MB, free: 11.36 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007739/0.1938, allocations: 0.8296 MB / 337.6 MB, free: 10.52 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009412/0.1947, allocations: 0.8917 MB / 338.5 MB, free: 9.625 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002705/0.1974, allocations: 2.133 MB / 340.6 MB, free: 7.488 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.116e-05/0.1975, allocations: 4 kB / 340.6 MB, free: 7.484 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1975, allocations: 0 / 340.6 MB, free: 7.484 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.865e-05/0.1975, allocations: 4 kB / 340.6 MB, free: 7.48 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.005706/0.2032, allocations: 2.802 MB / 343.4 MB, free: 4.613 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.282e-05/0.2033, allocations: 8.031 kB / 343.4 MB, free: 4.605 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005433/0.2039, allocations: 285.3 kB / 343.7 MB, free: 4.324 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003128/0.207, allocations: 1.812 MB / 345.5 MB, free: 2.453 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/0.2071, allocations: 59.27 kB / 345.6 MB, free: 2.391 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002199/0.2074, allocations: 47.92 kB / 345.6 MB, free: 2.344 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000899/0.2083, allocations: 395 kB / 346 MB, free: 1.945 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.585e-05/0.2083, allocations: 4 kB / 346 MB, free: 1.941 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.365e-05/0.2084, allocations: 12 kB / 346 MB, free: 1.93 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.811e-05/0.2084, allocations: 12 kB / 346 MB, free: 1.918 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007785/0.2092, allocations: 335.7 kB / 346.3 MB, free: 1.59 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005238/0.2144, allocations: 2.907 MB / 349.2 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007979/0.2153, allocations: 305 kB / 349.5 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003778/0.2157, allocations: 181.4 kB / 349.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.138e-05/0.2157, allocations: 4 kB / 349.7 MB, free: 14.08 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.421e-05/0.2158, allocations: 43.09 kB / 349.8 MB, free: 14.03 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 3.166e-06/0.2158, allocations: 0 / 349.8 MB, free: 14.03 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.005952/0.2218, allocations: 2.362 MB / 352.1 MB, free: 11.6 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.722e-05/0.2219, allocations: 85.48 kB / 352.2 MB, free: 11.5 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008643/0.2305, allocations: 5.435 MB / 357.6 MB, free: 6.059 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001395/0.2307, allocations: 33.73 kB / 357.7 MB, free: 6.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001628/0.2324, allocations: 1.203 MB / 358.9 MB, free: 4.812 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002636/0.2326, allocations: 173.5 kB / 359.1 MB, free: 4.641 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002312/0.2329, allocations: 86.25 kB / 359.1 MB, free: 4.551 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002244/0.2331, allocations: 326 kB / 359.5 MB, free: 4.227 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004546/0.2336, allocations: 137.1 kB / 359.6 MB, free: 4.094 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004622/0.234, allocations: 233.6 kB / 359.8 MB, free: 3.836 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008955/0.235, allocations: 380.3 kB / 360.2 MB, free: 3.438 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.124e-06/0.235, allocations: 4 kB / 360.2 MB, free: 3.434 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001866/0.2369, allocations: 0.68 MB / 360.9 MB, free: 2.742 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.339e-05/0.2369, allocations: 8 kB / 360.9 MB, free: 2.734 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.2369, allocations: 0 / 360.9 MB, free: 2.734 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.75e-05/0.237, allocations: 4 kB / 360.9 MB, free: 2.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005811/0.2375, allocations: 119.9 kB / 361 MB, free: 2.613 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.8e-05/0.2376, allocations: 12.19 kB / 361 MB, free: 2.602 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007169/0.2383, allocations: 19.94 kB / 361 MB, free: 2.582 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.878e-05/0.2384, allocations: 23.98 kB / 361.1 MB, free: 2.559 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.001912/0.2403, allocations: 0.9154 MB / 362 MB, free: 1.633 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006007/0.2409, allocations: 272.4 kB / 362.2 MB, free: 1.363 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002194/0.2431, allocations: 0.7785 MB / 363 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.2432, allocations: 4 kB / 363 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.2432, allocations: 0 / 363 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.2432, allocations: 3.984 kB / 363 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003353/0.2466, allocations: 1.469 MB / 364.5 MB, free: 15.05 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.2466, allocations: 4 kB / 364.5 MB, free: 15.04 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005222/0.2471, allocations: 95.88 kB / 364.6 MB, free: 14.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004811/0.2476, allocations: 84.8 kB / 364.7 MB, free: 14.86 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.774e-05/0.2477, allocations: 12 kB / 364.7 MB, free: 14.85 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008637/0.2486, allocations: 0.6343 MB / 365.3 MB, free: 14.19 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.762e-06/0.2486, allocations: 0 / 365.3 MB, free: 14.19 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002165/0.2508, allocations: 1.069 MB / 366.4 MB, free: 13.1 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001179/0.252, allocations: 489.6 kB / 366.9 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003827/0.2524, allocations: 15.94 kB / 366.9 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007017/0.2531, allocations: 19.98 kB / 366.9 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.2532, allocations: 32.39 kB / 366.9 MB, free: 12.54 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.67e-05/0.2533, allocations: 12 kB / 366.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.007806/0.2611, allocations: 3.97 MB / 370.9 MB, free: 8.562 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2611, allocations: 4 kB / 370.9 MB, free: 8.559 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001379/0.2625, allocations: 208 kB / 371.1 MB, free: 8.355 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.001546/0.2641, allocations: 418.9 kB / 371.5 MB, free: 7.949 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001255/0.2653, allocations: 376.8 kB / 371.9 MB, free: 7.578 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.2654, allocations: 0 / 371.9 MB, free: 7.578 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006507/0.266, allocations: 214.9 kB / 372.1 MB, free: 7.371 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001907/0.268, allocations: 195.2 kB / 372.3 MB, free: 7.176 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01294/0.2809, allocations: 6.212 MB / 378.5 MB, free: 0.918 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2946/0.5756, allocations: 1.813 MB / 380.3 MB, free: 51.77 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001055/0.5767, allocations: 94.66 kB / 380.4 MB, free: 51.77 MB / 318.1 MB Notification: Performance of SimCode: time 3.597e-06/0.5767, allocations: 0 / 380.4 MB, free: 51.77 MB / 318.1 MB Notification: Performance of Templates: time 0.08577/0.6625, allocations: 35.75 MB / 416.2 MB, free: 26.82 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