Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo", uses=false) Using package FluxTubesExtension with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo) 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(FluxTubesExtension.Examples.SaturatedInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor") translateModel(FluxTubesExtension.Examples.SaturatedInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008515/0.0008516, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 184.5 kB / 16.92 MB, free: 6.684 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.527/1.527, allocations: 223.3 MB / 241 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.007446/0.007447, allocations: 1.217 MB / 293.3 MB, free: 0.8945 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004479/0.000448, allocations: 12 kB / 354.7 MB, free: 1.898 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.382/0.3825, allocations: 50.67 MB / 405.4 MB, free: 9.949 MB / 286.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.SaturatedInductor): time 0.005025/0.3876, allocations: 2.479 MB / 407.9 MB, free: 9.156 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002902/0.3905, allocations: 1.612 MB / 409.5 MB, free: 8.023 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000182/0.3907, allocations: 8.375 kB / 409.5 MB, free: 8.02 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007452/0.3915, allocations: 182 kB / 409.7 MB, free: 7.949 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002607/0.3918, allocations: 85.12 kB / 409.8 MB, free: 7.895 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007818/0.3926, allocations: 235.7 kB / 410 MB, free: 7.777 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006218/0.3932, allocations: 419.4 kB / 410.4 MB, free: 7.59 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002199/0.3934, allocations: 100.1 kB / 410.5 MB, free: 7.539 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000164/0.3936, allocations: 119.8 kB / 410.6 MB, free: 7.488 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002531/0.3939, allocations: 154.3 kB / 410.8 MB, free: 7.414 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.613e-05/0.3939, allocations: 14.75 kB / 410.8 MB, free: 7.414 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004816/0.3944, allocations: 182.3 kB / 410.9 MB, free: 7.359 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001434/0.3945, allocations: 63.31 kB / 411 MB, free: 7.328 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002133/0.3948, allocations: 180.9 kB / 411.2 MB, free: 7.203 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00067/0.3954, allocations: 334.8 kB / 411.5 MB, free: 7.117 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3955, allocations: 0 / 411.5 MB, free: 7.117 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3955, allocations: 0 / 411.5 MB, free: 7.117 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.717e-06/0.3955, allocations: 1.312 kB / 411.5 MB, free: 7.117 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001225/0.3967, allocations: 0.6005 MB / 412.1 MB, free: 6.617 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.3968, allocations: 8.781 kB / 412.1 MB, free: 6.617 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.154e-05/0.3969, allocations: 40.14 kB / 412.2 MB, free: 6.598 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003349/0.3972, allocations: 285.8 kB / 412.4 MB, free: 6.328 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/0.3973, allocations: 24.34 kB / 412.5 MB, free: 6.316 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.023e-05/0.3973, allocations: 25.62 kB / 412.5 MB, free: 6.309 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006083/0.3979, allocations: 276.4 kB / 412.8 MB, free: 6.191 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.3979, allocations: 1.156 kB / 412.8 MB, free: 6.191 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.982e-05/0.398, allocations: 10.28 kB / 412.8 MB, free: 6.184 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.398, allocations: 7.734 kB / 412.8 MB, free: 6.184 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005663/0.3986, allocations: 254.6 kB / 413 MB, free: 6.105 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001855/0.4004, allocations: 1.084 MB / 414.1 MB, free: 5.367 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005604/0.401, allocations: 258.2 kB / 414.4 MB, free: 5.262 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002952/0.4013, allocations: 123.4 kB / 414.5 MB, free: 5.219 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.422e-05/0.4014, allocations: 13.12 kB / 414.5 MB, free: 5.219 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.4014, allocations: 37.84 kB / 414.5 MB, free: 5.176 MB / 286.1 MB Notification: Performance of pre-optimization done (n=23): time 1.663e-06/0.4014, allocations: 0 / 414.5 MB, free: 5.176 MB / 286.1 MB Notification: Performance of matching and sorting (n=34): time 0.004998/0.4064, allocations: 1.645 MB / 416.2 MB, free: 4.395 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.4065, allocations: 55.12 kB / 416.2 MB, free: 4.332 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003781/0.4069, allocations: 281.6 kB / 416.5 MB, free: 4.168 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.4069, allocations: 39.02 kB / 416.5 MB, free: 4.125 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.4071, allocations: 192.5 kB / 416.7 MB, free: 3.961 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.26e-05/0.4072, allocations: 122 kB / 416.9 MB, free: 3.863 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.435e-05/0.4072, allocations: 32.39 kB / 416.9 MB, free: 3.84 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.711e-05/0.4073, allocations: 347.5 kB / 417.2 MB, free: 3.508 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002624/0.4076, allocations: 117.8 kB / 417.3 MB, free: 3.473 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003222/0.4079, allocations: 174.1 kB / 417.5 MB, free: 3.379 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005344/0.4085, allocations: 304.3 kB / 417.8 MB, free: 3.23 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.4085, allocations: 1.531 kB / 417.8 MB, free: 3.23 MB / 286.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001776/0.4103, allocations: 0.6302 MB / 418.4 MB, free: 3.004 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.4103, allocations: 6.156 kB / 418.4 MB, free: 3.004 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.4103, allocations: 1.375 kB / 418.4 MB, free: 3.004 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002753/0.4131, allocations: 0.5179 MB / 419 MB, free: 2.918 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003182/0.4134, allocations: 67.44 kB / 419 MB, free: 2.906 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008285/0.4142, allocations: 1.287 MB / 420.3 MB, free: 1.754 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002549/0.4145, allocations: 11.8 kB / 420.3 MB, free: 1.75 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.868e-05/0.4146, allocations: 20.73 kB / 420.3 MB, free: 1.738 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,8), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002108/0.4148, allocations: 158.6 kB / 420.5 MB, free: 1.594 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.959e-05/0.4148, allocations: 30.38 kB / 420.5 MB, free: 1.578 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001721/0.4166, allocations: 0.5839 MB / 421.1 MB, free: 1.359 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.4166, allocations: 3.344 kB / 421.1 MB, free: 1.359 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.4166, allocations: 1.188 kB / 421.1 MB, free: 1.359 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.4166, allocations: 1.781 kB / 421.1 MB, free: 1.359 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002321/0.4189, allocations: 1.068 MB / 422.2 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.419, allocations: 5.094 kB / 422.2 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002359/0.4192, allocations: 42.95 kB / 422.2 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002776/0.422, allocations: 0.5162 MB / 422.8 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.365e-05/0.422, allocations: 12.25 kB / 422.8 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001017/0.4231, allocations: 1.281 MB / 424 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.4231, allocations: 0.875 kB / 424 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002284/0.4254, allocations: 0.8202 MB / 424.9 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001479/0.4255, allocations: 106.6 kB / 425 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.242e-05/0.4256, allocations: 7.125 kB / 425 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.4258, allocations: 21.84 kB / 425 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.584e-05/0.4259, allocations: 20.62 kB / 425 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.768e-05/0.4259, allocations: 8.391 kB / 425 MB, free: 15.02 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003366/0.4263, allocations: 200.8 kB / 425.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4263, allocations: 1.062 kB / 425.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005891/0.4269, allocations: 100.5 kB / 425.3 MB, free: 14.88 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (coil.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,8), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002905/0.4272, allocations: 137.2 kB / 425.5 MB, free: 14.78 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009854/0.4282, allocations: 325.6 kB / 425.8 MB, free: 14.69 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4282, allocations: 1.469 kB / 425.8 MB, free: 14.69 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004963/0.4287, allocations: 197.4 kB / 426 MB, free: 14.63 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004642/0.4292, allocations: 33.67 kB / 426 MB, free: 14.62 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/0.431, allocations: 0.9769 MB / 427 MB, free: 14 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004576/0.4315, allocations: 0.7989 MB / 427.8 MB, free: 13.28 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.014e-05/0.4316, allocations: 23.5 kB / 427.8 MB, free: 13.27 MB / 302.1 MB Notification: Performance of SimCode: time 9.61e-07/0.4316, allocations: 0 / 427.8 MB, free: 13.27 MB / 302.1 MB Notification: Performance of Templates: time 0.01042/0.442, allocations: 6.366 MB / 434.2 MB, free: 9.629 MB / 302.1 MB make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.makefile make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.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 OMCppFluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductorCalcHelperMain.o OMCppFluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppFluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductorCalcHelperMain.o] Error 1