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.001268/0.001268, allocations: 104.7 kB / 16.35 MB, free: 5.828 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.001467/0.001467, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.404/1.404, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.00802/0.00802, allocations: 1.232 MB / 292.4 MB, free: 13.64 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 59.91 kB / 353.8 MB, free: 216 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2919, allocations: 49.7 MB / 403.5 MB, free: 35.22 MB / 302.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.SaturatedInductor): time 0.003531/0.2955, allocations: 2.797 MB / 406.3 MB, free: 32.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002148/0.2976, allocations: 1.633 MB / 407.9 MB, free: 30.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001764/0.2978, allocations: 7.656 kB / 407.9 MB, free: 30.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006494/0.2985, allocations: 192.9 kB / 408.1 MB, free: 30.6 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002377/0.2988, allocations: 103.2 kB / 408.2 MB, free: 30.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006203/0.2994, allocations: 278.8 kB / 408.5 MB, free: 30.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004091/0.2998, allocations: 406.4 kB / 408.9 MB, free: 29.83 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001747/0.3, allocations: 117.5 kB / 409 MB, free: 29.71 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.3001, allocations: 143.5 kB / 409.1 MB, free: 29.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001788/0.3003, allocations: 163.2 kB / 409.3 MB, free: 29.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.547e-05/0.3004, allocations: 32 kB / 409.3 MB, free: 29.38 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002834/0.3007, allocations: 179.7 kB / 409.5 MB, free: 29.21 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.308e-05/0.3007, allocations: 83.73 kB / 409.6 MB, free: 29.12 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.3008, allocations: 175 kB / 409.7 MB, free: 28.95 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003873/0.3012, allocations: 454.5 kB / 410.2 MB, free: 28.51 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.3013, allocations: 0 / 410.2 MB, free: 28.51 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3013, allocations: 0 / 410.2 MB, free: 28.51 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.3013, allocations: 0 / 410.2 MB, free: 28.51 MB / 302.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.0008518/0.3021, allocations: 0.6583 MB / 410.8 MB, free: 27.8 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.3022, allocations: 11.89 kB / 410.8 MB, free: 27.79 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.708e-05/0.3022, allocations: 44.45 kB / 410.9 MB, free: 27.75 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000318/0.3026, allocations: 278.7 kB / 411.2 MB, free: 27.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.3026, allocations: 20.94 kB / 411.2 MB, free: 27.41 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.165e-05/0.3027, allocations: 24.38 kB / 411.2 MB, free: 27.39 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004629/0.3031, allocations: 269.1 kB / 411.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.3031, allocations: 8 kB / 411.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.796e-05/0.3032, allocations: 12 kB / 411.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.3032, allocations: 8 kB / 411.5 MB, free: 27.1 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003975/0.3036, allocations: 246.1 kB / 411.7 MB, free: 26.85 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001362/0.305, allocations: 1.072 MB / 412.8 MB, free: 25.7 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003769/0.3054, allocations: 242.4 kB / 413 MB, free: 25.45 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002318/0.3056, allocations: 124.8 kB / 413.2 MB, free: 25.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.625e-05/0.3057, allocations: 19.98 kB / 413.2 MB, free: 25.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.3057, allocations: 38.91 kB / 413.2 MB, free: 25.26 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.462e-06/0.3057, allocations: 0 / 413.2 MB, free: 25.26 MB / 302.1 MB Notification: Performance of matching and sorting (n=34): time 0.003734/0.3094, allocations: 1.641 MB / 414.9 MB, free: 23.54 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.3095, allocations: 55.41 kB / 414.9 MB, free: 23.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.3097, allocations: 278.9 kB / 415.2 MB, free: 23.19 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.3097, allocations: 33.7 kB / 415.2 MB, free: 23.15 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.309e-05/0.3098, allocations: 196.1 kB / 415.4 MB, free: 22.95 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.02e-05/0.3099, allocations: 118.3 kB / 415.5 MB, free: 22.84 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.063e-05/0.31, allocations: 65.69 kB / 415.6 MB, free: 22.77 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.171e-05/0.31, allocations: 342.8 kB / 415.9 MB, free: 22.42 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.3102, allocations: 123.9 kB / 416.1 MB, free: 22.3 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.3105, allocations: 176.4 kB / 416.2 MB, free: 22.11 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004061/0.3109, allocations: 298.1 kB / 416.5 MB, free: 21.8 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3109, allocations: 0 / 416.5 MB, free: 21.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001368/0.3123, allocations: 0.6289 MB / 417.1 MB, free: 21.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.3123, allocations: 8 kB / 417.2 MB, free: 21.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.3123, allocations: 0 / 417.2 MB, free: 21.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002345/0.3147, allocations: 0.5207 MB / 417.7 MB, free: 20.63 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002628/0.3149, allocations: 55.91 kB / 417.7 MB, free: 20.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005865/0.3155, allocations: 1.288 MB / 419 MB, free: 19.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001871/0.3157, allocations: 16.02 kB / 419 MB, free: 19.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.3158, allocations: 12 kB / 419 MB, free: 19.21 MB / 302.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.0001295/0.3159, allocations: 165.8 kB / 419.2 MB, free: 19.04 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.275e-05/0.316, allocations: 35.61 kB / 419.2 MB, free: 19 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001332/0.3173, allocations: 0.5762 MB / 419.8 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.3173, allocations: 4 kB / 419.8 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3173, allocations: 0 / 419.8 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.3173, allocations: 0 / 419.8 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00175/0.3191, allocations: 1.052 MB / 420.9 MB, free: 17.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.3191, allocations: 3.984 kB / 420.9 MB, free: 17.28 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002029/0.3193, allocations: 43.92 kB / 420.9 MB, free: 17.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002293/0.3216, allocations: 0.5325 MB / 421.5 MB, free: 16.7 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.3216, allocations: 8 kB / 421.5 MB, free: 16.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005665/0.3222, allocations: 1.292 MB / 422.8 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3222, allocations: 0 / 422.8 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/0.3237, allocations: 0.8068 MB / 423.6 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.286e-05/0.3237, allocations: 104.7 kB / 423.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.988e-05/0.3238, allocations: 11.92 kB / 423.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.324, allocations: 20 kB / 423.7 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.71e-05/0.324, allocations: 19.91 kB / 423.7 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.3241, allocations: 12 kB / 423.7 MB, free: 14.33 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001385/0.3242, allocations: 201.9 kB / 423.9 MB, free: 14.13 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3242, allocations: 0 / 423.9 MB, free: 14.13 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003679/0.3246, allocations: 91.94 kB / 424 MB, free: 14.04 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.000191/0.3248, allocations: 135.2 kB / 424.1 MB, free: 13.9 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006698/0.3255, allocations: 328.8 kB / 424.5 MB, free: 13.58 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.3255, allocations: 0 / 424.5 MB, free: 13.58 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003456/0.3258, allocations: 188.2 kB / 424.6 MB, free: 13.4 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.3262, allocations: 35.98 kB / 424.7 MB, free: 13.37 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.3273, allocations: 0.7424 MB / 425.4 MB, free: 12.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001941/0.3275, allocations: 0.7876 MB / 426.2 MB, free: 11.77 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.616e-05/0.3276, allocations: 22.3 kB / 426.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.59e-05/0.3277, allocations: 23.42 kB / 426.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3277, allocations: 0 / 426.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of Templates: time 0.006628/0.3343, allocations: 3.719 MB / 430 MB, free: 8.02 MB / 302.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 -s cvode -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe 2>&1)