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.001222/0.001222, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.00663/0.00663, allocations: 1.182 MB / 14.44 MB, free: 0.8594 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.773/1.773, allocations: 221.3 MB / 236.6 MB, free: 1.945 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009745/0.0009746, allocations: 97.14 kB / 287.8 MB, free: 5.711 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.67e-05/4.671e-05, allocations: 4 kB / 346.4 MB, free: 5.98 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1397, allocations: 50.67 MB / 397.1 MB, free: 3.262 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4588/0.5986, allocations: 80.16 MB / 477.2 MB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/0.5989, allocations: 63.42 kB / 477.3 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03172/0.6306, allocations: 12.74 MB / 490 MB, free: 2.551 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.6307, allocations: 3.938 kB / 490 MB, free: 2.547 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.323e-05/0.6307, allocations: 8 kB / 490 MB, free: 2.539 MB / 346.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.0004139/0.6311, allocations: 427.9 kB / 490.5 MB, free: 2.09 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.6312, allocations: 8.031 kB / 490.5 MB, free: 2.082 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.779e-05/0.6312, allocations: 23.06 kB / 490.5 MB, free: 2.062 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/0.6315, allocations: 235 kB / 490.7 MB, free: 1.805 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.6315, allocations: 0 / 490.7 MB, free: 1.805 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.6315, allocations: 7.5 kB / 490.7 MB, free: 1.801 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.6317, allocations: 115.4 kB / 490.8 MB, free: 1.699 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.6317, allocations: 0 / 490.8 MB, free: 1.699 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.6317, allocations: 7.953 kB / 490.8 MB, free: 1.691 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.6318, allocations: 0 / 490.8 MB, free: 1.691 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002101/0.632, allocations: 185.4 kB / 491 MB, free: 1.543 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002309/0.6322, allocations: 261.8 kB / 491.3 MB, free: 1.27 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.6324, allocations: 171.7 kB / 491.5 MB, free: 1.129 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.373e-05/0.6325, allocations: 77.67 kB / 491.5 MB, free: 1.066 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.571e-05/0.6326, allocations: 35.22 kB / 491.6 MB, free: 1.035 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.6326, allocations: 42.16 kB / 491.6 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.144e-06/0.6326, allocations: 0 / 491.6 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008282/0.6335, allocations: 259.9 kB / 491.9 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.6335, allocations: 61.22 kB / 491.9 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.6337, allocations: 191.1 kB / 492.1 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.6337, allocations: 25.7 kB / 492.1 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.041e-05/0.6338, allocations: 121 kB / 492.2 MB, free: 408 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.935e-05/0.6338, allocations: 35.09 kB / 492.3 MB, free: 376 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-06/0.6338, allocations: 0 / 492.3 MB, free: 376 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.931e-05/0.6339, allocations: 325.5 kB / 492.6 MB, free: 48 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.634, allocations: 77.19 kB / 492.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.993e-05/0.6341, allocations: 67.89 kB / 492.7 MB, free: 15.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.6342, allocations: 73.3 kB / 492.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.6342, allocations: 0 / 492.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007979/0.635, allocations: 264.5 kB / 493.1 MB, free: 15.65 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.6351, allocations: 11.95 kB / 493.1 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.6351, allocations: 0 / 493.1 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006842/0.6358, allocations: 72.66 kB / 493.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.606e-05/0.6359, allocations: 19.92 kB / 493.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001967/0.6379, allocations: 1.432 MB / 494.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.219e-05/0.638, allocations: 3.969 kB / 494.6 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.188e-05/0.638, allocations: 15.98 kB / 494.6 MB, free: 14.05 MB / 362.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 8.116e-05/0.6381, allocations: 108.5 kB / 494.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.912e-05/0.6381, allocations: 19.77 kB / 494.7 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00098/0.6391, allocations: 325.2 kB / 495.1 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.6391, allocations: 0 / 495.1 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.6391, allocations: 4 kB / 495.1 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.6391, allocations: 4 kB / 495.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002436/0.6394, allocations: 264.1 kB / 495.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.6394, allocations: 7.938 kB / 495.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.868e-05/0.6395, allocations: 12 kB / 495.4 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005881/0.6401, allocations: 72.33 kB / 495.4 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/0.6401, allocations: 8 kB / 495.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001746/0.6418, allocations: 1.428 MB / 496.9 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6419, allocations: 0 / 496.9 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008016/0.6427, allocations: 296.7 kB / 497.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.969e-05/0.6427, allocations: 92.92 kB / 497.2 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.6428, allocations: 0 / 497.2 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.677e-05/0.6428, allocations: 7.047 kB / 497.2 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.747e-05/0.6429, allocations: 15.92 kB / 497.3 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/0.6429, allocations: 11.98 kB / 497.3 MB, free: 11.37 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001442/0.6431, allocations: 163.5 kB / 497.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6431, allocations: 0 / 497.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004612/0.6436, allocations: 94.17 kB / 497.5 MB, free: 11.15 MB / 362.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003487/0.6439, allocations: 184.4 kB / 497.7 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005364/0.6445, allocations: 264.6 kB / 498 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.6445, allocations: 0 / 498 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000359/0.6448, allocations: 205.2 kB / 498.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.6451, allocations: 19.38 kB / 498.2 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02589/0.671, allocations: 1.355 MB / 499.5 MB, free: 9.164 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.6713, allocations: 0.7277 MB / 0.4885 GB, free: 8.41 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.162e-05/0.6714, allocations: 14.3 kB / 0.4886 GB, free: 8.398 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.371e-05/0.6715, allocations: 18.56 kB / 0.4886 GB, free: 8.387 MB / 362.7 MB Notification: Performance of SimCode: time 1.042e-06/0.6715, allocations: 0 / 0.4886 GB, free: 8.387 MB / 362.7 MB Notification: Performance of Templates: time 0.007505/0.679, allocations: 3.639 MB / 0.4921 GB, free: 4.789 MB / 362.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)