Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001043/0.001043, allocations: 91.69 kB / 16.96 MB, free: 6.453 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.001202/0.001202, allocations: 184.3 kB / 17.85 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.605/1.605, allocations: 223.2 MB / 241.9 MB, free: 340 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002801/0.0002801, allocations: 8 kB / 301.5 MB, free: 6.453 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1299, allocations: 50.41 MB / 351.9 MB, free: 4.027 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.003794/0.1338, allocations: 2.917 MB / 354.8 MB, free: 1.094 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002312/0.1361, allocations: 1.361 MB / 356.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001921/0.1363, allocations: 4 kB / 356.2 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002286/0.1386, allocations: 1.715 MB / 357.9 MB, free: 14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005423/0.1392, allocations: 135 kB / 358 MB, free: 13.87 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008615/0.14, allocations: 258.5 kB / 358.3 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001875/0.1419, allocations: 1.399 MB / 359.7 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002519/0.1422, allocations: 106.7 kB / 359.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003738/0.1426, allocations: 279.2 kB / 360 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003811/0.143, allocations: 306.9 kB / 360.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.846e-05/0.143, allocations: 28 kB / 360.4 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000187/0.1432, allocations: 59.98 kB / 360.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007809/0.144, allocations: 0.8298 MB / 361.2 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000286/0.1443, allocations: 392.1 kB / 361.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001767/0.1461, allocations: 2.086 MB / 363.7 MB, free: 8.137 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.1461, allocations: 4 kB / 363.7 MB, free: 8.133 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1461, allocations: 0 / 363.7 MB, free: 8.133 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.16e-05/0.1461, allocations: 0 / 363.7 MB, free: 8.133 MB / 302.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.003641/0.1498, allocations: 2.438 MB / 366.2 MB, free: 5.633 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.1498, allocations: 12.03 kB / 366.2 MB, free: 5.621 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003409/0.1502, allocations: 284.3 kB / 366.4 MB, free: 5.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002336/0.1525, allocations: 1.685 MB / 368.1 MB, free: 3.598 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001232/0.1527, allocations: 58.64 kB / 368.2 MB, free: 3.535 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001668/0.1528, allocations: 47.98 kB / 368.2 MB, free: 3.488 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007419/0.1536, allocations: 391 kB / 368.6 MB, free: 3.094 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.1536, allocations: 0 / 368.6 MB, free: 3.094 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.092e-05/0.1537, allocations: 19.95 kB / 368.6 MB, free: 3.074 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/0.1537, allocations: 8 kB / 368.6 MB, free: 3.066 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006744/0.1544, allocations: 331.7 kB / 369 MB, free: 2.738 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2415/0.3959, allocations: 2.916 MB / 371.9 MB, free: 23.01 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009378/0.3969, allocations: 310.7 kB / 372.2 MB, free: 22.96 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004661/0.3974, allocations: 174.3 kB / 372.4 MB, free: 22.94 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.967e-05/0.3974, allocations: 6.031 kB / 372.4 MB, free: 22.94 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.346e-05/0.3975, allocations: 40.58 kB / 372.4 MB, free: 22.9 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 4.569e-06/0.3975, allocations: 0.5312 kB / 372.4 MB, free: 22.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.005804/0.4033, allocations: 2.404 MB / 374.8 MB, free: 21.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.4034, allocations: 88.3 kB / 374.9 MB, free: 21.81 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008034/0.4114, allocations: 5.44 MB / 380.3 MB, free: 20.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.382e-05/0.4115, allocations: 31.8 kB / 380.4 MB, free: 20.37 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001011/0.4125, allocations: 1.216 MB / 381.6 MB, free: 19.44 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/0.4127, allocations: 167.5 kB / 381.7 MB, free: 19.31 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.247e-05/0.4127, allocations: 10.12 kB / 381.8 MB, free: 19.3 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.653e-05/0.4128, allocations: 325.5 kB / 382.1 MB, free: 18.99 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003226/0.4131, allocations: 137.9 kB / 382.2 MB, free: 18.94 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003618/0.4135, allocations: 220.9 kB / 382.4 MB, free: 18.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003642/0.4139, allocations: 168.9 kB / 382.6 MB, free: 18.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4139, allocations: 1.125 kB / 382.6 MB, free: 18.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001482/0.4154, allocations: 0.6872 MB / 383.3 MB, free: 18.42 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.4154, allocations: 8.406 kB / 383.3 MB, free: 18.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.4154, allocations: 3.828 kB / 383.3 MB, free: 18.42 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.4155, allocations: 3.656 kB / 383.3 MB, free: 18.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005132/0.416, allocations: 127 kB / 383.4 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.416, allocations: 7.125 kB / 383.4 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005402/0.4166, allocations: 18.48 kB / 383.4 MB, free: 18.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.073e-05/0.4166, allocations: 18.53 kB / 383.5 MB, free: 18.39 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.001362/0.418, allocations: 0.9203 MB / 384.4 MB, free: 18.04 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004029/0.4184, allocations: 265.4 kB / 384.6 MB, free: 17.9 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002471/0.4209, allocations: 0.8011 MB / 385.4 MB, free: 17.6 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.955e-05/0.4209, allocations: 6.344 kB / 385.4 MB, free: 17.6 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/0.4209, allocations: 8.641 kB / 385.5 MB, free: 17.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.765e-05/0.421, allocations: 5.828 kB / 385.5 MB, free: 17.59 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00469/0.4257, allocations: 1.472 MB / 386.9 MB, free: 16.99 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.4257, allocations: 0 / 386.9 MB, free: 16.99 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007459/0.4265, allocations: 97.23 kB / 387 MB, free: 16.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005886/0.4271, allocations: 93.41 kB / 387.1 MB, free: 16.95 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.617e-05/0.4271, allocations: 9.344 kB / 387.1 MB, free: 16.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007237/0.4279, allocations: 0.6421 MB / 387.8 MB, free: 16.38 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.4279, allocations: 0 / 387.8 MB, free: 16.38 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003068/0.431, allocations: 1.075 MB / 388.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001564/0.4325, allocations: 498.3 kB / 389.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002728/0.4328, allocations: 14.28 kB / 389.3 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000724/0.4336, allocations: 18.47 kB / 389.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.4337, allocations: 30.17 kB / 389.4 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-05/0.4338, allocations: 15.23 kB / 389.4 MB, free: 15.44 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.008626/0.4424, allocations: 3.986 MB / 393.4 MB, free: 14.01 MB / 302.1 MB Notification: Performance of sort global known variables: time 6.42e-07/0.4424, allocations: 3.938 kB / 393.4 MB, free: 14 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001568/0.444, allocations: 207.2 kB / 393.6 MB, free: 13.82 MB / 302.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.001374/0.4454, allocations: 424.4 kB / 394 MB, free: 13.59 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00109/0.4465, allocations: 385.2 kB / 394.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.4465, allocations: 0 / 394.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005191/0.4471, allocations: 210.4 kB / 394.6 MB, free: 13.01 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001976/0.449, allocations: 186.6 kB / 394.8 MB, free: 12.82 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/0.4594, allocations: 6.114 MB / 400.9 MB, free: 6.66 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001863/0.4613, allocations: 1.821 MB / 402.7 MB, free: 4.805 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000621/0.4619, allocations: 95.42 kB / 402.8 MB, free: 4.711 MB / 302.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4619, allocations: 4 kB / 402.8 MB, free: 4.707 MB / 302.1 MB Notification: Performance of Templates: time 0.07711/0.539, allocations: 35.4 MB / 438.2 MB, free: 1.293 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1CalcHelperMain.o OMCppModelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1CalcHelperMain.o] Error 1