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.001137/0.001137, allocations: 106.2 kB / 16.41 MB, free: 6.5 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.001128/0.001128, allocations: 189.6 kB / 17.34 MB, free: 5.762 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.007781/0.007781, allocations: 1.231 MB / 292.4 MB, free: 13.63 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 59.89 kB / 403.9 MB, free: 31.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07911/0.08033, allocations: 49.7 MB / 453.6 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.SaturatedInductor): time 0.003844/0.08421, allocations: 2.807 MB / 456.5 MB, free: 10.99 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002311/0.08654, allocations: 1.643 MB / 458.1 MB, free: 9.336 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001553/0.08673, allocations: 8 kB / 458.1 MB, free: 9.328 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007505/0.08749, allocations: 191 kB / 458.3 MB, free: 9.141 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002173/0.08772, allocations: 95.19 kB / 458.4 MB, free: 9.047 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000645/0.08837, allocations: 283 kB / 458.7 MB, free: 8.773 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004735/0.08886, allocations: 398.5 kB / 459.1 MB, free: 8.383 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001929/0.08906, allocations: 125.6 kB / 459.2 MB, free: 8.258 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.0892, allocations: 131.5 kB / 459.3 MB, free: 8.129 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002088/0.08941, allocations: 167.2 kB / 459.5 MB, free: 7.965 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.085e-05/0.08946, allocations: 28 kB / 459.5 MB, free: 7.938 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003217/0.08979, allocations: 195.7 kB / 459.7 MB, free: 7.746 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.522e-05/0.08989, allocations: 75.69 kB / 459.8 MB, free: 7.672 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.09003, allocations: 175.1 kB / 459.9 MB, free: 7.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005306/0.09057, allocations: 450.5 kB / 460.4 MB, free: 7.059 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.09058, allocations: 0 / 460.4 MB, free: 7.059 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.09059, allocations: 3.938 kB / 460.4 MB, free: 7.055 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.0906, allocations: 0 / 460.4 MB, free: 7.055 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.0009282/0.09154, allocations: 0.6545 MB / 461 MB, free: 6.352 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.09158, allocations: 15.83 kB / 461 MB, free: 6.336 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.429e-05/0.09166, allocations: 40.47 kB / 461.1 MB, free: 6.297 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003639/0.09203, allocations: 278.6 kB / 461.4 MB, free: 5.98 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.09206, allocations: 20.94 kB / 461.4 MB, free: 5.961 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.093e-05/0.09212, allocations: 24.38 kB / 461.4 MB, free: 5.938 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005224/0.09265, allocations: 281.2 kB / 461.7 MB, free: 5.656 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.09267, allocations: 0 / 461.7 MB, free: 5.656 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.667e-05/0.0927, allocations: 12 kB / 461.7 MB, free: 5.645 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.09272, allocations: 4 kB / 461.7 MB, free: 5.641 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000443/0.09316, allocations: 242.1 kB / 461.9 MB, free: 5.402 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/0.09472, allocations: 1.076 MB / 463 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000438/0.09517, allocations: 246.4 kB / 463.2 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002429/0.09542, allocations: 124.8 kB / 463.4 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.59e-05/0.09549, allocations: 19.98 kB / 463.4 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.09552, allocations: 38.56 kB / 463.4 MB, free: 3.797 MB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 1.403e-06/0.09553, allocations: 0 / 463.4 MB, free: 3.797 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.004511/0.1, allocations: 1.62 MB / 465 MB, free: 2.102 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.1001, allocations: 55.41 kB / 465.1 MB, free: 2.035 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002755/0.1004, allocations: 278.9 kB / 465.4 MB, free: 1.758 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.1004, allocations: 33.7 kB / 465.4 MB, free: 1.719 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.1006, allocations: 196.2 kB / 465.6 MB, free: 1.523 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.628e-05/0.1006, allocations: 122.2 kB / 465.7 MB, free: 1.402 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.487e-05/0.1007, allocations: 65.62 kB / 465.8 MB, free: 1.332 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1009, allocations: 350.8 kB / 466.1 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002197/0.1011, allocations: 115.9 kB / 466.2 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002539/0.1014, allocations: 168.5 kB / 466.4 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004777/0.1019, allocations: 302.1 kB / 466.7 MB, free: 384 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1019, allocations: 4 kB / 466.7 MB, free: 380 kB / 334.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001829/0.1037, allocations: 0.6212 MB / 467.3 MB, free: 15.74 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.1037, allocations: 8 kB / 467.3 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.1038, allocations: 0 / 467.3 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002752/0.1065, allocations: 0.5362 MB / 467.9 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002919/0.1068, allocations: 59.91 kB / 467.9 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001223/0.108, allocations: 1.284 MB / 469.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/0.1083, allocations: 8.031 kB / 469.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.882e-05/0.1083, allocations: 16 kB / 469.2 MB, free: 13.77 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.0001892/0.1085, allocations: 161.8 kB / 469.4 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.19e-05/0.1086, allocations: 31.62 kB / 469.4 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001551/0.1101, allocations: 0.58 MB / 470 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.1102, allocations: 4 kB / 470 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1102, allocations: 0 / 470 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.1102, allocations: 0 / 470 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002063/0.1122, allocations: 1.071 MB / 471.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.1123, allocations: 3.984 kB / 471.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002159/0.1125, allocations: 39.97 kB / 471.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002545/0.115, allocations: 0.5246 MB / 471.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.09e-05/0.1151, allocations: 12 kB / 471.6 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008167/0.1159, allocations: 1.276 MB / 472.9 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1159, allocations: 0 / 472.9 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001748/0.1177, allocations: 0.8223 MB / 473.7 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.247e-05/0.1178, allocations: 104.7 kB / 473.9 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.124e-05/0.1178, allocations: 4.188 kB / 473.9 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.118, allocations: 20 kB / 473.9 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.945e-05/0.1181, allocations: 23.91 kB / 473.9 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.1181, allocations: 11.94 kB / 473.9 MB, free: 8.883 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001937/0.1183, allocations: 201.9 kB / 474.1 MB, free: 8.688 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1183, allocations: 0 / 474.1 MB, free: 8.688 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004084/0.1187, allocations: 95.94 kB / 474.2 MB, free: 8.594 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.0001992/0.1189, allocations: 139.1 kB / 474.3 MB, free: 8.449 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007192/0.1197, allocations: 332.8 kB / 474.7 MB, free: 8.125 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1197, allocations: 0 / 474.7 MB, free: 8.125 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003991/0.1201, allocations: 192.1 kB / 474.8 MB, free: 7.938 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.1205, allocations: 33.42 kB / 474.9 MB, free: 7.902 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.1218, allocations: 0.7675 MB / 475.6 MB, free: 7.098 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.1221, allocations: 0.7876 MB / 476.4 MB, free: 6.285 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.584e-05/0.1222, allocations: 31.42 kB / 476.5 MB, free: 6.254 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1222, allocations: 0 / 476.5 MB, free: 6.254 MB / 350.1 MB Notification: Performance of Templates: time 0.008122/0.1303, allocations: 6.476 MB / 482.9 MB, free: 15.77 MB / 366.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)