Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.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.ShowSoftMagneticCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic") translateModel(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 108.8 kB / 16.37 MB, free: 6.473 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.001562/0.001562, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.0154/0.0154, allocations: 1.234 MB / 292.4 MB, free: 13.66 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001357, allocations: 59.91 kB / 353.8 MB, free: 248 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2401, allocations: 49.71 MB / 403.5 MB, free: 35.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic): time 0.002489/0.2426, allocations: 1.532 MB / 405 MB, free: 33.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001574/0.2442, allocations: 1.27 MB / 406.3 MB, free: 32.59 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.368e-05/0.2442, allocations: 4 kB / 406.3 MB, free: 32.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004757/0.2447, allocations: 143.4 kB / 406.4 MB, free: 32.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000502/0.2453, allocations: 257.4 kB / 406.7 MB, free: 32.2 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.931e-06/0.2453, allocations: 0 / 406.7 MB, free: 32.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.2454, allocations: 115.5 kB / 406.8 MB, free: 32.08 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.414e-05/0.2455, allocations: 9.453 kB / 406.8 MB, free: 32.07 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.336e-05/0.2455, allocations: 49.48 kB / 406.8 MB, free: 32.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.2457, allocations: 67.69 kB / 406.9 MB, free: 31.95 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.2457, allocations: 4 kB / 406.9 MB, free: 31.95 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004772/0.2462, allocations: 407.1 kB / 407.3 MB, free: 31.55 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.229e-05/0.2463, allocations: 32.56 kB / 407.3 MB, free: 31.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.167e-05/0.2463, allocations: 59.53 kB / 407.4 MB, free: 31.46 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003462/0.2467, allocations: 344.9 kB / 407.7 MB, free: 31.12 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.2467, allocations: 0 / 407.7 MB, free: 31.12 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.2467, allocations: 3.938 kB / 407.7 MB, free: 31.12 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.2467, allocations: 0 / 407.7 MB, free: 31.12 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006347/0.2473, allocations: 482.5 kB / 408.2 MB, free: 30.6 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.2474, allocations: 8.031 kB / 408.2 MB, free: 30.59 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.303e-05/0.2474, allocations: 16.75 kB / 408.2 MB, free: 30.58 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/0.2476, allocations: 243.6 kB / 408.5 MB, free: 30.3 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.2477, allocations: 8.375 kB / 408.5 MB, free: 30.29 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.2477, allocations: 4.375 kB / 408.5 MB, free: 30.29 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.2478, allocations: 105.9 kB / 408.6 MB, free: 30.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.2478, allocations: 0 / 408.6 MB, free: 30.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.2479, allocations: 11.94 kB / 408.6 MB, free: 30.17 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.2479, allocations: 0 / 408.6 MB, free: 30.17 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.248, allocations: 143.9 kB / 408.7 MB, free: 30.03 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002011/0.2482, allocations: 257.6 kB / 409 MB, free: 29.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.2484, allocations: 158.5 kB / 409.2 MB, free: 29.56 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.597e-05/0.2484, allocations: 72.81 kB / 409.2 MB, free: 29.49 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.365e-05/0.2485, allocations: 39.92 kB / 409.3 MB, free: 29.45 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.2485, allocations: 38.5 kB / 409.3 MB, free: 29.4 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.2485, allocations: 0 / 409.3 MB, free: 29.4 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.001682/0.2502, allocations: 447.3 kB / 409.7 MB, free: 28.94 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/0.2503, allocations: 51.41 kB / 409.8 MB, free: 28.88 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.2504, allocations: 216.2 kB / 410 MB, free: 28.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.2505, allocations: 29.7 kB / 410 MB, free: 28.62 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.554e-05/0.2505, allocations: 120.1 kB / 410.1 MB, free: 28.5 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.257e-05/0.2506, allocations: 27.56 kB / 410.2 MB, free: 28.47 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.68e-05/0.2506, allocations: 21.7 kB / 410.2 MB, free: 28.45 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.759e-05/0.2507, allocations: 338.8 kB / 410.5 MB, free: 28.11 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.734e-05/0.2507, allocations: 55.97 kB / 410.6 MB, free: 28.05 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.263e-05/0.2508, allocations: 59.97 kB / 410.6 MB, free: 27.99 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.2509, allocations: 133.3 kB / 410.8 MB, free: 27.86 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2509, allocations: 0 / 410.8 MB, free: 27.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000709/0.2516, allocations: 242.1 kB / 411 MB, free: 27.61 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.2517, allocations: 10.19 kB / 411 MB, free: 27.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2517, allocations: 0 / 411 MB, free: 27.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007021/0.2524, allocations: 72.7 kB / 411.1 MB, free: 27.53 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.17e-05/0.2524, allocations: 12 kB / 411.1 MB, free: 27.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001622/0.2541, allocations: 1.546 MB / 412.6 MB, free: 25.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.8e-05/0.2542, allocations: 15.97 kB / 412.7 MB, free: 25.81 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.2542, allocations: 4 kB / 412.7 MB, free: 25.8 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 7.033e-05/0.2543, allocations: 129.8 kB / 412.8 MB, free: 25.67 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.247e-05/0.2543, allocations: 15.81 kB / 412.8 MB, free: 25.65 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007547/0.255, allocations: 275.6 kB / 413.1 MB, free: 25.38 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2551, allocations: 0 / 413.1 MB, free: 25.38 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.92e-07/0.2551, allocations: 0 / 413.1 MB, free: 25.38 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.2551, allocations: 0 / 413.1 MB, free: 25.38 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.2552, allocations: 257.6 kB / 413.3 MB, free: 25.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2552, allocations: 3.938 kB / 413.3 MB, free: 25.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.992e-05/0.2553, allocations: 12 kB / 413.3 MB, free: 25.06 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006073/0.2559, allocations: 80.7 kB / 413.4 MB, free: 24.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.2559, allocations: 4 kB / 413.4 MB, free: 24.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001398/0.2573, allocations: 1.547 MB / 415 MB, free: 23.29 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2573, allocations: 0 / 415 MB, free: 23.29 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00068/0.258, allocations: 277.5 kB / 415.2 MB, free: 23 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.721e-05/0.2581, allocations: 96.83 kB / 415.3 MB, free: 22.88 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.2581, allocations: 0 / 415.3 MB, free: 22.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.864e-05/0.2581, allocations: 7.938 kB / 415.3 MB, free: 22.88 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.748e-05/0.2582, allocations: 11.97 kB / 415.4 MB, free: 22.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.2582, allocations: 4 kB / 415.4 MB, free: 22.86 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.671e-05/0.2583, allocations: 167.1 kB / 415.5 MB, free: 22.7 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2583, allocations: 0 / 415.5 MB, free: 22.7 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003263/0.2586, allocations: 79.92 kB / 415.6 MB, free: 22.62 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002213/0.2589, allocations: 159.1 kB / 415.8 MB, free: 22.45 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004918/0.2594, allocations: 274.5 kB / 416 MB, free: 22.17 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2594, allocations: 0 / 416 MB, free: 22.17 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003089/0.2597, allocations: 207 kB / 416.2 MB, free: 21.95 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.2599, allocations: 27.88 kB / 416.3 MB, free: 21.93 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003449/0.2634, allocations: 0.5739 MB / 416.8 MB, free: 21.33 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.2635, allocations: 0.7278 MB / 417.6 MB, free: 20.57 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.774e-05/0.2636, allocations: 12.88 kB / 417.6 MB, free: 20.56 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.474e-05/0.2636, allocations: 15.44 kB / 417.6 MB, free: 20.55 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2636, allocations: 0 / 417.6 MB, free: 20.55 MB / 302.1 MB Notification: Performance of Templates: time 0.005529/0.2692, allocations: 3.172 MB / 420.8 MB, free: 17.39 MB / 302.1 MB make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.makefile (rm -f FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe ; mkfifo FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe ; head -c 1048576 < FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe >> ../files/FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.sim & ./FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe 2>&1)