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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006461/0.0006461, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009126/0.001559, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006684/0.0006684, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008696/0.001538, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8978/0.8978, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07351/0.9713, allocations: 53.67 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.01545/0.01545, allocations: 0.9663 MB / 244.9 MB, free: 14.02 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001757/0.01721, allocations: 0.6824 MB / 245.6 MB, free: 13.34 MB / 250.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic") translateModel(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 246.9 MB, free: 12.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.969e-06/1.126e-05, allocations: 2.312 kB / 246.9 MB, free: 12.08 MB / 250.7 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic): time 0.002323/0.002334, allocations: 1.648 MB / 248.5 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001627/0.003961, allocations: 1.249 MB / 249.8 MB, free: 9.168 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.112e-05/0.004013, allocations: 4 kB / 249.8 MB, free: 9.164 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004075/0.00442, allocations: 147.2 kB / 249.9 MB, free: 9.02 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005496/0.00497, allocations: 262.6 kB / 250.2 MB, free: 8.762 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.883e-06/0.004976, allocations: 4 kB / 250.2 MB, free: 8.758 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.005126, allocations: 111.4 kB / 250.3 MB, free: 8.648 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.189e-05/0.005178, allocations: 10.28 kB / 250.3 MB, free: 8.637 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.005302, allocations: 75.75 kB / 250.4 MB, free: 8.562 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001575/0.005459, allocations: 67.8 kB / 250.4 MB, free: 8.496 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.005474, allocations: 4 kB / 250.4 MB, free: 8.492 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005745/0.006049, allocations: 371 kB / 250.8 MB, free: 8.129 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.757e-05/0.006106, allocations: 31.86 kB / 250.8 MB, free: 8.098 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.326e-05/0.006149, allocations: 23.94 kB / 250.9 MB, free: 8.074 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004096/0.006559, allocations: 267.1 kB / 251.1 MB, free: 7.812 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.565e-05/0.006575, allocations: 4 kB / 251.1 MB, free: 7.809 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.006575, allocations: 0 / 251.1 MB, free: 7.809 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.563e-05/0.006591, allocations: 0 / 251.1 MB, free: 7.809 MB / 250.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.000597/0.007188, allocations: 435.1 kB / 251.5 MB, free: 7.359 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.007228, allocations: 11.98 kB / 251.6 MB, free: 7.348 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.233e-05/0.00727, allocations: 16.86 kB / 251.6 MB, free: 7.332 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/0.007503, allocations: 169.3 kB / 251.7 MB, free: 7.141 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.007515, allocations: 384 / 251.7 MB, free: 7.141 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.007529, allocations: 8.375 kB / 251.7 MB, free: 7.133 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.007649, allocations: 53.05 kB / 251.8 MB, free: 7.074 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.007657, allocations: 192 / 251.8 MB, free: 7.074 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.007666, allocations: 384 / 251.8 MB, free: 7.074 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.007675, allocations: 3.938 kB / 251.8 MB, free: 7.07 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.459e-05/0.00775, allocations: 47.88 kB / 251.8 MB, free: 7.023 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001672/0.007917, allocations: 86.66 kB / 251.9 MB, free: 6.922 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.008021, allocations: 49.36 kB / 252 MB, free: 6.863 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.316e-05/0.008054, allocations: 16.86 kB / 252 MB, free: 6.844 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.823e-05/0.008142, allocations: 40.25 kB / 252 MB, free: 6.805 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.008169, allocations: 34.5 kB / 252.1 MB, free: 6.762 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.00817, allocations: 0 / 252.1 MB, free: 6.762 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007969/0.008967, allocations: 190.3 kB / 252.3 MB, free: 6.566 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.008992, allocations: 63.28 kB / 252.3 MB, free: 6.492 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.009097, allocations: 190.3 kB / 252.5 MB, free: 6.293 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.009107, allocations: 25.7 kB / 252.5 MB, free: 6.262 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.11e-05/0.009138, allocations: 100.1 kB / 252.6 MB, free: 6.16 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.158e-05/0.009179, allocations: 31.73 kB / 252.7 MB, free: 6.129 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.676e-05/0.009206, allocations: 21.7 kB / 252.7 MB, free: 6.102 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.266e-05/0.009279, allocations: 334.8 kB / 253 MB, free: 5.766 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.446e-05/0.009293, allocations: 10.77 kB / 253 MB, free: 5.754 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.488e-05/0.009308, allocations: 12.36 kB / 253 MB, free: 5.742 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.116e-05/0.009349, allocations: 35.8 kB / 253.1 MB, free: 5.703 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.009351, allocations: 0 / 253.1 MB, free: 5.703 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002833/0.009634, allocations: 118.4 kB / 253.2 MB, free: 5.578 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.009646, allocations: 7.938 kB / 253.2 MB, free: 5.57 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.009651, allocations: 4 kB / 253.2 MB, free: 5.566 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004718/0.01012, allocations: 108.7 kB / 253.3 MB, free: 5.457 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.383e-05/0.01017, allocations: 12 kB / 253.3 MB, free: 5.445 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009969/0.01116, allocations: 1.268 MB / 254.6 MB, free: 4.09 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.959e-05/0.01119, allocations: 7.891 kB / 254.6 MB, free: 4.082 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.0112, allocations: 4 kB / 254.6 MB, free: 4.078 MB / 250.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 5.683e-05/0.01126, allocations: 116.6 kB / 254.7 MB, free: 3.953 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.255e-05/0.01127, allocations: 11.98 kB / 254.7 MB, free: 3.941 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002996/0.01157, allocations: 143.9 kB / 254.9 MB, free: 3.789 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.51e-07/0.01157, allocations: 0 / 254.9 MB, free: 3.789 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.52e-07/0.01157, allocations: 4 kB / 254.9 MB, free: 3.785 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.01157, allocations: 0 / 254.9 MB, free: 3.785 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.505e-05/0.01166, allocations: 109.8 kB / 255 MB, free: 3.66 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01166, allocations: 0 / 255 MB, free: 3.66 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.665e-05/0.01169, allocations: 19.92 kB / 255 MB, free: 3.641 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.498e-05/0.0117, allocations: 19.84 kB / 255 MB, free: 3.621 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000398/0.0121, allocations: 96.73 kB / 255.1 MB, free: 3.523 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.0121, allocations: 0 / 255.1 MB, free: 3.523 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007667/0.01287, allocations: 1.272 MB / 256.4 MB, free: 2.168 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.01287, allocations: 0 / 256.4 MB, free: 2.168 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002586/0.01313, allocations: 159.6 kB / 256.5 MB, free: 1.988 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/0.01314, allocations: 3.984 kB / 256.5 MB, free: 1.984 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.258e-05/0.01316, allocations: 8 kB / 256.5 MB, free: 1.977 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.812e-05/0.01318, allocations: 11.86 kB / 256.5 MB, free: 1.965 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.01319, allocations: 7.984 kB / 256.6 MB, free: 1.957 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.877e-05/0.01322, allocations: 53.97 kB / 256.6 MB, free: 1.902 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01322, allocations: 0 / 256.6 MB, free: 1.902 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001817/0.01341, allocations: 79.8 kB / 256.7 MB, free: 1.824 MB / 250.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.000171/0.01358, allocations: 156 kB / 256.8 MB, free: 1.664 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002241/0.0138, allocations: 171.1 kB / 257 MB, free: 1.48 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/0.01381, allocations: 4 kB / 257 MB, free: 1.477 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.01394, allocations: 163.7 kB / 257.2 MB, free: 1.301 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001209/0.01406, allocations: 39.91 kB / 257.2 MB, free: 1.262 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.01574, allocations: 0.5217 MB / 257.7 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.627e-05/0.01577, allocations: 75.83 kB / 257.8 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.557e-05/0.01581, allocations: 16.98 kB / 257.8 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.199e-05/0.01586, allocations: 63.36 kB / 257.9 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01586, allocations: 0 / 257.9 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of Templates: time 0.00465/0.02051, allocations: 3.784 MB / 261.7 MB, free: 12.77 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.makefile [Timeout 660] (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=240 -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.3174142399802804]