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.001073/0.001073, allocations: 114.3 kB / 16.37 MB, free: 5.539 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.001033/0.001033, allocations: 187.5 kB / 17.3 MB, free: 5.184 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.00771/0.00771, allocations: 1.235 MB / 292.4 MB, free: 13.68 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 60.05 kB / 353.8 MB, free: 256 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2411, allocations: 49.7 MB / 403.5 MB, free: 35.25 MB / 302.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.SaturatedInductor): time 0.00341/0.2446, allocations: 2.801 MB / 406.3 MB, free: 32.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001881/0.2465, allocations: 1.629 MB / 407.9 MB, free: 30.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001422/0.2466, allocations: 4 kB / 407.9 MB, free: 30.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006541/0.2473, allocations: 200.8 kB / 408.1 MB, free: 30.62 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002026/0.2476, allocations: 99.19 kB / 408.2 MB, free: 30.53 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005402/0.2481, allocations: 279.3 kB / 408.5 MB, free: 30.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003505/0.2485, allocations: 409 kB / 408.9 MB, free: 29.86 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.2487, allocations: 118.6 kB / 409 MB, free: 29.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.755e-05/0.2488, allocations: 127.6 kB / 409.1 MB, free: 29.62 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.2489, allocations: 167.2 kB / 409.3 MB, free: 29.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.359e-05/0.249, allocations: 32 kB / 409.3 MB, free: 29.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002487/0.2492, allocations: 187.7 kB / 409.5 MB, free: 29.24 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.536e-05/0.2493, allocations: 80.69 kB / 409.6 MB, free: 29.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.2494, allocations: 167.1 kB / 409.7 MB, free: 29 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003562/0.2498, allocations: 462.5 kB / 410.2 MB, free: 28.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2498, allocations: 0 / 410.2 MB, free: 28.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2498, allocations: 0 / 410.2 MB, free: 28.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.695e-06/0.2498, allocations: 3.938 kB / 410.2 MB, free: 28.54 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.0008525/0.2507, allocations: 0.6545 MB / 410.8 MB, free: 27.84 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.2507, allocations: 15.89 kB / 410.9 MB, free: 27.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.388e-05/0.2508, allocations: 40.47 kB / 410.9 MB, free: 27.79 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003059/0.2511, allocations: 278.7 kB / 411.2 MB, free: 27.47 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.2511, allocations: 20.94 kB / 411.2 MB, free: 27.45 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.232e-05/0.2512, allocations: 28.31 kB / 411.2 MB, free: 27.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003992/0.2516, allocations: 269.2 kB / 411.5 MB, free: 27.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.2516, allocations: 3.984 kB / 411.5 MB, free: 27.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.175e-05/0.2516, allocations: 12 kB / 411.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.2516, allocations: 12 kB / 411.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000386/0.252, allocations: 246.1 kB / 411.8 MB, free: 26.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.2533, allocations: 1.068 MB / 412.8 MB, free: 25.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003803/0.2537, allocations: 246.4 kB / 413.1 MB, free: 25.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002145/0.2539, allocations: 124.9 kB / 413.2 MB, free: 25.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.272e-05/0.254, allocations: 19.94 kB / 413.2 MB, free: 25.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.676e-05/0.254, allocations: 42.89 kB / 413.2 MB, free: 25.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.352e-06/0.254, allocations: 0 / 413.2 MB, free: 25.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=34): time 0.00376/0.2578, allocations: 1.627 MB / 414.9 MB, free: 23.59 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/0.2578, allocations: 59.41 kB / 414.9 MB, free: 23.52 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/0.2581, allocations: 278.9 kB / 415.2 MB, free: 23.23 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.2581, allocations: 37.64 kB / 415.2 MB, free: 23.19 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.05e-05/0.2582, allocations: 192.2 kB / 415.4 MB, free: 22.99 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.183e-05/0.2582, allocations: 122.3 kB / 415.5 MB, free: 22.87 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.074e-05/0.2583, allocations: 65.69 kB / 415.6 MB, free: 22.8 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.562e-05/0.2584, allocations: 338.8 kB / 415.9 MB, free: 22.46 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/0.2586, allocations: 131.9 kB / 416.1 MB, free: 22.33 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.2588, allocations: 168.5 kB / 416.2 MB, free: 22.15 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004217/0.2592, allocations: 306.1 kB / 416.5 MB, free: 21.84 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2592, allocations: 0 / 416.5 MB, free: 21.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001392/0.2606, allocations: 0.6134 MB / 417.1 MB, free: 21.21 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.2607, allocations: 11.98 kB / 417.2 MB, free: 21.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.2607, allocations: 0 / 417.2 MB, free: 21.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002372/0.2631, allocations: 0.5285 MB / 417.7 MB, free: 20.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002565/0.2633, allocations: 59.91 kB / 417.7 MB, free: 20.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000588/0.2639, allocations: 1.284 MB / 419 MB, free: 19.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/0.2641, allocations: 12.02 kB / 419 MB, free: 19.26 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.2642, allocations: 16 kB / 419.1 MB, free: 19.24 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.000135/0.2643, allocations: 159 kB / 419.2 MB, free: 19.08 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.995e-05/0.2644, allocations: 35.75 kB / 419.2 MB, free: 19.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00132/0.2657, allocations: 0.5723 MB / 419.8 MB, free: 18.46 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.2657, allocations: 8 kB / 419.8 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2657, allocations: 0 / 419.8 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2657, allocations: 0 / 419.8 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001673/0.2674, allocations: 1.067 MB / 420.9 MB, free: 17.31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.2674, allocations: 0 / 420.9 MB, free: 17.31 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002045/0.2676, allocations: 43.91 kB / 420.9 MB, free: 17.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002279/0.2699, allocations: 0.5247 MB / 421.5 MB, free: 16.74 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/0.27, allocations: 8 kB / 421.5 MB, free: 16.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005215/0.2705, allocations: 1.288 MB / 422.8 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2705, allocations: 3.984 kB / 422.8 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001446/0.272, allocations: 0.8067 MB / 423.6 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.819e-05/0.272, allocations: 100.7 kB / 423.7 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.874e-05/0.2721, allocations: 4 kB / 423.7 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.2723, allocations: 20.11 kB / 423.7 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.692e-05/0.2723, allocations: 27.97 kB / 423.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.2724, allocations: 11.94 kB / 423.7 MB, free: 14.37 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001364/0.2725, allocations: 201.9 kB / 423.9 MB, free: 14.18 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2725, allocations: 0 / 423.9 MB, free: 14.18 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000366/0.2729, allocations: 95.94 kB / 424 MB, free: 14.08 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.0001612/0.273, allocations: 135.2 kB / 424.2 MB, free: 13.94 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006202/0.2737, allocations: 336.8 kB / 424.5 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2737, allocations: 0 / 424.5 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003413/0.274, allocations: 179.8 kB / 424.7 MB, free: 13.44 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.2744, allocations: 36.92 kB / 424.7 MB, free: 13.4 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.2755, allocations: 0.7462 MB / 425.4 MB, free: 12.62 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001584/0.2757, allocations: 0.7837 MB / 426.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.086e-05/0.2758, allocations: 26.28 kB / 426.2 MB, free: 11.78 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.451e-05/0.2758, allocations: 23.42 kB / 426.3 MB, free: 11.76 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2758, allocations: 0 / 426.3 MB, free: 11.76 MB / 302.1 MB Notification: Performance of Templates: time 0.00642/0.2823, allocations: 3.707 MB / 430 MB, free: 8.066 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 gbode -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe 2>&1)