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.0008524/0.0008524, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001387/0.00224, allocations: 440 kB / 10.41 MB, free: 284 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.0007993/0.0007993, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001068/0.001867, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9651/0.9651, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1034/1.069, allocations: 53.67 MB / 243.4 MB, free: 15.48 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.004912/0.004912, allocations: 0.9599 MB / 245.1 MB, free: 13.91 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002043/0.006955, allocations: 0.6936 MB / 245.8 MB, free: 13.22 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.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 1.814e-06/1.814e-06, allocations: 0 / 247.1 MB, free: 11.95 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.653e-05/2.834e-05, allocations: 2.312 kB / 247.1 MB, free: 11.94 MB / 250.7 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.SaturatedInductor): time 0.004903/0.004931, allocations: 2.893 MB / 250 MB, free: 9.027 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002994/0.007925, allocations: 1.677 MB / 251.6 MB, free: 7.34 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002813/0.008206, allocations: 7.938 kB / 251.7 MB, free: 7.332 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007437/0.00895, allocations: 194.8 kB / 251.8 MB, free: 7.141 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003643/0.009314, allocations: 107.1 kB / 251.9 MB, free: 7.035 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008699/0.01018, allocations: 287 kB / 252.2 MB, free: 6.754 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000622/0.01081, allocations: 402.3 kB / 252.6 MB, free: 6.359 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000214/0.01102, allocations: 95.86 kB / 252.7 MB, free: 6.266 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004785/0.0115, allocations: 251.9 kB / 253 MB, free: 6.02 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002709/0.01177, allocations: 123.6 kB / 253.1 MB, free: 5.898 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.805e-05/0.01184, allocations: 28 kB / 253.1 MB, free: 5.871 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000422/0.01226, allocations: 179.6 kB / 253.3 MB, free: 5.695 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.402e-05/0.01235, allocations: 67.73 kB / 253.3 MB, free: 5.629 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.01248, allocations: 95.75 kB / 253.4 MB, free: 5.535 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000537/0.01301, allocations: 299 kB / 253.7 MB, free: 5.242 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.352e-05/0.01303, allocations: 0 / 253.7 MB, free: 5.242 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.01303, allocations: 0 / 253.7 MB, free: 5.242 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.088e-05/0.01305, allocations: 4 kB / 253.7 MB, free: 5.238 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001019/0.01407, allocations: 0.6435 MB / 254.4 MB, free: 4.566 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.01411, allocations: 15.97 kB / 254.4 MB, free: 4.551 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002101/0.01432, allocations: 134 kB / 254.5 MB, free: 4.402 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003303/0.01465, allocations: 204.7 kB / 254.7 MB, free: 4.18 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.147e-05/0.01468, allocations: 21.03 kB / 254.7 MB, free: 4.16 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.698e-05/0.01473, allocations: 28.38 kB / 254.8 MB, free: 4.133 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003454/0.01507, allocations: 223.8 kB / 255 MB, free: 3.898 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.01509, allocations: 192 / 255 MB, free: 3.898 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.624e-05/0.01511, allocations: 12.38 kB / 255 MB, free: 3.887 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.01513, allocations: 7.938 kB / 255 MB, free: 3.879 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001547/0.01528, allocations: 76.55 kB / 255.1 MB, free: 3.801 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00127/0.01655, allocations: 0.6707 MB / 255.8 MB, free: 3.086 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.01677, allocations: 159.7 kB / 255.9 MB, free: 2.922 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.507e-05/0.01685, allocations: 56.78 kB / 256 MB, free: 2.863 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.3e-05/0.01691, allocations: 19.98 kB / 256 MB, free: 2.844 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.01693, allocations: 42.5 kB / 256 MB, free: 2.793 MB / 250.7 MB Notification: Performance of pre-optimization done (n=23): time 1.714e-06/0.01693, allocations: 0 / 256 MB, free: 2.793 MB / 250.7 MB Notification: Performance of matching and sorting (n=34): time 0.003224/0.02016, allocations: 1.153 MB / 257.2 MB, free: 1.602 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.02019, allocations: 55.41 kB / 257.2 MB, free: 1.535 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002129/0.0204, allocations: 250.9 kB / 257.5 MB, free: 1.281 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.02043, allocations: 37.7 kB / 257.5 MB, free: 1.238 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.02054, allocations: 180.9 kB / 257.7 MB, free: 1.059 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.914e-05/0.02063, allocations: 122.9 kB / 257.8 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.043e-05/0.02072, allocations: 61.67 kB / 257.9 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.02083, allocations: 346.7 kB / 258.2 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.299e-05/0.02092, allocations: 30.81 kB / 258.2 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.02102, allocations: 80.58 kB / 258.3 MB, free: 404 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002182/0.02124, allocations: 158.2 kB / 258.5 MB, free: 232 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.02124, allocations: 3.938 kB / 258.5 MB, free: 228 kB / 250.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001059/0.0223, allocations: 387.5 kB / 258.9 MB, free: 15.83 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.02232, allocations: 4 kB / 258.9 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.02233, allocations: 4 kB / 258.9 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002101/0.02443, allocations: 0.5146 MB / 259.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003306/0.02476, allocations: 75.89 kB / 259.5 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007629/0.02552, allocations: 1.134 MB / 260.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001713/0.0257, allocations: 12 kB / 260.6 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.02572, allocations: 8 kB / 260.6 MB, free: 14.02 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.0001431/0.02586, allocations: 128.6 kB / 260.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.189e-05/0.02592, allocations: 31.91 kB / 260.8 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009668/0.02689, allocations: 363.7 kB / 261.1 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.02689, allocations: 4 kB / 261.1 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.0269, allocations: 0 / 261.1 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.0269, allocations: 0 / 261.1 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001355/0.02826, allocations: 0.6359 MB / 261.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.02826, allocations: 0 / 261.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002219/0.02848, allocations: 59.61 kB / 261.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.618e-05/0.02853, allocations: 27.75 kB / 261.8 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002044/0.03057, allocations: 0.5146 MB / 262.4 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.438e-05/0.0306, allocations: 4 kB / 262.4 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006897/0.03129, allocations: 1.14 MB / 263.5 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.03129, allocations: 0 / 263.5 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.03237, allocations: 0.5343 MB / 264 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.395e-05/0.03241, allocations: 4 kB / 264 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.03257, allocations: 12 kB / 264.1 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.765e-05/0.03262, allocations: 19.95 kB / 264.1 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.03264, allocations: 11.94 kB / 264.1 MB, free: 10.38 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001151/0.03275, allocations: 96.59 kB / 264.2 MB, free: 10.29 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.03276, allocations: 0 / 264.2 MB, free: 10.29 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004472/0.0332, allocations: 95.88 kB / 264.3 MB, free: 10.19 MB / 266.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.0002562/0.03346, allocations: 116.2 kB / 264.4 MB, free: 10.07 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004798/0.03394, allocations: 181.1 kB / 264.6 MB, free: 9.887 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-05/0.03396, allocations: 12.3 kB / 264.6 MB, free: 9.875 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003116/0.03427, allocations: 147.2 kB / 264.7 MB, free: 9.727 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004748/0.03475, allocations: 268.5 kB / 265 MB, free: 9.422 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003632/0.03838, allocations: 0.6798 MB / 265.7 MB, free: 8.699 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.956e-05/0.03847, allocations: 97.03 kB / 265.8 MB, free: 8.582 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001272/0.0386, allocations: 27.05 kB / 265.8 MB, free: 8.559 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.03873, allocations: 91.3 kB / 265.9 MB, free: 8.469 MB / 266.7 MB Notification: Performance of SimCode: time 1.763e-06/0.03874, allocations: 0 / 265.9 MB, free: 8.469 MB / 266.7 MB Notification: Performance of Templates: time 0.009682/0.04842, allocations: 3.867 MB / 269.7 MB, free: 4.645 MB / 266.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: 2.6326199043542147]