Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.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.0009356/0.0009356, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001755/0.001755, allocations: 165.3 kB / 23.02 MB, free: 1.551 MB / 18.57 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 1.044/1.044, allocations: 177.1 MB / 203.4 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension main/package.mo): time 0.005315/0.005315, allocations: 0.9697 MB / 260.9 MB, free: 12.2 MB / 250.7 MB " [Timeout remaining time 180] Using package FluxTubesExtension with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 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.SaturatedInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor") translateModel(FluxTubesExtension.Examples.SaturatedInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.494e-06/2.494e-06, allocations: 3.984 kB / 330.7 MB, free: 18.83 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.609e-05/2.858e-05, allocations: 2.312 kB / 330.7 MB, free: 18.83 MB / 266.7 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.SaturatedInductor): time 0.006251/0.00628, allocations: 2.847 MB / 333.6 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005084/0.01136, allocations: 1.635 MB / 335.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002001/0.01156, allocations: 15.88 kB / 335.2 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006677/0.01223, allocations: 186.9 kB / 335.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002052/0.01244, allocations: 115 kB / 335.5 MB, free: 14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005483/0.01299, allocations: 307 kB / 335.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003462/0.01645, allocations: 402.3 kB / 336.2 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.01662, allocations: 74.03 kB / 336.3 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003214/0.01694, allocations: 223.5 kB / 336.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001745/0.01711, allocations: 127.6 kB / 336.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.797e-05/0.01715, allocations: 28 kB / 336.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002938/0.01744, allocations: 175.5 kB / 336.8 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.39e-05/0.01752, allocations: 83.73 kB / 336.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.697e-05/0.0176, allocations: 115.7 kB / 337 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004105/0.01801, allocations: 338.8 kB / 337.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.01802, allocations: 0 / 337.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.01802, allocations: 0 / 337.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.01803, allocations: 4 kB / 337.4 MB, free: 12.16 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0007081/0.01874, allocations: 0.6904 MB / 338.1 MB, free: 11.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.01877, allocations: 12.03 kB / 338.1 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001572/0.01893, allocations: 68.69 kB / 338.1 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003289/0.02222, allocations: 231.5 kB / 338.4 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.125e-05/0.02225, allocations: 21.03 kB / 338.4 MB, free: 11.08 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.667e-05/0.02229, allocations: 28.38 kB / 338.4 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003578/0.02265, allocations: 237 kB / 338.7 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.02266, allocations: 192 / 338.7 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.02269, allocations: 12.38 kB / 338.7 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.0227, allocations: 7.938 kB / 338.7 MB, free: 10.78 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002178/0.02292, allocations: 119.8 kB / 338.8 MB, free: 10.67 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/0.02408, allocations: 0.871 MB / 339.7 MB, free: 9.738 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002379/0.02432, allocations: 144.9 kB / 339.8 MB, free: 9.586 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.02445, allocations: 75.58 kB / 339.9 MB, free: 9.508 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.008e-05/0.0245, allocations: 15.98 kB / 339.9 MB, free: 9.492 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.02452, allocations: 45.33 kB / 339.9 MB, free: 9.438 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.974e-06/0.02452, allocations: 0 / 339.9 MB, free: 9.438 MB / 266.7 MB Notification: Performance of matching and sorting (n=34): time 0.004304/0.02882, allocations: 1.169 MB / 341.1 MB, free: 8.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.971e-05/0.02884, allocations: 55.41 kB / 341.2 MB, free: 8.164 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/0.02904, allocations: 322.3 kB / 341.5 MB, free: 7.828 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.02906, allocations: 29.7 kB / 341.5 MB, free: 7.793 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.663e-05/0.02915, allocations: 255.2 kB / 341.8 MB, free: 7.539 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.931e-05/0.0292, allocations: 127 kB / 341.9 MB, free: 7.414 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.825e-05/0.02928, allocations: 63.36 kB / 341.9 MB, free: 7.344 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.721e-05/0.02934, allocations: 0.5196 MB / 342.5 MB, free: 6.812 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.867e-05/0.02944, allocations: 47.97 kB / 342.5 MB, free: 6.766 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.02956, allocations: 110.7 kB / 342.6 MB, free: 6.633 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002314/0.02979, allocations: 184.2 kB / 342.8 MB, free: 6.434 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.02979, allocations: 4 kB / 342.8 MB, free: 6.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009059/0.0307, allocations: 497.8 kB / 343.3 MB, free: 5.93 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.03071, allocations: 4 kB / 343.3 MB, free: 5.926 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.03072, allocations: 4 kB / 343.3 MB, free: 5.922 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001731/0.03245, allocations: 0.5456 MB / 343.8 MB, free: 5.367 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.03263, allocations: 51.97 kB / 343.9 MB, free: 5.316 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005109/0.03314, allocations: 1.713 MB / 345.6 MB, free: 3.539 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.03326, allocations: 11.98 kB / 345.6 MB, free: 3.527 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.03328, allocations: 12 kB / 345.6 MB, free: 3.516 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,8), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 9.63e-05/0.03337, allocations: 168.5 kB / 345.8 MB, free: 3.34 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.863e-05/0.03343, allocations: 55.7 kB / 345.8 MB, free: 3.285 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009046/0.03433, allocations: 439.7 kB / 346.3 MB, free: 2.836 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.03434, allocations: 4 kB / 346.3 MB, free: 2.832 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.03434, allocations: 0 / 346.3 MB, free: 2.832 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.03435, allocations: 0 / 346.3 MB, free: 2.832 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001283/0.03563, allocations: 0.8276 MB / 347.1 MB, free: 1.945 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.03564, allocations: 4 kB / 347.1 MB, free: 1.941 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.03579, allocations: 43.97 kB / 347.2 MB, free: 1.898 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001678/0.03746, allocations: 0.5535 MB / 347.7 MB, free: 1.336 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/0.03748, allocations: 8 kB / 347.7 MB, free: 1.328 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005065/0.03799, allocations: 1.698 MB / 349.4 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.03799, allocations: 3.938 kB / 349.4 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.03901, allocations: 0.6197 MB / 350 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.062e-05/0.03905, allocations: 27.81 kB / 350.1 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.803e-05/0.03909, allocations: 19.92 kB / 350.1 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.03922, allocations: 12.03 kB / 350.1 MB, free: 14.85 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.534e-05/0.03928, allocations: 19.95 kB / 350.1 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.0393, allocations: 12 kB / 350.1 MB, free: 14.82 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001593/0.03945, allocations: 219 kB / 350.3 MB, free: 14.61 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.03945, allocations: 0 / 350.3 MB, free: 14.61 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004031/0.03986, allocations: 91.81 kB / 350.4 MB, free: 14.52 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (coil.i) * 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 (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,8), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002183/0.04008, allocations: 143 kB / 350.6 MB, free: 14.37 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004992/0.04058, allocations: 219.4 kB / 350.8 MB, free: 14.15 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.04058, allocations: 0 / 350.8 MB, free: 14.15 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002517/0.04083, allocations: 131.5 kB / 350.9 MB, free: 14.02 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.04118, allocations: 36.64 kB / 350.9 MB, free: 13.98 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.04253, allocations: 0.6624 MB / 351.6 MB, free: 13.27 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.56e-05/0.0426, allocations: 101 kB / 351.7 MB, free: 13.16 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.545e-05/0.04268, allocations: 22.36 kB / 351.7 MB, free: 13.14 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.386e-05/0.04273, allocations: 24.48 kB / 351.8 MB, free: 13.11 MB / 282.7 MB Notification: Performance of SimCode: time 8.62e-07/0.04273, allocations: 0 / 351.8 MB, free: 13.11 MB / 282.7 MB Notification: Performance of Templates: time 0.006743/0.04947, allocations: 3.232 MB / 355 MB, free: 9.922 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.makefile [Timeout 660] (rm -f FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe ; mkfifo FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe ; head -c 1048576 < FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe >> ../files/FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.sim & ./FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor -abortSlowSimulation -alarm=240 -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0959577532485127]