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.001491/0.001491, 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.001586/0.001586, 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.958/1.958, allocations: 205.1 MB / 224.6 MB, free: 12.49 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.001451/0.00145, allocations: 51.92 kB / 280.6 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.177, allocations: 46.63 MB / 327.3 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.008861/0.186, allocations: 4.327 MB / 331.6 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004842/0.1909, allocations: 1.642 MB / 333.2 MB, free: 14.88 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007878/0.1917, allocations: 11.94 kB / 333.2 MB, free: 14.87 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006715/0.1925, allocations: 99.28 kB / 333.3 MB, free: 14.77 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001177/0.1937, allocations: 302.5 kB / 333.6 MB, free: 14.48 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006334/0.1943, allocations: 203.8 kB / 333.8 MB, free: 14.28 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001884/0.1962, allocations: 0.916 MB / 334.7 MB, free: 13.36 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004531/0.1967, allocations: 214.2 kB / 335 MB, free: 13.15 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005912/0.1973, allocations: 322.7 kB / 335.3 MB, free: 12.83 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004905/0.1978, allocations: 394.2 kB / 335.7 MB, free: 12.45 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.1979, allocations: 48 kB / 335.7 MB, free: 12.4 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004643/0.1984, allocations: 167.9 kB / 335.9 MB, free: 12.23 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001865/0.1986, allocations: 151.4 kB / 336 MB, free: 12.09 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004209/0.199, allocations: 370.1 kB / 336.4 MB, free: 11.72 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.2001, allocations: 0.9117 MB / 337.3 MB, free: 10.81 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.2001, allocations: 3.938 kB / 337.3 MB, free: 10.8 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2001, allocations: 0 / 337.3 MB, free: 10.8 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.2001, allocations: 3.938 kB / 337.3 MB, free: 10.8 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.003235/0.2034, allocations: 1.099 MB / 338.4 MB, free: 9.648 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.077e-05/0.2035, allocations: 8.031 kB / 338.4 MB, free: 9.641 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001841/0.2037, allocations: 76.09 kB / 338.5 MB, free: 9.566 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/0.2049, allocations: 0.5145 MB / 339 MB, free: 9.012 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001534/0.2051, allocations: 71.58 kB / 339.1 MB, free: 8.938 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000237/0.2054, allocations: 68.48 kB / 339.1 MB, free: 8.871 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.2068, allocations: 0.6019 MB / 339.7 MB, free: 8.25 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.657e-05/0.2068, allocations: 11.91 kB / 339.7 MB, free: 8.238 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.544e-05/0.2069, allocations: 20 kB / 339.8 MB, free: 8.219 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.164e-05/0.2069, allocations: 12 kB / 339.8 MB, free: 8.207 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001316/0.2082, allocations: 0.5243 MB / 340.3 MB, free: 7.68 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004157/0.2124, allocations: 2.306 MB / 342.6 MB, free: 5.262 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/0.2136, allocations: 477.3 kB / 343.1 MB, free: 4.777 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006686/0.2143, allocations: 274.1 kB / 343.3 MB, free: 4.504 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.355e-05/0.2143, allocations: 4 kB / 343.3 MB, free: 4.5 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.682e-05/0.2144, allocations: 50.48 kB / 343.4 MB, free: 4.441 MB / 286.1 MB Notification: Performance of pre-optimization done (n=45): time 3.106e-06/0.2144, allocations: 0 / 343.4 MB, free: 4.441 MB / 286.1 MB Notification: Performance of matching and sorting (n=61): time 0.01422/0.2286, allocations: 3.542 MB / 346.9 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.2288, allocations: 81.67 kB / 347 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009489/0.2297, allocations: 0.5409 MB / 347.5 MB, free: 156 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.16e-05/0.2298, allocations: 33.7 kB / 347.6 MB, free: 116 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000397/0.2302, allocations: 316.3 kB / 347.9 MB, free: 15.8 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002324/0.2305, allocations: 204.9 kB / 348.1 MB, free: 15.59 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002479/0.2307, allocations: 106.3 kB / 348.2 MB, free: 15.48 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002698/0.231, allocations: 378.8 kB / 348.6 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006284/0.2317, allocations: 237.2 kB / 348.8 MB, free: 14.88 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007953/0.2325, allocations: 352.4 kB / 349.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001492/0.234, allocations: 0.6019 MB / 349.7 MB, free: 13.86 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.234, allocations: 0 / 349.7 MB, free: 13.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001928/0.2359, allocations: 0.7451 MB / 350.5 MB, free: 13.11 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.521e-05/0.236, allocations: 8 kB / 350.5 MB, free: 13.1 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.236, allocations: 0 / 350.5 MB, free: 13.1 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000281/0.2363, allocations: 28.84 kB / 350.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000933/0.2372, allocations: 175.8 kB / 350.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001798/0.239, allocations: 1.325 MB / 352 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007333/0.2398, allocations: 44.03 kB / 352.1 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.09e-05/0.2399, allocations: 27.98 kB / 352.1 MB, free: 11.37 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.0005221/0.2404, allocations: 205.6 kB / 352.3 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000218/0.2407, allocations: 59.28 kB / 352.3 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00223/0.2429, allocations: 0.8412 MB / 353.2 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.2429, allocations: 8 kB / 353.2 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.2429, allocations: 7.938 kB / 353.2 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.401e-05/0.243, allocations: 7.984 kB / 353.2 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004764/0.2477, allocations: 1.839 MB / 355.1 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.2478, allocations: 4 kB / 355.1 MB, free: 8.316 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006052/0.2484, allocations: 107.8 kB / 355.2 MB, free: 8.211 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002613/0.251, allocations: 476.3 kB / 355.6 MB, free: 7.742 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.76e-05/0.2511, allocations: 15.98 kB / 355.6 MB, free: 7.727 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006662/0.2578, allocations: 2.883 MB / 358.5 MB, free: 4.715 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.2578, allocations: 0 / 358.5 MB, free: 4.715 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004026/0.2619, allocations: 1.378 MB / 359.9 MB, free: 3.312 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006498/0.2626, allocations: 204.3 kB / 360.1 MB, free: 3.094 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002096/0.2628, allocations: 16 kB / 360.1 MB, free: 3.078 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008253/0.2636, allocations: 39.97 kB / 360.2 MB, free: 3.039 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002245/0.2639, allocations: 56.42 kB / 360.2 MB, free: 2.984 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.647e-05/0.2639, allocations: 19.94 kB / 360.2 MB, free: 2.965 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007621/0.2647, allocations: 386.9 kB / 360.6 MB, free: 2.59 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2647, allocations: 0 / 360.6 MB, free: 2.59 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001223/0.266, allocations: 188 kB / 360.8 MB, free: 2.406 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.0006182/0.2666, allocations: 143.3 kB / 360.9 MB, free: 2.258 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001961/0.2686, allocations: 0.7287 MB / 361.7 MB, free: 1.52 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.2686, allocations: 4 kB / 361.7 MB, free: 1.516 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00123/0.2699, allocations: 0.5178 MB / 362.2 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.271, allocations: 90.02 kB / 362.3 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004696/0.2757, allocations: 1.78 MB / 364.1 MB, free: 15.08 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001053/0.2768, allocations: 0.9007 MB / 365 MB, free: 14.15 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003187/0.2771, allocations: 55.41 kB / 365 MB, free: 14.09 MB / 318.1 MB Notification: Performance of SimCode: time 1.903e-06/0.2771, allocations: 0 / 365 MB, free: 14.09 MB / 318.1 MB Notification: Performance of Templates: time 0.02823/0.3054, allocations: 11.74 MB / 376.7 MB, free: 2.332 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