Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.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.0007123/0.0007123, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009224/0.001635, 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.0006911/0.0006911, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009086/0.0016, 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.9289/0.9289, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1036/1.032, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.0188/0.0188, allocations: 0.9607 MB / 245.1 MB, free: 13.92 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00278/0.02158, allocations: 0.6864 MB / 245.8 MB, free: 13.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 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.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap") translateModel(FluxTubesExtension.Examples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 247.1 MB, free: 11.95 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.852e-05/3.07e-05, allocations: 5.828 kB / 247.1 MB, free: 11.95 MB / 250.7 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ToroidalCoreAirgap): time 0.005145/0.005176, allocations: 3.053 MB / 250.1 MB, free: 8.875 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002823/0.007999, allocations: 1.424 MB / 251.6 MB, free: 7.441 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002999/0.008299, allocations: 7.938 kB / 251.6 MB, free: 7.434 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006114/0.00891, allocations: 151 kB / 251.7 MB, free: 7.285 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004189/0.009329, allocations: 122.9 kB / 251.8 MB, free: 7.164 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008319/0.01016, allocations: 275.1 kB / 252.1 MB, free: 6.895 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005822/0.01074, allocations: 442.1 kB / 252.5 MB, free: 6.461 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002249/0.01097, allocations: 100.3 kB / 252.6 MB, free: 6.359 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005353/0.0115, allocations: 307.8 kB / 252.9 MB, free: 6.059 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002437/0.01175, allocations: 151.5 kB / 253.1 MB, free: 5.91 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.902e-05/0.01181, allocations: 36 kB / 253.1 MB, free: 5.875 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003748/0.01218, allocations: 179.7 kB / 253.3 MB, free: 5.699 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.01229, allocations: 71.75 kB / 253.4 MB, free: 5.629 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.01243, allocations: 107.8 kB / 253.5 MB, free: 5.523 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005401/0.01297, allocations: 358.6 kB / 253.8 MB, free: 5.172 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.213e-05/0.01298, allocations: 0 / 253.8 MB, free: 5.172 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.01298, allocations: 0 / 253.8 MB, free: 5.172 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.467e-05/0.01299, allocations: 0 / 253.8 MB, free: 5.172 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.00106/0.01405, allocations: 0.6902 MB / 254.5 MB, free: 4.457 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.01409, allocations: 8.031 kB / 254.5 MB, free: 4.449 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.37e-05/0.01418, allocations: 56.91 kB / 254.6 MB, free: 4.395 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003164/0.0145, allocations: 216.6 kB / 254.8 MB, free: 4.156 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.423e-05/0.01453, allocations: 21.03 kB / 254.8 MB, free: 4.137 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.263e-05/0.01458, allocations: 40.33 kB / 254.8 MB, free: 4.098 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003755/0.01496, allocations: 226.1 kB / 255.1 MB, free: 3.863 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.01497, allocations: 192 / 255.1 MB, free: 3.863 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.57e-05/0.015, allocations: 12.38 kB / 255.1 MB, free: 3.852 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.659e-06/0.01501, allocations: 11.88 kB / 255.1 MB, free: 3.84 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001731/0.01518, allocations: 84.55 kB / 255.2 MB, free: 3.758 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009983/0.01618, allocations: 0.7773 MB / 255.9 MB, free: 2.926 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.01634, allocations: 140.1 kB / 256.1 MB, free: 2.777 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.764e-05/0.01638, allocations: 28.86 kB / 256.1 MB, free: 2.746 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.112e-05/0.01643, allocations: 15.94 kB / 256.1 MB, free: 2.73 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.01645, allocations: 38.56 kB / 256.2 MB, free: 2.684 MB / 250.7 MB Notification: Performance of pre-optimization done (n=20): time 2.946e-06/0.01646, allocations: 0 / 256.2 MB, free: 2.684 MB / 250.7 MB Notification: Performance of matching and sorting (n=27): time 0.001733/0.01819, allocations: 0.9662 MB / 257.1 MB, free: 1.688 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.01822, allocations: 55.64 kB / 257.2 MB, free: 1.621 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.0184, allocations: 286.8 kB / 257.5 MB, free: 1.328 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001699/0.01857, allocations: 29.7 kB / 257.5 MB, free: 1.293 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.044e-05/0.01866, allocations: 216.6 kB / 257.7 MB, free: 1.07 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.685e-05/0.0187, allocations: 99.14 kB / 257.8 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.774e-05/0.01877, allocations: 70 kB / 257.9 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.747e-05/0.01886, allocations: 346.7 kB / 258.2 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.849e-05/0.01891, allocations: 31.56 kB / 258.2 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.692e-05/0.01899, allocations: 133.5 kB / 258.4 MB, free: 352 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/0.01917, allocations: 218.5 kB / 258.6 MB, free: 88 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.01917, allocations: 4 kB / 258.6 MB, free: 84 kB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005051/0.01968, allocations: 398.9 kB / 259 MB, free: 15.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.0197, allocations: 4 kB / 259 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.0197, allocations: 4 kB / 259 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001214/0.02092, allocations: 0.9686 MB / 259.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/0.02108, allocations: 79.89 kB / 260 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004737/0.02156, allocations: 1.102 MB / 261.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.0217, allocations: 16 kB / 261.1 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.02171, allocations: 15.98 kB / 261.2 MB, free: 13.43 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (37): * Single equations (assignments): 35 * 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,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001011/0.02181, allocations: 128.6 kB / 261.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.439e-05/0.02185, allocations: 23.92 kB / 261.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004653/0.02231, allocations: 357.3 kB / 261.7 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.02232, allocations: 7.938 kB / 261.7 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.02232, allocations: 0 / 261.7 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-06/0.02233, allocations: 3.984 kB / 261.7 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002193/0.02255, allocations: 181.7 kB / 261.8 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.02255, allocations: 0 / 261.8 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.4e-05/0.02264, allocations: 35.98 kB / 261.9 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.834e-05/0.02268, allocations: 27.8 kB / 261.9 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001076/0.02376, allocations: 0.9722 MB / 262.9 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.02377, allocations: 4 kB / 262.9 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003959/0.02417, allocations: 1.091 MB / 264 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.02417, allocations: 192 / 264 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004221/0.02459, allocations: 472.3 kB / 264.4 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.024e-05/0.02462, allocations: 12 kB / 264.5 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.497e-05/0.0247, allocations: 8 kB / 264.5 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.795e-05/0.02475, allocations: 23.94 kB / 264.5 MB, free: 9.988 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.02476, allocations: 4 kB / 264.5 MB, free: 9.984 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.595e-05/0.02485, allocations: 104.7 kB / 264.6 MB, free: 9.883 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-07/0.02485, allocations: 0 / 264.6 MB, free: 9.883 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005267/0.02538, allocations: 111.8 kB / 264.7 MB, free: 9.773 MB / 266.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 (19): * Single equations (assignments): 17 * 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,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002092/0.02559, allocations: 120.2 kB / 264.8 MB, free: 9.645 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003057/0.02589, allocations: 164.7 kB / 265 MB, free: 9.484 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.404e-05/0.02591, allocations: 12.08 kB / 265 MB, free: 9.473 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.02607, allocations: 132.3 kB / 265.1 MB, free: 9.34 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.02644, allocations: 297.9 kB / 265.4 MB, free: 9 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.02825, allocations: 0.6038 MB / 266 MB, free: 8.363 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.914e-05/0.02832, allocations: 100.5 kB / 266.1 MB, free: 8.242 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001044/0.02842, allocations: 42.89 kB / 266.2 MB, free: 8.203 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.02854, allocations: 95.3 kB / 266.2 MB, free: 8.109 MB / 266.7 MB Notification: Performance of SimCode: time 1.693e-06/0.02854, allocations: 0 / 266.2 MB, free: 8.109 MB / 266.7 MB Notification: Performance of Templates: time 0.006748/0.03529, allocations: 4.147 MB / 270.4 MB, free: 4.027 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.pipe ; mkfifo FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.pipe ; head -c 1048576 < FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.pipe >> ../files/FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.sim & ./FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap -abortSlowSimulation -alarm=240 -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5247253039851785]