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.006283/0.006283, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001154/0.001154, allocations: 192.4 kB / 16.67 MB, free: 5.969 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.464/1.464, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.007472/0.007472, allocations: 1.233 MB / 291.8 MB, free: 13.6 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 58.69 kB / 403.3 MB, free: 31.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09793/0.09923, allocations: 49.7 MB / 453 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.SaturatedInductor): time 0.004465/0.1037, allocations: 2.8 MB / 455.8 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002942/0.1067, allocations: 1.643 MB / 457.4 MB, free: 9.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002583/0.107, allocations: 8 kB / 457.4 MB, free: 9.312 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007499/0.1078, allocations: 191 kB / 457.6 MB, free: 9.125 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003607/0.1082, allocations: 103.2 kB / 457.7 MB, free: 9.023 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008115/0.109, allocations: 279.1 kB / 458 MB, free: 8.754 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006867/0.1097, allocations: 406.4 kB / 458.4 MB, free: 8.355 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002525/0.1099, allocations: 113.7 kB / 458.5 MB, free: 8.242 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002426/0.1102, allocations: 139.5 kB / 458.6 MB, free: 8.105 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002469/0.1104, allocations: 163.2 kB / 458.8 MB, free: 7.945 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.103e-05/0.1105, allocations: 32 kB / 458.8 MB, free: 7.914 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003526/0.1109, allocations: 187.7 kB / 459 MB, free: 7.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001637/0.1111, allocations: 83.73 kB / 459.1 MB, free: 7.648 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001693/0.1112, allocations: 171 kB / 459.3 MB, free: 7.48 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006678/0.1119, allocations: 458.2 kB / 459.7 MB, free: 7.031 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1119, allocations: 0 / 459.7 MB, free: 7.031 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1119, allocations: 0 / 459.7 MB, free: 7.031 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.464e-05/0.1119, allocations: 0 / 459.7 MB, free: 7.031 MB / 334.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.001164/0.1131, allocations: 0.6658 MB / 460.4 MB, free: 6.316 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.1132, allocations: 11.89 kB / 460.4 MB, free: 6.305 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.448e-05/0.1133, allocations: 40.7 kB / 460.4 MB, free: 6.266 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000449/0.1137, allocations: 286.7 kB / 460.7 MB, free: 5.941 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.1138, allocations: 24.94 kB / 460.7 MB, free: 5.918 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.099e-05/0.1138, allocations: 28.31 kB / 460.8 MB, free: 5.891 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000538/0.1144, allocations: 269.2 kB / 461 MB, free: 5.621 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.923e-05/0.1144, allocations: 4 kB / 461 MB, free: 5.617 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.697e-05/0.1144, allocations: 8 kB / 461 MB, free: 5.609 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.1144, allocations: 8 kB / 461 MB, free: 5.602 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004683/0.1149, allocations: 250.1 kB / 461.3 MB, free: 5.355 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001736/0.1167, allocations: 1.076 MB / 462.4 MB, free: 4.191 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004532/0.1171, allocations: 238.5 kB / 462.6 MB, free: 3.949 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002466/0.1174, allocations: 124.8 kB / 462.7 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.65e-05/0.1175, allocations: 15.98 kB / 462.7 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.1175, allocations: 38.5 kB / 462.8 MB, free: 3.762 MB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 1.412e-06/0.1175, allocations: 0 / 462.8 MB, free: 3.762 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.004204/0.1217, allocations: 1.623 MB / 464.4 MB, free: 2.062 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.1218, allocations: 55.41 kB / 464.4 MB, free: 1.996 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002856/0.1221, allocations: 283 kB / 464.7 MB, free: 1.715 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.375e-05/0.1221, allocations: 29.7 kB / 464.7 MB, free: 1.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.1222, allocations: 204.5 kB / 464.9 MB, free: 1.477 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.413e-05/0.1223, allocations: 122.9 kB / 465.1 MB, free: 1.355 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.1224, allocations: 65.69 kB / 465.1 MB, free: 1.285 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1226, allocations: 342.8 kB / 465.5 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002336/0.1228, allocations: 123.9 kB / 465.6 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002593/0.1231, allocations: 176.4 kB / 465.8 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004651/0.1236, allocations: 294.1 kB / 466 MB, free: 336 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1236, allocations: 0 / 466 MB, free: 336 kB / 334.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001567/0.1252, allocations: 0.6292 MB / 466.7 MB, free: 15.69 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.1252, allocations: 4 kB / 466.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.1252, allocations: 3.984 kB / 466.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002456/0.1277, allocations: 0.5246 MB / 467.2 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002611/0.1279, allocations: 63.89 kB / 467.3 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009026/0.1288, allocations: 1.292 MB / 468.6 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001936/0.1291, allocations: 11.94 kB / 468.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.505e-05/0.1291, allocations: 12 kB / 468.6 MB, free: 13.72 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.000175/0.1293, allocations: 165.8 kB / 468.7 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.724e-05/0.1293, allocations: 31.81 kB / 468.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001537/0.1309, allocations: 0.5723 MB / 469.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.1309, allocations: 4 kB / 469.4 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.1309, allocations: 0 / 469.4 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.1309, allocations: 3.984 kB / 469.4 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001997/0.1329, allocations: 1.064 MB / 470.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.133, allocations: 8 kB / 470.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002071/0.1332, allocations: 47.91 kB / 470.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002347/0.1355, allocations: 0.5247 MB / 471 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/0.1356, allocations: 4 kB / 471 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008079/0.1364, allocations: 1.288 MB / 472.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1364, allocations: 0 / 472.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001652/0.138, allocations: 0.811 MB / 473.1 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.074e-05/0.1381, allocations: 104.9 kB / 473.2 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.045e-05/0.1382, allocations: 8 kB / 473.2 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.1384, allocations: 20 kB / 473.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.21e-05/0.1384, allocations: 23.91 kB / 473.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/0.1385, allocations: 15.98 kB / 473.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001905/0.1387, allocations: 198 kB / 473.5 MB, free: 8.637 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.432e-06/0.1387, allocations: 0 / 473.5 MB, free: 8.637 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003968/0.1391, allocations: 95.81 kB / 473.6 MB, free: 8.543 MB / 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.0002165/0.1393, allocations: 131.2 kB / 473.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007494/0.1401, allocations: 340.6 kB / 474 MB, free: 8.074 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1401, allocations: 4 kB / 474 MB, free: 8.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004189/0.1405, allocations: 188.2 kB / 474.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/0.1409, allocations: 33.42 kB / 474.2 MB, free: 7.852 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.1423, allocations: 0.7562 MB / 475 MB, free: 7.066 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.1427, allocations: 0.7876 MB / 475.8 MB, free: 6.254 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001029/0.1428, allocations: 26.28 kB / 475.8 MB, free: 6.227 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.983e-05/0.1428, allocations: 19.44 kB / 475.8 MB, free: 6.207 MB / 350.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1428, allocations: 0 / 475.8 MB, free: 6.207 MB / 350.1 MB Notification: Performance of Templates: time 0.009341/0.1522, allocations: 3.787 MB / 479.6 MB, free: 2.434 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)