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.001112/0.001112, allocations: 112.3 kB / 16.42 MB, free: 6.508 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.001141/0.001141, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.334/1.334, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.008023/0.008023, allocations: 1.247 MB / 292.5 MB, free: 13.64 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 60.11 kB / 404 MB, free: 31.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07407/0.07535, allocations: 49.71 MB / 453.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.SaturatedInductor): time 0.003591/0.07897, allocations: 2.793 MB / 456.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002207/0.08119, allocations: 1.639 MB / 458.1 MB, free: 9.371 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.08133, allocations: 4 kB / 458.1 MB, free: 9.367 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006157/0.08196, allocations: 198.9 kB / 458.3 MB, free: 9.172 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001953/0.08216, allocations: 99.23 kB / 458.4 MB, free: 9.074 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005897/0.08276, allocations: 287 kB / 458.7 MB, free: 8.797 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004638/0.08323, allocations: 406.5 kB / 459.1 MB, free: 8.398 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001882/0.08343, allocations: 105.7 kB / 459.2 MB, free: 8.293 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.08358, allocations: 139.4 kB / 459.3 MB, free: 8.156 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002059/0.08379, allocations: 163.2 kB / 459.5 MB, free: 7.996 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.642e-05/0.08384, allocations: 28 kB / 459.5 MB, free: 7.969 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003277/0.08418, allocations: 203.5 kB / 459.7 MB, free: 7.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.38e-05/0.08427, allocations: 71.75 kB / 459.8 MB, free: 7.699 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001451/0.08443, allocations: 175.1 kB / 459.9 MB, free: 7.527 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000571/0.085, allocations: 462.1 kB / 460.4 MB, free: 7.074 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.08502, allocations: 0 / 460.4 MB, free: 7.074 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.08503, allocations: 0 / 460.4 MB, free: 7.074 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.396e-05/0.08504, allocations: 0 / 460.4 MB, free: 7.074 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.001116/0.08617, allocations: 0.6619 MB / 461.1 MB, free: 6.363 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.08622, allocations: 15.89 kB / 461.1 MB, free: 6.348 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.013e-05/0.08631, allocations: 36.7 kB / 461.1 MB, free: 6.312 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003938/0.08671, allocations: 290.7 kB / 461.4 MB, free: 5.984 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/0.08675, allocations: 20.94 kB / 461.4 MB, free: 5.965 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.789e-05/0.0868, allocations: 28.38 kB / 461.4 MB, free: 5.938 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004787/0.08728, allocations: 269.2 kB / 461.7 MB, free: 5.668 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.08731, allocations: 4 kB / 461.7 MB, free: 5.664 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.628e-05/0.08734, allocations: 12 kB / 461.7 MB, free: 5.652 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.08735, allocations: 4 kB / 461.7 MB, free: 5.648 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004622/0.08782, allocations: 246.1 kB / 462 MB, free: 5.406 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001542/0.08937, allocations: 1.08 MB / 463 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004456/0.08983, allocations: 242.4 kB / 463.3 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002509/0.09009, allocations: 124.5 kB / 463.4 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.164e-05/0.09015, allocations: 23.97 kB / 463.4 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.09019, allocations: 34.56 kB / 463.5 MB, free: 3.805 MB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 1.483e-06/0.09019, allocations: 0 / 463.5 MB, free: 3.805 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.004178/0.09438, allocations: 1.613 MB / 465.1 MB, free: 2.113 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.09442, allocations: 59.41 kB / 465.1 MB, free: 2.043 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002716/0.0947, allocations: 279 kB / 465.4 MB, free: 1.766 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.09473, allocations: 37.64 kB / 465.4 MB, free: 1.723 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.09486, allocations: 200.5 kB / 465.6 MB, free: 1.523 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.568e-05/0.09494, allocations: 126.9 kB / 465.8 MB, free: 1.398 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.935e-05/0.09505, allocations: 65.69 kB / 465.8 MB, free: 1.328 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.09516, allocations: 338.8 kB / 466.2 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002364/0.0954, allocations: 119.9 kB / 466.3 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002571/0.09566, allocations: 172.5 kB / 466.4 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004934/0.09617, allocations: 302 kB / 466.7 MB, free: 384 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.09618, allocations: 4 kB / 466.7 MB, free: 380 kB / 334.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001631/0.09781, allocations: 0.6214 MB / 467.4 MB, free: 15.74 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.09784, allocations: 8 kB / 467.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.09786, allocations: 7.875 kB / 467.4 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002662/0.1005, allocations: 0.5324 MB / 467.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002887/0.1008, allocations: 63.89 kB / 468 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008371/0.1017, allocations: 1.28 MB / 469.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/0.1019, allocations: 16.03 kB / 469.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.359e-05/0.1019, allocations: 12 kB / 469.3 MB, free: 13.76 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.0001552/0.1021, allocations: 157.7 kB / 469.4 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.501e-05/0.1021, allocations: 35.94 kB / 469.5 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001539/0.1037, allocations: 0.5721 MB / 470 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.1037, allocations: 4 kB / 470 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1037, allocations: 0 / 470 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.405e-05/0.1038, allocations: 104.9 kB / 470.1 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.18e-05/0.1038, allocations: 8 kB / 470.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/0.104, allocations: 11.98 kB / 470.2 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.701e-05/0.1041, allocations: 31.89 kB / 470.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001137/0.1052, allocations: 0.5451 MB / 470.7 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008623/0.1061, allocations: 0.6647 MB / 471.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002252/0.1064, allocations: 127.9 kB / 471.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000174/0.1065, allocations: 202 kB / 471.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of Backend: time 5.61e-07/0.1065, allocations: 0 / 471.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009028/0.1075, allocations: 344.6 kB / 472.1 MB, free: 10.9 MB / 350.1 MB Notification: Performance of SimCode: time 0.001266/0.1087, allocations: 1.245 MB / 473.3 MB, free: 9.602 MB / 350.1 MB Notification: Performance of Templates: time 0.008442/0.1172, allocations: 4.072 MB / 477.4 MB, free: 5.539 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)