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.0009505/0.0009506, allocations: 100.5 kB / 17.96 MB, free: 5.766 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.001272/0.001272, allocations: 179 kB / 18.86 MB, free: 4.906 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.21/2.21, 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.0005824/0.0005826, allocations: 11.94 kB / 282 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1391, allocations: 47.58 MB / 329.6 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.005222/0.1444, allocations: 3.93 MB / 333.5 MB, free: 15.8 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003502/0.1479, allocations: 1.615 MB / 335.2 MB, free: 14.18 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003442/0.1483, allocations: 11.94 kB / 335.2 MB, free: 14.16 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003734/0.1487, allocations: 95.28 kB / 335.3 MB, free: 14.07 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007765/0.1495, allocations: 310.4 kB / 335.6 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004349/0.1499, allocations: 199.8 kB / 335.8 MB, free: 13.57 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008922/0.1508, allocations: 0.916 MB / 336.7 MB, free: 12.65 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003226/0.1511, allocations: 210.2 kB / 336.9 MB, free: 12.45 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003832/0.1515, allocations: 318.6 kB / 337.2 MB, free: 12.13 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004589/0.152, allocations: 374.3 kB / 337.6 MB, free: 11.77 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.901e-05/0.1521, allocations: 44 kB / 337.6 MB, free: 11.72 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003196/0.1524, allocations: 155.9 kB / 337.8 MB, free: 11.57 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.1525, allocations: 139.3 kB / 337.9 MB, free: 11.43 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003299/0.1529, allocations: 379.8 kB / 338.3 MB, free: 11.05 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008793/0.1538, allocations: 0.8919 MB / 339.2 MB, free: 10.16 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1538, allocations: 3.938 kB / 339.2 MB, free: 10.16 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1538, allocations: 4 kB / 339.2 MB, free: 10.15 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.1538, allocations: 0 / 339.2 MB, free: 10.15 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.002167/0.156, allocations: 0.9742 MB / 340.1 MB, free: 9.125 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.156, allocations: 12.03 kB / 340.1 MB, free: 9.113 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/0.1562, allocations: 84 kB / 340.2 MB, free: 9.031 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006896/0.1569, allocations: 0.5068 MB / 340.7 MB, free: 8.484 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/0.157, allocations: 71.58 kB / 340.8 MB, free: 8.41 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001997/0.1572, allocations: 68.48 kB / 340.9 MB, free: 8.344 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.1584, allocations: 0.6136 MB / 341.5 MB, free: 7.711 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.1584, allocations: 0 / 341.5 MB, free: 7.711 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.228e-05/0.1585, allocations: 20 kB / 341.5 MB, free: 7.691 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/0.1585, allocations: 16 kB / 341.5 MB, free: 7.676 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.1596, allocations: 0.536 MB / 342.1 MB, free: 7.137 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003392/0.163, allocations: 2.334 MB / 344.4 MB, free: 4.691 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009868/0.164, allocations: 493.2 kB / 344.9 MB, free: 4.191 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005256/0.1645, allocations: 278.1 kB / 345.1 MB, free: 3.914 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/0.1646, allocations: 4 kB / 345.2 MB, free: 3.91 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.1646, allocations: 42.5 kB / 345.2 MB, free: 3.859 MB / 286.1 MB Notification: Performance of pre-optimization done (n=45): time 1.793e-06/0.1646, allocations: 0 / 345.2 MB, free: 3.859 MB / 286.1 MB Notification: Performance of matching and sorting (n=61): time 0.01282/0.1774, allocations: 3.714 MB / 348.9 MB, free: 52 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.614e-05/0.1775, allocations: 85.67 kB / 349 MB, free: 15.95 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007568/0.1783, allocations: 0.5331 MB / 349.5 MB, free: 15.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.565e-05/0.1784, allocations: 37.7 kB / 349.6 MB, free: 15.36 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000237/0.1786, allocations: 312.3 kB / 349.9 MB, free: 15.05 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001784/0.1788, allocations: 205 kB / 350.1 MB, free: 14.85 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.045e-05/0.1789, allocations: 57.69 kB / 350.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.1791, allocations: 362.8 kB / 350.5 MB, free: 14.42 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005816/0.1797, allocations: 261.2 kB / 350.7 MB, free: 14.17 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000645/0.1803, allocations: 356.4 kB / 351.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/0.1815, allocations: 0.6254 MB / 351.7 MB, free: 13.13 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1815, allocations: 4 kB / 351.7 MB, free: 13.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001494/0.183, allocations: 0.7647 MB / 352.5 MB, free: 12.35 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.1831, allocations: 8.031 kB / 352.5 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.1831, allocations: 4 kB / 352.5 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001688/0.1833, allocations: 32.83 kB / 352.5 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000779/0.184, allocations: 171.8 kB / 352.7 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00104/0.1851, allocations: 1.333 MB / 354 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005759/0.1857, allocations: 48.05 kB / 354.1 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.884e-05/0.1857, allocations: 23.98 kB / 354.1 MB, free: 10.6 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 (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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003124/0.1861, allocations: 209.5 kB / 354.3 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.1862, allocations: 63.27 kB / 354.4 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001797/0.188, allocations: 0.8608 MB / 355.2 MB, free: 9.445 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/0.188, allocations: 8 kB / 355.2 MB, free: 9.438 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.188, allocations: 0 / 355.2 MB, free: 9.438 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.1881, allocations: 7.984 kB / 355.2 MB, free: 9.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00361/0.1917, allocations: 1.894 MB / 357.1 MB, free: 7.477 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.1917, allocations: 0 / 357.1 MB, free: 7.477 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005058/0.1922, allocations: 107.9 kB / 357.2 MB, free: 7.371 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002392/0.1946, allocations: 0.5003 MB / 357.7 MB, free: 6.867 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.546e-05/0.1947, allocations: 15.98 kB / 357.7 MB, free: 6.852 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004765/0.1994, allocations: 2.948 MB / 360.7 MB, free: 3.773 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1995, allocations: 0 / 360.7 MB, free: 3.773 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003016/0.2025, allocations: 1.413 MB / 362.1 MB, free: 2.34 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003649/0.2029, allocations: 212.2 kB / 362.3 MB, free: 2.113 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.203, allocations: 16.09 kB / 362.3 MB, free: 2.098 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000639/0.2036, allocations: 51.97 kB / 362.4 MB, free: 2.047 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/0.2038, allocations: 52.47 kB / 362.4 MB, free: 1.996 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.89e-05/0.2038, allocations: 27.92 kB / 362.5 MB, free: 1.969 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005441/0.2044, allocations: 386.9 kB / 362.8 MB, free: 1.594 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2044, allocations: 0 / 362.8 MB, free: 1.594 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007978/0.2052, allocations: 188 kB / 363 MB, free: 1.41 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 (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 {(2,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003171/0.2055, allocations: 147.2 kB / 363.2 MB, free: 1.258 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001555/0.2071, allocations: 0.7482 MB / 363.9 MB, free: 0.5 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.2071, allocations: 7.938 kB / 363.9 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009158/0.208, allocations: 0.5256 MB / 364.4 MB, free: 15.95 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007694/0.2088, allocations: 85.94 kB / 364.5 MB, free: 15.86 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003337/0.2122, allocations: 1.894 MB / 366.4 MB, free: 13.93 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004964/0.2127, allocations: 0.9007 MB / 367.3 MB, free: 13 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002371/0.2129, allocations: 55.41 kB / 367.4 MB, free: 12.95 MB / 318.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2129, allocations: 0 / 367.4 MB, free: 12.95 MB / 318.1 MB Notification: Performance of Templates: time 0.02007/0.233, allocations: 11.67 MB / 379.1 MB, free: 1.258 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++ -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.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