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.0009285/0.0009285, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005701/0.005701, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.396/1.396, allocations: 223.3 MB / 240.3 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.006934/0.006934, allocations: 1.212 MB / 292.6 MB, free: 0.9531 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002995/0.0002997, allocations: 8.281 kB / 354.1 MB, free: 1.891 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3064, allocations: 50.67 MB / 404.7 MB, free: 9.938 MB / 286.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.SaturatedInductor): time 0.00315/0.3096, allocations: 2.475 MB / 407.2 MB, free: 9.152 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002247/0.3119, allocations: 1.617 MB / 408.8 MB, free: 8.012 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001629/0.312, allocations: 4.094 kB / 408.8 MB, free: 8.012 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006259/0.3127, allocations: 186.9 kB / 409 MB, free: 7.938 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002062/0.3129, allocations: 84.59 kB / 409.1 MB, free: 7.883 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000641/0.3135, allocations: 238.7 kB / 409.3 MB, free: 7.762 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005293/0.3141, allocations: 412.1 kB / 409.7 MB, free: 7.582 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001966/0.3143, allocations: 103.5 kB / 409.8 MB, free: 7.527 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001523/0.3145, allocations: 124.7 kB / 410 MB, free: 7.473 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002314/0.3147, allocations: 149.6 kB / 410.1 MB, free: 7.402 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.215e-05/0.3147, allocations: 16.5 kB / 410.1 MB, free: 7.402 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000455/0.3152, allocations: 181.7 kB / 410.3 MB, free: 7.348 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.3153, allocations: 61.66 kB / 410.4 MB, free: 7.316 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001435/0.3155, allocations: 182.1 kB / 410.5 MB, free: 7.191 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005809/0.3161, allocations: 443.5 kB / 411 MB, free: 7.047 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.3161, allocations: 0 / 411 MB, free: 7.047 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3161, allocations: 9.688 kB / 411 MB, free: 7.039 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.3161, allocations: 0 / 411 MB, free: 7.039 MB / 286.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.0009124/0.317, allocations: 0.6043 MB / 411.6 MB, free: 6.535 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.3171, allocations: 9.375 kB / 411.6 MB, free: 6.535 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.456e-05/0.3171, allocations: 34.62 kB / 411.6 MB, free: 6.52 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.3174, allocations: 286.3 kB / 411.9 MB, free: 6.25 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/0.3175, allocations: 19.78 kB / 411.9 MB, free: 6.242 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.221e-05/0.3175, allocations: 26.5 kB / 412 MB, free: 6.234 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000532/0.3181, allocations: 276.3 kB / 412.2 MB, free: 6.117 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.3181, allocations: 2.688 kB / 412.2 MB, free: 6.117 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.696e-05/0.3181, allocations: 16.39 kB / 412.2 MB, free: 6.105 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-06/0.3181, allocations: 6.406 kB / 412.2 MB, free: 6.105 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004892/0.3186, allocations: 254 kB / 412.5 MB, free: 6.027 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001609/0.3202, allocations: 1.085 MB / 413.6 MB, free: 5.289 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004767/0.3207, allocations: 253.3 kB / 413.8 MB, free: 5.188 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002805/0.321, allocations: 124.3 kB / 413.9 MB, free: 5.145 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.138e-05/0.3211, allocations: 18.25 kB / 414 MB, free: 5.141 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.3211, allocations: 32.12 kB / 414 MB, free: 5.102 MB / 286.1 MB Notification: Performance of pre-optimization done (n=23): time 2.134e-06/0.3211, allocations: 0 / 414 MB, free: 5.102 MB / 286.1 MB Notification: Performance of matching and sorting (n=34): time 0.004443/0.3256, allocations: 1.648 MB / 415.6 MB, free: 4.316 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.3256, allocations: 59.69 kB / 415.7 MB, free: 4.25 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003127/0.3259, allocations: 281.8 kB / 416 MB, free: 4.086 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.326, allocations: 31.05 kB / 416 MB, free: 4.051 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.3261, allocations: 195.8 kB / 416.2 MB, free: 3.883 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.16e-05/0.3262, allocations: 122.2 kB / 416.3 MB, free: 3.785 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.964e-05/0.3262, allocations: 35.94 kB / 416.4 MB, free: 3.758 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 7.946e-05/0.3263, allocations: 344.1 kB / 416.7 MB, free: 3.43 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000244/0.3266, allocations: 117.5 kB / 416.8 MB, free: 3.395 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00029/0.3269, allocations: 178.1 kB / 417 MB, free: 3.297 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00051/0.3274, allocations: 296.6 kB / 417.3 MB, free: 3.156 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3274, allocations: 4 kB / 417.3 MB, free: 3.152 MB / 286.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001639/0.329, allocations: 0.6281 MB / 417.9 MB, free: 2.93 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.3291, allocations: 10.39 kB / 417.9 MB, free: 2.926 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.3291, allocations: 2.469 kB / 417.9 MB, free: 2.926 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002645/0.3317, allocations: 0.5262 MB / 418.4 MB, free: 2.832 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002838/0.332, allocations: 64.48 kB / 418.5 MB, free: 2.824 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007606/0.3328, allocations: 1.277 MB / 419.8 MB, free: 1.68 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002356/0.3331, allocations: 11.95 kB / 419.8 MB, free: 1.676 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.864e-05/0.3331, allocations: 15.02 kB / 419.8 MB, free: 1.672 MB / 286.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.3333, allocations: 161 kB / 420 MB, free: 1.523 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.621e-05/0.3334, allocations: 34.97 kB / 420 MB, free: 1.504 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001668/0.335, allocations: 0.5802 MB / 420.6 MB, free: 1.289 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.3351, allocations: 8.328 kB / 420.6 MB, free: 1.285 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.3351, allocations: 1.281 kB / 420.6 MB, free: 1.285 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.3351, allocations: 1.781 kB / 420.6 MB, free: 1.285 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002169/0.3373, allocations: 1.068 MB / 421.7 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.3373, allocations: 1.094 kB / 421.7 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002242/0.3375, allocations: 46.55 kB / 421.7 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002688/0.3402, allocations: 0.5248 MB / 422.2 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.917e-05/0.3402, allocations: 7.734 kB / 422.2 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008322/0.3411, allocations: 1.277 MB / 423.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3411, allocations: 1.781 kB / 423.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001874/0.343, allocations: 0.8194 MB / 424.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.3431, allocations: 103.1 kB / 424.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.294e-05/0.3431, allocations: 6.719 kB / 424.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.3434, allocations: 22 kB / 424.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.822e-05/0.3434, allocations: 29.61 kB / 424.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.3435, allocations: 8.094 kB / 424.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002363/0.3437, allocations: 200.6 kB / 424.7 MB, free: 14.82 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3437, allocations: 0 / 424.7 MB, free: 14.82 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004905/0.3442, allocations: 97.39 kB / 424.8 MB, free: 14.8 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.0002307/0.3444, allocations: 133 kB / 424.9 MB, free: 14.71 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007955/0.3453, allocations: 334 kB / 425.2 MB, free: 14.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3453, allocations: 0 / 425.2 MB, free: 14.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004341/0.3457, allocations: 193.3 kB / 425.4 MB, free: 14.56 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004283/0.3461, allocations: 40.97 kB / 425.5 MB, free: 14.54 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.3479, allocations: 0.9481 MB / 426.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006083/0.3486, allocations: 0.7914 MB / 427.2 MB, free: 13.24 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001315/0.3487, allocations: 22.39 kB / 427.2 MB, free: 13.23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.913e-05/0.3488, allocations: 18.22 kB / 427.3 MB, free: 13.22 MB / 302.1 MB Notification: Performance of SimCode: time 6.52e-07/0.3488, allocations: 1.094 kB / 427.3 MB, free: 13.22 MB / 302.1 MB Notification: Performance of Templates: time 0.01016/0.3589, allocations: 3.445 MB / 430.7 MB, free: 11.5 MB / 302.1 MB make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: