Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000866/0.0008661, allocations: 83.69 kB / 17.58 MB, free: 5.758 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.0009179/0.000918, allocations: 183.3 kB / 18.48 MB, free: 5.207 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.723/1.723, allocations: 205.4 MB / 224.6 MB, free: 13.16 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.0004618/0.0004621, allocations: 8 kB / 281.4 MB, free: 3.734 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.123, allocations: 47.58 MB / 329 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.004194/0.1272, allocations: 3.722 MB / 332.7 MB, free: 348 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002797/0.1301, allocations: 1.533 MB / 334.2 MB, free: 14.79 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002696/0.1304, allocations: 11.94 kB / 334.3 MB, free: 14.78 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002955/0.1307, allocations: 91.28 kB / 334.3 MB, free: 14.69 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006488/0.1313, allocations: 302 kB / 334.6 MB, free: 14.39 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003523/0.1317, allocations: 139.8 kB / 334.8 MB, free: 14.26 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007863/0.1325, allocations: 0.8692 MB / 335.6 MB, free: 13.39 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002759/0.1328, allocations: 182 kB / 335.8 MB, free: 13.21 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003506/0.1331, allocations: 302.8 kB / 336.1 MB, free: 12.91 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000421/0.1336, allocations: 362.5 kB / 336.5 MB, free: 12.55 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.315e-05/0.1337, allocations: 44 kB / 336.5 MB, free: 12.51 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002959/0.134, allocations: 151.9 kB / 336.7 MB, free: 12.36 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.1341, allocations: 135.4 kB / 336.8 MB, free: 12.23 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.1342, allocations: 161.3 kB / 337 MB, free: 12.07 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007989/0.135, allocations: 0.896 MB / 337.9 MB, free: 11.17 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.1351, allocations: 0 / 337.9 MB, free: 11.17 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1351, allocations: 0 / 337.9 MB, free: 11.17 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.1351, allocations: 0 / 337.9 MB, free: 11.17 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002011/0.1371, allocations: 0.9819 MB / 338.8 MB, free: 10.13 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.1372, allocations: 12.03 kB / 338.8 MB, free: 10.12 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.1373, allocations: 79.06 kB / 338.9 MB, free: 10.04 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007235/0.138, allocations: 0.4902 MB / 339.4 MB, free: 9.512 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.111e-05/0.1381, allocations: 74.98 kB / 339.5 MB, free: 9.434 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001794/0.1383, allocations: 64 kB / 339.5 MB, free: 9.371 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.1394, allocations: 0.6058 MB / 340.2 MB, free: 8.746 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/0.1395, allocations: 4 kB / 340.2 MB, free: 8.742 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.836e-05/0.1395, allocations: 20 kB / 340.2 MB, free: 8.723 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.1395, allocations: 12 kB / 340.2 MB, free: 8.711 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.1406, allocations: 0.536 MB / 340.7 MB, free: 8.172 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003242/0.1439, allocations: 2.33 MB / 343.1 MB, free: 5.73 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009061/0.1448, allocations: 485.8 kB / 343.5 MB, free: 5.238 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004969/0.1453, allocations: 282 kB / 343.8 MB, free: 4.957 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.192e-05/0.1453, allocations: 4 kB / 343.8 MB, free: 4.953 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.1454, allocations: 42.56 kB / 343.9 MB, free: 4.902 MB / 286.1 MB Notification: Performance of pre-optimization done (n=45): time 2.384e-06/0.1454, allocations: 0 / 343.9 MB, free: 4.902 MB / 286.1 MB Notification: Performance of matching and sorting (n=61): time 0.01142/0.1568, allocations: 3.691 MB / 347.5 MB, free: 1.117 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.658e-05/0.1569, allocations: 85.67 kB / 347.6 MB, free: 1.016 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006871/0.1576, allocations: 0.5331 MB / 348.2 MB, free: 484 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.956e-05/0.1576, allocations: 37.7 kB / 348.2 MB, free: 440 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000202/0.1579, allocations: 308.3 kB / 348.5 MB, free: 124 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000169/0.158, allocations: 208.9 kB / 348.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.941e-05/0.1581, allocations: 16 kB / 348.7 MB, free: 15.9 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.1582, allocations: 366.8 kB / 349.1 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005078/0.1587, allocations: 257.1 kB / 349.3 MB, free: 15.28 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005652/0.1593, allocations: 360.4 kB / 349.7 MB, free: 14.89 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005518/0.1599, allocations: 294.1 kB / 350 MB, free: 14.61 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1599, allocations: 3.938 kB / 350 MB, free: 14.6 MB / 302.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001375/0.1613, allocations: 0.753 MB / 350.7 MB, free: 13.84 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.1613, allocations: 11.98 kB / 350.7 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.1613, allocations: 4 kB / 350.7 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000159/0.1615, allocations: 36.77 kB / 350.8 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007387/0.1622, allocations: 175.8 kB / 350.9 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00102/0.1633, allocations: 1.329 MB / 352.3 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005061/0.1638, allocations: 51.95 kB / 352.3 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.791e-05/0.1639, allocations: 23.98 kB / 352.3 MB, free: 12.07 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003112/0.1642, allocations: 197.7 kB / 352.5 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.1643, allocations: 59.3 kB / 352.6 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001684/0.166, allocations: 0.8647 MB / 353.5 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.166, allocations: 8 kB / 353.5 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.166, allocations: 3.938 kB / 353.5 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/0.166, allocations: 7.984 kB / 353.5 MB, free: 10.92 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003381/0.1694, allocations: 1.882 MB / 355.4 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-06/0.1694, allocations: 0 / 355.4 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004742/0.1699, allocations: 107.9 kB / 355.5 MB, free: 8.871 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002052/0.172, allocations: 0.4964 MB / 356 MB, free: 8.371 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.66e-05/0.172, allocations: 15.98 kB / 356 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004578/0.1766, allocations: 2.957 MB / 358.9 MB, free: 5.266 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.778e-06/0.1766, allocations: 3.984 kB / 358.9 MB, free: 5.262 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00273/0.1794, allocations: 1.405 MB / 360.3 MB, free: 3.836 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002956/0.1797, allocations: 208.4 kB / 360.6 MB, free: 3.613 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.268e-05/0.1798, allocations: 16 kB / 360.6 MB, free: 3.598 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005123/0.1803, allocations: 51.97 kB / 360.6 MB, free: 3.547 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.1804, allocations: 48.44 kB / 360.7 MB, free: 3.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.153e-05/0.1805, allocations: 20 kB / 360.7 MB, free: 3.48 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004803/0.1809, allocations: 386.8 kB / 361.1 MB, free: 3.105 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.181, allocations: 4 kB / 361.1 MB, free: 3.102 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007104/0.1817, allocations: 188 kB / 361.3 MB, free: 2.918 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (transformer.winding1.i,transformer.winding2.i,transformer.core.B,transformer.core.MagRel) * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 51 * 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 {2 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002729/0.182, allocations: 143.1 kB / 361.4 MB, free: 2.77 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001338/0.1833, allocations: 0.7521 MB / 362.1 MB, free: 2.004 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1833, allocations: 0 / 362.1 MB, free: 2.004 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008259/0.1841, allocations: 0.5295 MB / 362.7 MB, free: 1.465 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006813/0.1848, allocations: 93.88 kB / 362.8 MB, free: 1.367 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002708/0.1876, allocations: 1.851 MB / 364.6 MB, free: 15.48 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004364/0.188, allocations: 0.9046 MB / 365.5 MB, free: 14.55 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002014/0.1882, allocations: 59.41 kB / 365.6 MB, free: 14.5 MB / 318.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1882, allocations: 0 / 365.6 MB, free: 14.5 MB / 318.1 MB Notification: Performance of Templates: time 0.01474/0.203, allocations: 11.68 MB / 377.3 MB, free: 2.801 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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.SinglePhaseTransformerWithHysteresis2CalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2CalcHelperMain.o] Error 1