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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 FluxTubesExtension with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 182.5 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.01581/0.01581, allocations: 1.236 MB / 17.97 MB, free: 3.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.229/1.229, allocations: 222.9 MB / 241.9 MB, free: 9.668 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009696/0.0009696, allocations: 104 kB / 292.4 MB, free: 9.773 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009416/0.0009416, allocations: 55.92 kB / 352.8 MB, free: 13.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2069, allocations: 49.71 MB / 402.6 MB, free: 31.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic): time 0.002617/0.2096, allocations: 1.594 MB / 404.1 MB, free: 30.21 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.2109, allocations: 1.284 MB / 405.4 MB, free: 28.92 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.693e-05/0.211, allocations: 0 / 405.4 MB, free: 28.92 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004263/0.2114, allocations: 147.4 kB / 405.6 MB, free: 28.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005176/0.2119, allocations: 232.5 kB / 405.8 MB, free: 28.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.779e-06/0.212, allocations: 0 / 405.8 MB, free: 28.55 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.2121, allocations: 159.4 kB / 406 MB, free: 28.39 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.672e-05/0.2121, allocations: 15.5 kB / 406 MB, free: 28.38 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.238e-05/0.2122, allocations: 51.77 kB / 406 MB, free: 28.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001308/0.2124, allocations: 67.69 kB / 406.1 MB, free: 28.26 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.2124, allocations: 4 kB / 406.1 MB, free: 28.25 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004467/0.2128, allocations: 431.1 kB / 406.5 MB, free: 27.83 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.214e-05/0.2129, allocations: 43.81 kB / 406.6 MB, free: 27.79 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.993e-05/0.213, allocations: 47.67 kB / 406.6 MB, free: 27.74 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000352/0.2133, allocations: 378.8 kB / 407 MB, free: 27.37 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.2133, allocations: 0 / 407 MB, free: 27.37 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2133, allocations: 0 / 407 MB, free: 27.37 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.2134, allocations: 0 / 407 MB, free: 27.37 MB / 298.7 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.0005694/0.2139, allocations: 479 kB / 407.4 MB, free: 26.86 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.214, allocations: 19.95 kB / 407.5 MB, free: 26.84 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.903e-05/0.214, allocations: 16.75 kB / 407.5 MB, free: 26.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.2142, allocations: 239.8 kB / 407.7 MB, free: 26.55 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.973e-06/0.2142, allocations: 4.375 kB / 407.7 MB, free: 26.54 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.2142, allocations: 4.375 kB / 407.7 MB, free: 26.54 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.2144, allocations: 105.9 kB / 407.8 MB, free: 26.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.2144, allocations: 0 / 407.8 MB, free: 26.43 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.2144, allocations: 4 kB / 407.8 MB, free: 26.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2144, allocations: 4 kB / 407.8 MB, free: 26.42 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.2146, allocations: 147.8 kB / 408 MB, free: 26.28 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001857/0.2148, allocations: 257.6 kB / 408.2 MB, free: 25.98 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.2149, allocations: 150.5 kB / 408.4 MB, free: 25.82 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.153e-05/0.215, allocations: 69.11 kB / 408.4 MB, free: 25.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.439e-05/0.2151, allocations: 51.83 kB / 408.5 MB, free: 25.7 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.2151, allocations: 34.5 kB / 408.5 MB, free: 25.66 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.2151, allocations: 0 / 408.5 MB, free: 25.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.001503/0.2166, allocations: 439.2 kB / 409 MB, free: 25.2 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/0.2167, allocations: 51.41 kB / 409 MB, free: 25.14 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.2168, allocations: 219 kB / 409.2 MB, free: 24.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.2169, allocations: 29.7 kB / 409.2 MB, free: 24.88 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.481e-05/0.2169, allocations: 116.1 kB / 409.4 MB, free: 24.76 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.911e-05/0.2169, allocations: 31.55 kB / 409.4 MB, free: 24.73 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.294e-05/0.217, allocations: 21.72 kB / 409.4 MB, free: 24.7 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.228e-05/0.217, allocations: 330.8 kB / 409.7 MB, free: 24.37 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.52e-05/0.2171, allocations: 59.97 kB / 409.8 MB, free: 24.31 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.113e-05/0.2171, allocations: 63.91 kB / 409.9 MB, free: 24.25 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001121/0.2173, allocations: 137.3 kB / 410 MB, free: 24.11 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2173, allocations: 0 / 410 MB, free: 24.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006323/0.2179, allocations: 238.1 kB / 410.2 MB, free: 23.87 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.2179, allocations: 8 kB / 410.2 MB, free: 23.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.2179, allocations: 3.984 kB / 410.2 MB, free: 23.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007108/0.2187, allocations: 68.78 kB / 410.3 MB, free: 23.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.357e-05/0.2187, allocations: 19.98 kB / 410.3 MB, free: 23.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001582/0.2203, allocations: 1.437 MB / 411.8 MB, free: 22.19 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.693e-05/0.2204, allocations: 19.95 kB / 411.8 MB, free: 22.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.2204, allocations: 4 kB / 411.8 MB, free: 22.17 MB / 298.7 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 6.446e-05/0.2205, allocations: 125.8 kB / 411.9 MB, free: 22.04 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.119e-05/0.2205, allocations: 15.81 kB / 411.9 MB, free: 22.02 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006958/0.2212, allocations: 275.6 kB / 412.2 MB, free: 21.74 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2212, allocations: 0 / 412.2 MB, free: 21.74 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.42e-07/0.2212, allocations: 0 / 412.2 MB, free: 21.74 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.2212, allocations: 0 / 412.2 MB, free: 21.74 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/0.2214, allocations: 249.6 kB / 412.4 MB, free: 21.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.2214, allocations: 0 / 412.4 MB, free: 21.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.836e-05/0.2214, allocations: 15.98 kB / 412.5 MB, free: 21.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000548/0.222, allocations: 72.78 kB / 412.5 MB, free: 21.36 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.222, allocations: 7.922 kB / 412.5 MB, free: 21.35 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001289/0.2233, allocations: 1.432 MB / 414 MB, free: 19.79 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2233, allocations: 8.031 kB / 414 MB, free: 19.78 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008137/0.2241, allocations: 0.9289 MB / 414.9 MB, free: 18.79 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.875e-05/0.2242, allocations: 92.92 kB / 415 MB, free: 18.68 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.2242, allocations: 0 / 415 MB, free: 18.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.817e-05/0.2243, allocations: 3.984 kB / 415 MB, free: 18.68 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.2243, allocations: 15.92 kB / 415 MB, free: 18.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.2243, allocations: 4 kB / 415 MB, free: 18.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.285e-05/0.2244, allocations: 168.2 kB / 415.2 MB, free: 18.49 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2244, allocations: 0 / 415.2 MB, free: 18.49 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004109/0.2248, allocations: 87.92 kB / 415.3 MB, free: 18.41 MB / 298.7 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.0002112/0.2251, allocations: 159.1 kB / 415.4 MB, free: 18.24 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004267/0.2255, allocations: 262.5 kB / 415.7 MB, free: 17.97 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2255, allocations: 4.375 kB / 415.7 MB, free: 17.96 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003422/0.2259, allocations: 206.5 kB / 415.9 MB, free: 17.75 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/0.2262, allocations: 30.98 kB / 415.9 MB, free: 17.72 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003246/0.2294, allocations: 0.7226 MB / 416.6 MB, free: 16.96 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/0.2296, allocations: 0.7243 MB / 417.4 MB, free: 16.21 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.67e-05/0.2296, allocations: 16.86 kB / 417.4 MB, free: 16.2 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.543e-05/0.2297, allocations: 19.44 kB / 417.4 MB, free: 16.18 MB / 298.7 MB Notification: Performance of SimCode: time 5.21e-07/0.2297, allocations: 0 / 417.4 MB, free: 16.18 MB / 298.7 MB Notification: Performance of Templates: time 0.005295/0.235, allocations: 3.122 MB / 420.5 MB, free: 13.07 MB / 298.7 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)