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.001066/0.001066, allocations: 105.6 kB / 15.98 MB, free: 5.895 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.001076/0.001076, allocations: 195.3 kB / 16.91 MB, free: 5.746 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.259/1.259, allocations: 222.9 MB / 240.6 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.01827/0.01827, allocations: 1.232 MB / 292 MB, free: 1.242 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001072/0.001072, allocations: 55.91 kB / 352.5 MB, free: 2.09 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08066/0.08174, allocations: 49.7 MB / 402.2 MB, free: 356 kB / 286.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic): time 0.1402/0.222, allocations: 1.595 MB / 403.8 MB, free: 9.668 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001494/0.2235, allocations: 1.248 MB / 405 MB, free: 8.809 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.832e-05/0.2235, allocations: 0.875 kB / 405 MB, free: 8.809 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004878/0.224, allocations: 147 kB / 405.2 MB, free: 8.758 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005525/0.2246, allocations: 247.6 kB / 405.4 MB, free: 8.648 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.891e-06/0.2247, allocations: 0 / 405.4 MB, free: 8.648 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001194/0.2248, allocations: 115.6 kB / 405.5 MB, free: 8.598 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.657e-05/0.2248, allocations: 9.266 kB / 405.5 MB, free: 8.594 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.77e-05/0.2249, allocations: 49.2 kB / 405.6 MB, free: 8.574 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.2251, allocations: 70.78 kB / 405.6 MB, free: 8.547 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.2251, allocations: 3.938 kB / 405.6 MB, free: 8.547 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005384/0.2257, allocations: 415.1 kB / 406 MB, free: 8.395 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.849e-05/0.2257, allocations: 35.56 kB / 406.1 MB, free: 8.383 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.946e-05/0.2258, allocations: 54.36 kB / 406.1 MB, free: 8.348 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003253/0.2261, allocations: 225.8 kB / 406.4 MB, free: 8.293 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2261, allocations: 0 / 406.4 MB, free: 8.293 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2261, allocations: 1.625 kB / 406.4 MB, free: 8.293 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.2261, allocations: 0 / 406.4 MB, free: 8.293 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006216/0.2268, allocations: 498.1 kB / 406.8 MB, free: 7.836 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.2268, allocations: 9.812 kB / 406.9 MB, free: 7.836 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.901e-05/0.2269, allocations: 15.72 kB / 406.9 MB, free: 7.828 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.2271, allocations: 242.2 kB / 407.1 MB, free: 7.594 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.2271, allocations: 2.719 kB / 407.1 MB, free: 7.594 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.2271, allocations: 7.094 kB / 407.1 MB, free: 7.59 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.2273, allocations: 106.9 kB / 407.2 MB, free: 7.539 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.2273, allocations: 0 / 407.2 MB, free: 7.539 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.2273, allocations: 4.562 kB / 407.2 MB, free: 7.535 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.2273, allocations: 2.031 kB / 407.2 MB, free: 7.535 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001806/0.2275, allocations: 146.5 kB / 407.4 MB, free: 7.512 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000247/0.2278, allocations: 257.3 kB / 407.6 MB, free: 7.297 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.228, allocations: 154.6 kB / 407.8 MB, free: 7.246 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.291e-05/0.2281, allocations: 69.3 kB / 407.8 MB, free: 7.227 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.224e-05/0.2281, allocations: 35.84 kB / 407.9 MB, free: 7.223 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.2282, allocations: 39.66 kB / 407.9 MB, free: 7.176 MB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 1.183e-06/0.2282, allocations: 0 / 407.9 MB, free: 7.176 MB / 286.1 MB Notification: Performance of matching and sorting (n=9): time 0.001952/0.2301, allocations: 441 kB / 408.3 MB, free: 6.984 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.796e-05/0.2301, allocations: 53.94 kB / 408.4 MB, free: 6.922 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/0.2303, allocations: 215.3 kB / 408.6 MB, free: 6.785 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.2304, allocations: 35.67 kB / 408.6 MB, free: 6.746 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.99e-05/0.2304, allocations: 114.8 kB / 408.8 MB, free: 6.641 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.2304, allocations: 29.62 kB / 408.8 MB, free: 6.617 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.054e-05/0.2305, allocations: 27.31 kB / 408.8 MB, free: 6.594 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.755e-05/0.2306, allocations: 324.9 kB / 409.1 MB, free: 6.277 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.297e-05/0.2306, allocations: 65.7 kB / 409.2 MB, free: 6.262 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.357e-05/0.2307, allocations: 62.22 kB / 409.3 MB, free: 6.25 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.2309, allocations: 132.2 kB / 409.4 MB, free: 6.215 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2309, allocations: 0 / 409.4 MB, free: 6.215 MB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008737/0.2317, allocations: 241.1 kB / 409.6 MB, free: 6.129 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.2318, allocations: 5.375 kB / 409.6 MB, free: 6.129 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.2318, allocations: 0 / 409.6 MB, free: 6.129 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008047/0.2326, allocations: 73.52 kB / 409.7 MB, free: 6.113 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.325e-05/0.2327, allocations: 16.16 kB / 409.7 MB, free: 6.109 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001752/0.2344, allocations: 1.555 MB / 411.3 MB, free: 4.648 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.732e-05/0.2345, allocations: 9.594 kB / 411.3 MB, free: 4.641 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.2345, allocations: 4.688 kB / 411.3 MB, free: 4.641 MB / 286.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.457e-05/0.2346, allocations: 133.8 kB / 411.4 MB, free: 4.512 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.2346, allocations: 15.94 kB / 411.4 MB, free: 4.504 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009118/0.2356, allocations: 267.9 kB / 411.7 MB, free: 4.41 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.2356, allocations: 1.188 kB / 411.7 MB, free: 4.41 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.2356, allocations: 0 / 411.7 MB, free: 4.41 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.2356, allocations: 5.703 kB / 411.7 MB, free: 4.406 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.2358, allocations: 252.3 kB / 411.9 MB, free: 4.195 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.2358, allocations: 3.938 kB / 411.9 MB, free: 4.191 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.409e-05/0.2358, allocations: 11.94 kB / 412 MB, free: 4.191 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007403/0.2366, allocations: 72.97 kB / 412 MB, free: 4.176 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.2366, allocations: 3.688 kB / 412 MB, free: 4.176 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00163/0.2382, allocations: 1.545 MB / 413.6 MB, free: 2.73 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.2383, allocations: 0.5156 kB / 413.6 MB, free: 2.73 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008564/0.2391, allocations: 278.7 kB / 413.8 MB, free: 2.602 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.039e-05/0.2392, allocations: 95.31 kB / 413.9 MB, free: 2.496 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.2392, allocations: 1.859 kB / 413.9 MB, free: 2.496 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.653e-05/0.2393, allocations: 5.812 kB / 413.9 MB, free: 2.492 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.2393, allocations: 21.36 kB / 414 MB, free: 2.48 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.2393, allocations: 2.562 kB / 414 MB, free: 2.48 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001382/0.2395, allocations: 168.6 kB / 414.1 MB, free: 2.375 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2395, allocations: 0 / 414.1 MB, free: 2.375 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000416/0.2399, allocations: 78.84 kB / 414.2 MB, free: 2.359 MB / 286.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.0002543/0.2402, allocations: 161.7 kB / 414.4 MB, free: 2.25 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006012/0.2408, allocations: 281.8 kB / 414.6 MB, free: 2.102 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2408, allocations: 0 / 414.6 MB, free: 2.102 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003813/0.2412, allocations: 206.3 kB / 414.8 MB, free: 1.973 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.2415, allocations: 30.39 kB / 414.9 MB, free: 1.961 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004143/0.2456, allocations: 0.6367 MB / 415.5 MB, free: 1.688 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/0.2458, allocations: 0.7195 MB / 416.2 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.313e-05/0.2458, allocations: 20.53 kB / 416.3 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of SimCode: time 3.9e-07/0.2458, allocations: 0 / 416.3 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of Templates: time 0.005055/0.2509, allocations: 2.979 MB / 419.2 MB, free: 0.7148 MB / 286.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 -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe 2>&1)