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.001719/0.001719, allocations: 92.7 kB / 19.44 MB, free: 320 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.002375/0.002375, allocations: 161.3 kB / 22.76 MB, free: 1.652 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.626/1.626, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.009791/0.009791, allocations: 0.9527 MB / 260.5 MB, free: 12.23 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.354e-06/2.354e-06, allocations: 0 / 330 MB, free: 19.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.137e-05/4.372e-05, allocations: 2.312 kB / 330 MB, free: 19.2 MB / 266.7 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.SaturatedInductor): time 0.003372/0.003416, allocations: 2.674 MB / 332.7 MB, free: 16.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002378/0.005794, allocations: 1.569 MB / 334.3 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002949/0.006089, allocations: 7.938 kB / 334.3 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007865/0.006876, allocations: 186.9 kB / 334.4 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003593/0.007235, allocations: 107.1 kB / 334.5 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009022/0.008137, allocations: 310.9 kB / 334.8 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000675/0.008812, allocations: 409.2 kB / 335.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000226/0.009038, allocations: 74.03 kB / 335.3 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004137/0.009452, allocations: 219.5 kB / 335.5 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002074/0.009659, allocations: 119.6 kB / 335.7 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.663e-05/0.009706, allocations: 28 kB / 335.7 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003804/0.01009, allocations: 179.6 kB / 335.9 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.721e-05/0.01017, allocations: 83.72 kB / 335.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.0103, allocations: 111.7 kB / 336 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005983/0.01089, allocations: 474.4 kB / 336.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.0109, allocations: 0 / 336.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.0109, allocations: 0 / 336.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.01091, allocations: 0 / 336.5 MB, free: 12.66 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.001057/0.01197, allocations: 0.5789 MB / 337.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.01201, allocations: 12.03 kB / 337.1 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002478/0.01226, allocations: 72.69 kB / 337.2 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004765/0.01274, allocations: 232.5 kB / 337.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.069e-05/0.01277, allocations: 21.03 kB / 337.4 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.793e-05/0.01283, allocations: 32.38 kB / 337.5 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005549/0.01338, allocations: 296.3 kB / 337.7 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.0134, allocations: 4.125 kB / 337.7 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.197e-05/0.01343, allocations: 12.38 kB / 337.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.01344, allocations: 11.94 kB / 337.8 MB, free: 11.33 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004277/0.01387, allocations: 242.5 kB / 338 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001702/0.01557, allocations: 0.8874 MB / 338.9 MB, free: 10.15 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004788/0.01605, allocations: 230.6 kB / 339.1 MB, free: 9.922 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002706/0.01632, allocations: 119.1 kB / 339.2 MB, free: 9.805 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.457e-05/0.01638, allocations: 19.98 kB / 339.3 MB, free: 9.785 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.01642, allocations: 38.56 kB / 339.3 MB, free: 9.738 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 2.585e-06/0.01642, allocations: 4 kB / 339.3 MB, free: 9.734 MB / 266.7 MB Notification: Performance of matching and sorting (n=34): time 0.004478/0.0209, allocations: 1.482 MB / 340.8 MB, free: 8.219 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.02094, allocations: 55.41 kB / 340.8 MB, free: 8.152 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002946/0.02123, allocations: 280.1 kB / 341.1 MB, free: 7.867 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.393e-05/0.02126, allocations: 33.7 kB / 341.1 MB, free: 7.828 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.02137, allocations: 200.4 kB / 341.3 MB, free: 7.629 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.365e-05/0.02145, allocations: 126.9 kB / 341.5 MB, free: 7.504 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.02156, allocations: 65.69 kB / 341.5 MB, free: 7.434 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.037e-05/0.02163, allocations: 338.8 kB / 341.9 MB, free: 7.094 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002175/0.02185, allocations: 119.9 kB / 342 MB, free: 6.977 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/0.02208, allocations: 168.5 kB / 342.1 MB, free: 6.793 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004383/0.02251, allocations: 294.1 kB / 342.4 MB, free: 6.492 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.02252, allocations: 0 / 342.4 MB, free: 6.492 MB / 266.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001675/0.02419, allocations: 0.6408 MB / 343.1 MB, free: 5.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.02422, allocations: 10.12 kB / 343.1 MB, free: 5.832 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.02423, allocations: 4 kB / 343.1 MB, free: 5.828 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003006/0.02724, allocations: 0.5909 MB / 343.7 MB, free: 5.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003221/0.02756, allocations: 55.91 kB / 343.7 MB, free: 5.176 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008254/0.02839, allocations: 1.292 MB / 345 MB, free: 3.832 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002736/0.02866, allocations: 24.14 kB / 345 MB, free: 3.809 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.568e-05/0.0287, allocations: 8 kB / 345 MB, free: 3.801 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 0.0001872/0.02888, allocations: 153.8 kB / 345.2 MB, free: 3.641 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.198e-05/0.02898, allocations: 51.7 kB / 345.2 MB, free: 3.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001608/0.03058, allocations: 0.5683 MB / 345.8 MB, free: 3.004 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.03059, allocations: 4 kB / 345.8 MB, free: 3 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.0306, allocations: 3.984 kB / 345.8 MB, free: 2.996 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.03061, allocations: 0 / 345.8 MB, free: 2.996 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002056/0.03267, allocations: 0.9424 MB / 346.8 MB, free: 2.004 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.03267, allocations: 0 / 346.8 MB, free: 2.004 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002293/0.0329, allocations: 43.91 kB / 346.8 MB, free: 1.961 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002814/0.03572, allocations: 0.5948 MB / 347.4 MB, free: 1.359 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.825e-05/0.03578, allocations: 7.984 kB / 347.4 MB, free: 1.352 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006854/0.03646, allocations: 1.284 MB / 348.7 MB, free: 16 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.03647, allocations: 3.938 kB / 348.7 MB, free: 12 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002273/0.03874, allocations: 0.8075 MB / 349.5 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.03884, allocations: 31.8 kB / 349.5 MB, free: 15.14 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.547e-05/0.03891, allocations: 8 kB / 349.5 MB, free: 15.14 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.03914, allocations: 11.98 kB / 349.6 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.491e-05/0.03923, allocations: 19.97 kB / 349.6 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.728e-05/0.03925, allocations: 11.98 kB / 349.6 MB, free: 15.09 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002681/0.03952, allocations: 195.1 kB / 349.8 MB, free: 14.91 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.03952, allocations: 7.938 kB / 349.8 MB, free: 14.9 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000491/0.04001, allocations: 87.88 kB / 349.9 MB, free: 14.81 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.000334/0.04035, allocations: 147.1 kB / 350 MB, free: 14.66 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009658/0.04131, allocations: 320 kB / 350.3 MB, free: 14.34 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.04132, allocations: 0 / 350.3 MB, free: 14.34 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004813/0.0418, allocations: 184.1 kB / 350.5 MB, free: 14.16 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005268/0.04232, allocations: 32.58 kB / 350.5 MB, free: 14.13 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/0.04411, allocations: 0.7134 MB / 351.3 MB, free: 13.38 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.04435, allocations: 177.6 kB / 351.4 MB, free: 13.19 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001435/0.04449, allocations: 30.34 kB / 351.5 MB, free: 13.16 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.077e-05/0.04456, allocations: 20.5 kB / 351.5 MB, free: 13.14 MB / 282.7 MB Notification: Performance of SimCode: time 1.723e-06/0.04456, allocations: 0 / 351.5 MB, free: 13.14 MB / 282.7 MB Notification: Performance of Templates: time 0.009593/0.05416, allocations: 3.194 MB / 354.7 MB, free: 9.977 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=480 -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.2856085220118985]