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.000896/0.000896, allocations: 86.38 kB / 17.58 MB, free: 6.219 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.001142/0.001142, allocations: 187.8 kB / 18.48 MB, free: 5.379 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.727/1.727, allocations: 205.4 MB / 224.6 MB, free: 13.17 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.0004455/0.0004455, allocations: 12 kB / 281.4 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1265, allocations: 47.58 MB / 329 MB, free: 4.078 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.004553/0.1312, allocations: 2.864 MB / 331.9 MB, free: 1.195 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002892/0.1341, allocations: 1.319 MB / 333.2 MB, free: 15.87 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002152/0.1344, allocations: 8 kB / 333.2 MB, free: 15.86 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00246/0.1368, allocations: 1.719 MB / 334.9 MB, free: 14.14 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005025/0.1373, allocations: 135.1 kB / 335 MB, free: 14 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007172/0.1381, allocations: 235.6 kB / 335.3 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001843/0.1399, allocations: 1.392 MB / 336.7 MB, free: 12.38 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002459/0.1402, allocations: 106.7 kB / 336.8 MB, free: 12.27 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003899/0.1406, allocations: 283.1 kB / 337 MB, free: 11.99 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004104/0.141, allocations: 307 kB / 337.3 MB, free: 11.69 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.682e-05/0.1411, allocations: 24 kB / 337.4 MB, free: 11.67 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001575/0.1412, allocations: 47.94 kB / 337.4 MB, free: 11.62 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000942/0.1422, allocations: 0.8298 MB / 338.2 MB, free: 10.79 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003127/0.1425, allocations: 384.3 kB / 338.6 MB, free: 10.41 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002408/0.1449, allocations: 2.09 MB / 340.7 MB, free: 8.312 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.548e-06/0.145, allocations: 0 / 340.7 MB, free: 8.312 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.517e-06/0.145, allocations: 4 kB / 340.7 MB, free: 8.309 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.675e-05/0.145, allocations: 0 / 340.7 MB, free: 8.309 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.003742/0.1487, allocations: 2.434 MB / 343.1 MB, free: 5.812 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/0.1488, allocations: 8.031 kB / 343.1 MB, free: 5.805 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00034/0.1492, allocations: 280.3 kB / 343.4 MB, free: 5.527 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00243/0.1516, allocations: 1.689 MB / 345.1 MB, free: 3.781 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.26e-05/0.1517, allocations: 54.7 kB / 345.2 MB, free: 3.723 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001666/0.1519, allocations: 51.98 kB / 345.2 MB, free: 3.672 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007848/0.1527, allocations: 391 kB / 345.6 MB, free: 3.277 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.1527, allocations: 0 / 345.6 MB, free: 3.277 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.295e-05/0.1527, allocations: 16 kB / 345.6 MB, free: 3.262 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.481e-05/0.1528, allocations: 8 kB / 345.6 MB, free: 3.254 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007067/0.1535, allocations: 335.7 kB / 345.9 MB, free: 2.926 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004661/0.1581, allocations: 2.919 MB / 348.9 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006128/0.1588, allocations: 321 kB / 349.2 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003112/0.1591, allocations: 169.5 kB / 349.3 MB, free: 15.4 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.649e-05/0.1592, allocations: 12.55 kB / 349.4 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/0.1592, allocations: 38.56 kB / 349.4 MB, free: 15.34 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 3.847e-06/0.1592, allocations: 0 / 349.4 MB, free: 15.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.004642/0.1639, allocations: 2.371 MB / 351.8 MB, free: 12.9 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.564e-05/0.164, allocations: 85.48 kB / 351.8 MB, free: 12.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007117/0.1711, allocations: 5.435 MB / 357.3 MB, free: 7.363 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001005/0.1712, allocations: 41.73 kB / 357.3 MB, free: 7.316 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001232/0.1725, allocations: 1.211 MB / 358.5 MB, free: 6.102 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001797/0.1727, allocations: 169.5 kB / 358.7 MB, free: 5.934 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.577e-05/0.1727, allocations: 12 kB / 358.7 MB, free: 5.922 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.1729, allocations: 326 kB / 359 MB, free: 5.598 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000363/0.1733, allocations: 137.1 kB / 359.2 MB, free: 5.461 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004002/0.1737, allocations: 225.6 kB / 359.4 MB, free: 5.215 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003776/0.1741, allocations: 172.7 kB / 359.6 MB, free: 5.043 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.1741, allocations: 0 / 359.6 MB, free: 5.043 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001411/0.1755, allocations: 0.6803 MB / 360.2 MB, free: 4.355 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/0.1755, allocations: 8 kB / 360.2 MB, free: 4.348 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.1755, allocations: 0 / 360.2 MB, free: 4.348 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-05/0.1756, allocations: 4 kB / 360.2 MB, free: 4.344 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005165/0.1761, allocations: 123.8 kB / 360.4 MB, free: 4.223 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/0.1761, allocations: 7.953 kB / 360.4 MB, free: 4.215 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004349/0.1766, allocations: 23.89 kB / 360.4 MB, free: 4.191 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.356e-05/0.1766, allocations: 20.03 kB / 360.4 MB, free: 4.172 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00141/0.178, allocations: 0.9192 MB / 361.3 MB, free: 3.242 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003359/0.1784, allocations: 268.5 kB / 361.6 MB, free: 2.977 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001445/0.1798, allocations: 0.7864 MB / 362.4 MB, free: 2.18 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.1798, allocations: 4 kB / 362.4 MB, free: 2.176 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.1799, allocations: 0 / 362.4 MB, free: 2.176 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.1799, allocations: 0 / 362.4 MB, free: 2.176 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00188/0.1818, allocations: 1.473 MB / 363.9 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.1818, allocations: 3.984 kB / 363.9 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004323/0.1822, allocations: 91.89 kB / 364 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003678/0.1826, allocations: 84.78 kB / 364 MB, free: 484 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.443e-05/0.1826, allocations: 15.98 kB / 364.1 MB, free: 468 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007894/0.1834, allocations: 0.6265 MB / 364.7 MB, free: 15.8 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/0.1835, allocations: 8.016 kB / 364.7 MB, free: 15.8 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001738/0.1852, allocations: 1.058 MB / 365.7 MB, free: 14.71 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007719/0.186, allocations: 0.4897 MB / 366.2 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001634/0.1862, allocations: 15.95 kB / 366.2 MB, free: 14.19 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004222/0.1866, allocations: 23.98 kB / 366.3 MB, free: 14.16 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.279e-05/0.1867, allocations: 28.39 kB / 366.3 MB, free: 14.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/0.1867, allocations: 12 kB / 366.3 MB, free: 14.12 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.005477/0.1922, allocations: 3.981 MB / 370.3 MB, free: 10.15 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.1922, allocations: 0 / 370.3 MB, free: 10.15 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009583/0.1932, allocations: 208 kB / 370.5 MB, free: 9.949 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 (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: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001042/0.1942, allocations: 421.4 kB / 370.9 MB, free: 9.539 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008628/0.1951, allocations: 381.3 kB / 371.3 MB, free: 9.168 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.1951, allocations: 4.062 kB / 371.3 MB, free: 9.164 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004392/0.1956, allocations: 214.4 kB / 371.5 MB, free: 8.957 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.1967, allocations: 183.3 kB / 371.7 MB, free: 8.773 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009229/0.206, allocations: 6.124 MB / 377.8 MB, free: 2.613 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001948/0.208, allocations: 1.814 MB / 379.6 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006148/0.2086, allocations: 91.42 kB / 379.7 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of SimCode: time 1.252e-06/0.2086, allocations: 4 kB / 379.7 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of Templates: time 0.2544/0.463, allocations: 35.39 MB / 415.1 MB, free: 27.55 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++ 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.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