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.001029/0.001029, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001258/0.001258, allocations: 194.6 kB / 16.14 MB, free: 6.699 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.235/1.235, allocations: 222.9 MB / 239.8 MB, free: 4.645 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.006792/0.006792, allocations: 1.232 MB / 291.2 MB, free: 1.332 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009854/0.0009855, allocations: 59.91 kB / 351.7 MB, free: 7.211 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09253/0.09353, allocations: 49.69 MB / 401.3 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.SaturatedInductor): time 0.003872/0.09745, allocations: 2.848 MB / 404.2 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002391/0.09987, allocations: 1.639 MB / 405.8 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000256/0.1001, allocations: 7.938 kB / 405.8 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007335/0.1009, allocations: 183.4 kB / 406 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002919/0.1012, allocations: 83.44 kB / 406.1 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006788/0.1019, allocations: 239.5 kB / 406.3 MB, free: 468 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005305/0.1025, allocations: 414.5 kB / 406.7 MB, free: 52 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.1026, allocations: 94.23 kB / 406.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.1028, allocations: 131.4 kB / 407 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.103, allocations: 163.2 kB / 407.1 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.673e-05/0.103, allocations: 20 kB / 407.1 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003415/0.1033, allocations: 191.6 kB / 407.3 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.287e-05/0.1034, allocations: 71.75 kB / 407.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.1036, allocations: 159.1 kB / 407.6 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003781/0.1039, allocations: 450.4 kB / 408 MB, free: 14.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.104, allocations: 3.938 kB / 408 MB, free: 14.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.104, allocations: 4 kB / 408 MB, free: 14.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.104, allocations: 0 / 408 MB, free: 14.79 MB / 350.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.000884/0.1049, allocations: 0.6524 MB / 408.7 MB, free: 14.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.1049, allocations: 12.03 kB / 408.7 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.578e-05/0.105, allocations: 36.56 kB / 408.7 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/0.1052, allocations: 282.5 kB / 409 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.1053, allocations: 20.94 kB / 409 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.849e-05/0.1053, allocations: 24.38 kB / 409 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004437/0.1058, allocations: 281.1 kB / 409.3 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.1058, allocations: 4 kB / 409.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.1058, allocations: 8 kB / 409.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.1058, allocations: 8 kB / 409.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004259/0.1062, allocations: 242.1 kB / 409.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001403/0.1077, allocations: 1.087 MB / 410.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003965/0.1081, allocations: 234.5 kB / 410.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002255/0.1083, allocations: 135.6 kB / 411 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.785e-05/0.1084, allocations: 12 kB / 411 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.1084, allocations: 34.56 kB / 411 MB, free: 11.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.233e-06/0.1084, allocations: 0 / 411 MB, free: 11.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.003952/0.1124, allocations: 1.62 MB / 412.7 MB, free: 9.844 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.705e-05/0.1124, allocations: 59.41 kB / 412.7 MB, free: 9.773 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002401/0.1126, allocations: 275 kB / 413 MB, free: 9.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.1127, allocations: 33.7 kB / 413 MB, free: 9.461 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.921e-05/0.1128, allocations: 196.1 kB / 413.2 MB, free: 9.262 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.71e-05/0.1128, allocations: 118.3 kB / 413.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.409e-05/0.1129, allocations: 65.61 kB / 413.4 MB, free: 9.074 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.353e-05/0.113, allocations: 346.7 kB / 413.7 MB, free: 8.727 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00021/0.1133, allocations: 119.9 kB / 413.9 MB, free: 8.609 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000231/0.1135, allocations: 168.5 kB / 414 MB, free: 8.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004352/0.1139, allocations: 298.1 kB / 414.3 MB, free: 8.125 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1139, allocations: 0 / 414.3 MB, free: 8.125 MB / 350.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001479/0.1154, allocations: 0.6364 MB / 414.9 MB, free: 7.477 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.1155, allocations: 8 kB / 414.9 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1155, allocations: 0 / 414.9 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002527/0.118, allocations: 0.5324 MB / 415.5 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/0.1183, allocations: 59.91 kB / 415.5 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007509/0.119, allocations: 1.28 MB / 416.8 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001795/0.1192, allocations: 16.02 kB / 416.8 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.1192, allocations: 16 kB / 416.9 MB, free: 5.508 MB / 350.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.0001459/0.1194, allocations: 153.7 kB / 417 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.695e-05/0.1195, allocations: 35.75 kB / 417 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001407/0.1209, allocations: 0.58 MB / 417.6 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.1209, allocations: 8 kB / 417.6 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1209, allocations: 3.984 kB / 417.6 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1209, allocations: 0 / 417.6 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001822/0.1227, allocations: 1.06 MB / 418.7 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.1227, allocations: 0 / 418.7 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002071/0.123, allocations: 43.91 kB / 418.7 MB, free: 3.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002485/0.1255, allocations: 0.5247 MB / 419.3 MB, free: 3 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.1255, allocations: 11.98 kB / 419.3 MB, free: 2.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007013/0.1262, allocations: 1.284 MB / 420.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.1262, allocations: 4 kB / 420.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001667/0.1279, allocations: 0.815 MB / 421.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.566e-05/0.128, allocations: 104.9 kB / 421.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.763e-05/0.128, allocations: 7.938 kB / 421.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.1282, allocations: 23.86 kB / 421.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.866e-05/0.1283, allocations: 24.03 kB / 421.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.1283, allocations: 8 kB / 421.5 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001621/0.1284, allocations: 201.9 kB / 421.7 MB, free: 436 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1284, allocations: 4 kB / 421.7 MB, free: 432 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003883/0.1288, allocations: 95.98 kB / 421.8 MB, free: 336 kB / 350.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.000264/0.1291, allocations: 131.1 kB / 422 MB, free: 196 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.1511/0.2802, allocations: 319.4 kB / 422.3 MB, free: 53.72 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.136e-06/0.2803, allocations: 0 / 422.3 MB, free: 53.72 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00051/0.2808, allocations: 187.4 kB / 422.5 MB, free: 53.72 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004501/0.2812, allocations: 38.8 kB / 422.5 MB, free: 53.72 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.2825, allocations: 0.8744 MB / 423.4 MB, free: 53.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001581/0.2827, allocations: 0.794 MB / 424.2 MB, free: 52.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.899e-05/0.2828, allocations: 25.16 kB / 424.2 MB, free: 52.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.781e-05/0.2829, allocations: 23.09 kB / 424.2 MB, free: 52.59 MB / 350.1 MB Notification: Performance of SimCode: time 8.61e-07/0.2829, allocations: 0 / 424.2 MB, free: 52.59 MB / 350.1 MB Notification: Performance of Templates: time 0.006321/0.2892, allocations: 3.503 MB / 427.7 MB, free: 52.43 MB / 350.1 MB make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.makefile (rm -f FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe ; mkfifo FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe ; head -c 1048576 < FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe >> ../files/FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.sim & ./FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor -abortSlowSimulation -alarm=480 -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe 2>&1)