Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 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.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_4.0.0_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_4.0.0_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.0008387/0.0008388, allocations: 90.89 kB / 16.95 MB, free: 5.953 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.0008092/0.0008091, allocations: 178.5 kB / 17.84 MB, free: 5.617 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.553/1.553, allocations: 223.2 MB / 241.8 MB, free: 304 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002744/0.0002745, allocations: 8 kB / 301.5 MB, free: 6.453 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1151, allocations: 50.42 MB / 351.9 MB, free: 4.023 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.004084/0.1192, allocations: 3.764 MB / 355.6 MB, free: 244 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00264/0.1219, allocations: 1.501 MB / 357.1 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002729/0.1222, allocations: 11.94 kB / 357.2 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002891/0.1225, allocations: 95.28 kB / 357.2 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006892/0.1232, allocations: 298.1 kB / 357.5 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003607/0.1235, allocations: 143.8 kB / 357.7 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008181/0.1244, allocations: 0.869 MB / 358.5 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002801/0.1247, allocations: 174.1 kB / 358.7 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003552/0.125, allocations: 302.8 kB / 359 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004266/0.1255, allocations: 362.5 kB / 359.4 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.928e-05/0.1255, allocations: 44 kB / 359.4 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003388/0.1259, allocations: 155.9 kB / 359.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.126, allocations: 135.4 kB / 359.7 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001457/0.1262, allocations: 161.3 kB / 359.9 MB, free: 12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007474/0.1269, allocations: 0.8921 MB / 360.7 MB, free: 11.11 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.1269, allocations: 4 kB / 360.7 MB, free: 11.1 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1269, allocations: 0 / 360.7 MB, free: 11.1 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.717e-06/0.127, allocations: 0 / 360.7 MB, free: 11.1 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002198/0.1292, allocations: 0.9896 MB / 361.7 MB, free: 10.06 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.1292, allocations: 12.03 kB / 361.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001414/0.1294, allocations: 75.16 kB / 361.8 MB, free: 9.977 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007131/0.1301, allocations: 494 kB / 362.3 MB, free: 9.449 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-05/0.1302, allocations: 78.94 kB / 362.4 MB, free: 9.367 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001747/0.1304, allocations: 67.98 kB / 362.4 MB, free: 9.301 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/0.1315, allocations: 0.6136 MB / 363.1 MB, free: 8.668 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.1315, allocations: 0 / 363.1 MB, free: 8.668 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.445e-05/0.1316, allocations: 20 kB / 363.1 MB, free: 8.648 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/0.1316, allocations: 16 kB / 363.1 MB, free: 8.633 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.1327, allocations: 0.536 MB / 363.6 MB, free: 8.094 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00324/0.1359, allocations: 2.33 MB / 366 MB, free: 5.656 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00093/0.1369, allocations: 490.9 kB / 366.4 MB, free: 5.156 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004989/0.1374, allocations: 274.1 kB / 366.7 MB, free: 4.883 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.374e-05/0.1374, allocations: 4 kB / 366.7 MB, free: 4.879 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.1375, allocations: 38.56 kB / 366.7 MB, free: 4.832 MB / 302.1 MB Notification: Performance of pre-optimization done (n=45): time 1.633e-06/0.1375, allocations: 4 kB / 366.8 MB, free: 4.828 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.01174/0.1492, allocations: 3.695 MB / 370.4 MB, free: 1.043 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/0.1493, allocations: 85.67 kB / 370.5 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007291/0.1501, allocations: 0.5331 MB / 371.1 MB, free: 408 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.144e-05/0.1501, allocations: 37.7 kB / 371.1 MB, free: 364 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002144/0.1503, allocations: 312.3 kB / 371.4 MB, free: 44 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.276/0.4263, allocations: 197.3 kB / 371.6 MB, free: 24.66 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.072e-05/0.4265, allocations: 13.41 kB / 371.6 MB, free: 24.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000261/0.4268, allocations: 365.6 kB / 372 MB, free: 24.35 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009991/0.4278, allocations: 253.9 kB / 372.2 MB, free: 24.35 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000842/0.4286, allocations: 361.3 kB / 372.6 MB, free: 24.26 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007369/0.4294, allocations: 292.9 kB / 372.9 MB, free: 24.26 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.4294, allocations: 2.969 kB / 372.9 MB, free: 24.26 MB / 302.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002191/0.4316, allocations: 0.7575 MB / 373.6 MB, free: 24.19 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.994e-05/0.4316, allocations: 6.125 kB / 373.6 MB, free: 24.19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.4317, allocations: 3.422 kB / 373.6 MB, free: 24.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002462/0.4319, allocations: 30.95 kB / 373.7 MB, free: 24.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000885/0.4328, allocations: 172.9 kB / 373.8 MB, free: 24.17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0011/0.4339, allocations: 1.333 MB / 375.2 MB, free: 22.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006727/0.4346, allocations: 42.83 kB / 375.2 MB, free: 22.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.02e-05/0.4347, allocations: 31.47 kB / 375.2 MB, free: 22.9 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.0003805/0.4351, allocations: 204.2 kB / 375.4 MB, free: 22.78 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001902/0.4353, allocations: 60.14 kB / 375.5 MB, free: 22.75 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00216/0.4374, allocations: 0.8583 MB / 376.3 MB, free: 22.45 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/0.4375, allocations: 6.875 kB / 376.4 MB, free: 22.45 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.4375, allocations: 1.375 kB / 376.4 MB, free: 22.45 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/0.4375, allocations: 5.016 kB / 376.4 MB, free: 22.45 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004286/0.4418, allocations: 1.888 MB / 378.2 MB, free: 21.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.4418, allocations: 0 / 378.2 MB, free: 21.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005312/0.4424, allocations: 113.3 kB / 378.4 MB, free: 21.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002374/0.4447, allocations: 0.4971 MB / 378.9 MB, free: 21.42 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.231e-05/0.4448, allocations: 18.08 kB / 378.9 MB, free: 21.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005091/0.4499, allocations: 2.952 MB / 381.8 MB, free: 19.29 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.45, allocations: 3 kB / 381.8 MB, free: 19.29 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003235/0.4532, allocations: 1.412 MB / 383.2 MB, free: 18.6 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003935/0.4536, allocations: 208.1 kB / 383.4 MB, free: 18.42 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.507e-05/0.4537, allocations: 11.56 kB / 383.5 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005611/0.4543, allocations: 53.83 kB / 383.5 MB, free: 18.4 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001768/0.4545, allocations: 46.91 kB / 383.6 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.306e-05/0.4545, allocations: 22.02 kB / 383.6 MB, free: 18.39 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006309/0.4552, allocations: 384.2 kB / 384 MB, free: 18.2 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4552, allocations: 1.562 kB / 384 MB, free: 18.2 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009513/0.4561, allocations: 184.4 kB / 384.1 MB, free: 18.18 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.000377/0.4565, allocations: 155.2 kB / 384.3 MB, free: 18.07 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001796/0.4583, allocations: 0.7494 MB / 385 MB, free: 17.73 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.4583, allocations: 1.062 kB / 385 MB, free: 17.73 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001084/0.4594, allocations: 0.5278 MB / 385.6 MB, free: 17.45 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008095/0.4603, allocations: 82.44 kB / 385.6 MB, free: 17.42 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003603/0.4639, allocations: 1.873 MB / 387.5 MB, free: 16.29 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005962/0.4645, allocations: 0.9054 MB / 388.4 MB, free: 15.58 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002474/0.4647, allocations: 51.92 kB / 388.5 MB, free: 15.57 MB / 302.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4647, allocations: 0 / 388.5 MB, free: 15.57 MB / 302.1 MB Notification: Performance of Templates: time 0.0204/0.4852, allocations: 11.69 MB / 400.2 MB, free: 8.184 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2CalcHelperMain.o OMCppModelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2CalcHelperMain.o] Error 1