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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(FluxTubesExtension.Examples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap") translateModel(FluxTubesExtension.Examples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009987/0.0009988, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 197.1 kB / 16.14 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.201/1.201, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.006635/0.006635, allocations: 1.227 MB / 291.2 MB, free: 1.289 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001081/0.001081, allocations: 55.91 kB / 351.7 MB, free: 7.188 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08461/0.08571, allocations: 49.69 MB / 401.3 MB, free: 5.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ToroidalCoreAirgap): time 0.00356/0.0893, allocations: 3.023 MB / 404.4 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001836/0.09116, allocations: 1.409 MB / 405.8 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.09129, allocations: 4 kB / 405.8 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004248/0.09173, allocations: 143.5 kB / 405.9 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002353/0.09197, allocations: 99.34 kB / 406 MB, free: 0.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004937/0.09248, allocations: 231.5 kB / 406.2 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003567/0.09284, allocations: 438.3 kB / 406.7 MB, free: 96 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002111/0.09306, allocations: 119.9 kB / 406.8 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002081/0.09328, allocations: 159.3 kB / 406.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001947/0.09348, allocations: 191.1 kB / 407.1 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.015e-05/0.09353, allocations: 24 kB / 407.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000269/0.0938, allocations: 203.7 kB / 407.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.195e-05/0.0939, allocations: 83.61 kB / 407.4 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.09404, allocations: 187 kB / 407.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000421/0.09447, allocations: 0.5138 MB / 408.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.09448, allocations: 0 / 408.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.09449, allocations: 0 / 408.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.0945, allocations: 0 / 408.1 MB, free: 14.62 MB / 350.1 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.001108/0.09562, allocations: 0.7092 MB / 408.8 MB, free: 13.87 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.09566, allocations: 8.031 kB / 408.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.052e-05/0.09573, allocations: 40.47 kB / 408.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003433/0.09608, allocations: 320 kB / 409.2 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.09612, allocations: 21.03 kB / 409.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.736e-05/0.09617, allocations: 32.38 kB / 409.2 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005587/0.09673, allocations: 310.3 kB / 409.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.09675, allocations: 0 / 409.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.017e-05/0.09679, allocations: 16 kB / 409.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.0968, allocations: 8 kB / 409.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005859/0.09739, allocations: 270.5 kB / 409.8 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001511/0.09891, allocations: 1.182 MB / 411 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004039/0.09933, allocations: 197 kB / 411.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001923/0.09953, allocations: 92.75 kB / 411.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.683e-05/0.09959, allocations: 11.94 kB / 411.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.09962, allocations: 34.56 kB / 411.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.303e-06/0.09963, allocations: 0 / 411.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.002805/0.1024, allocations: 0.9049 MB / 412.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.1025, allocations: 55.64 kB / 412.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003252/0.1028, allocations: 316.5 kB / 412.6 MB, free: 9.891 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.1029, allocations: 37.7 kB / 412.7 MB, free: 9.848 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/0.103, allocations: 235.5 kB / 412.9 MB, free: 9.609 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.375e-05/0.1031, allocations: 94.64 kB / 413 MB, free: 9.516 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.955e-05/0.1032, allocations: 69.98 kB / 413 MB, free: 9.438 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1033, allocations: 342.8 kB / 413.4 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000301/0.1036, allocations: 112.7 kB / 413.5 MB, free: 8.984 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003541/0.104, allocations: 221.2 kB / 413.7 MB, free: 8.727 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006265/0.1046, allocations: 357.2 kB / 414.1 MB, free: 8.336 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1046, allocations: 4 kB / 414.1 MB, free: 8.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001258/0.1059, allocations: 0.6001 MB / 414.7 MB, free: 7.719 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1059, allocations: 4 kB / 414.7 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.1059, allocations: 4 kB / 414.7 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00178/0.1077, allocations: 0.8247 MB / 415.5 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003221/0.1081, allocations: 71.89 kB / 415.6 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007613/0.1088, allocations: 1.179 MB / 416.7 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002716/0.1091, allocations: 23.97 kB / 416.8 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.554e-05/0.1091, allocations: 16 kB / 416.8 MB, free: 5.547 MB / 350.1 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.0001685/0.1093, allocations: 157.8 kB / 416.9 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.387e-05/0.1094, allocations: 35.62 kB / 417 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001181/0.1106, allocations: 0.5371 MB / 417.5 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.1106, allocations: 4 kB / 417.5 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.1106, allocations: 3.984 kB / 417.5 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1106, allocations: 0 / 417.5 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004067/0.111, allocations: 377.4 kB / 417.9 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.111, allocations: 0 / 417.9 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002091/0.1112, allocations: 39.91 kB / 417.9 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001642/0.1129, allocations: 0.8234 MB / 418.7 MB, free: 3.512 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.1129, allocations: 4 kB / 418.7 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000639/0.1136, allocations: 1.175 MB / 419.9 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1136, allocations: 0 / 419.9 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.1147, allocations: 0.5907 MB / 420.5 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.542e-05/0.1148, allocations: 104.7 kB / 420.6 MB, free: 1.547 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.46e-05/0.1149, allocations: 4 kB / 420.6 MB, free: 1.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/0.1151, allocations: 23.98 kB / 420.6 MB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.222e-05/0.1152, allocations: 23.91 kB / 420.7 MB, free: 1.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.1152, allocations: 7.938 kB / 420.7 MB, free: 1.488 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002336/0.1155, allocations: 219.1 kB / 420.9 MB, free: 1.277 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1155, allocations: 0 / 420.9 MB, free: 1.277 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004676/0.1159, allocations: 99.98 kB / 421 MB, free: 1.18 MB / 350.1 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.0002106/0.1162, allocations: 147 kB / 421.1 MB, free: 1.027 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008159/0.117, allocations: 319.9 kB / 421.4 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.117, allocations: 0.8125 kB / 421.4 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000451/0.1175, allocations: 175.8 kB / 421.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00039/0.1179, allocations: 41.06 kB / 421.7 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1552/0.2731, allocations: 0.7615 MB / 422.4 MB, free: 53.22 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.2735, allocations: 0.7912 MB / 423.2 MB, free: 52.53 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002219/0.2737, allocations: 32.56 kB / 423.2 MB, free: 52.53 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.077e-05/0.2738, allocations: 24.02 kB / 423.3 MB, free: 52.52 MB / 350.1 MB Notification: Performance of SimCode: time 1.353e-06/0.2738, allocations: 2.562 kB / 423.3 MB, free: 52.52 MB / 350.1 MB Notification: Performance of Templates: time 0.00682/0.2806, allocations: 3.633 MB / 426.9 MB, free: 52.39 MB / 350.1 MB make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.makefile (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=480 -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.pipe 2>&1)