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.008474/0.008473, allocations: 102.8 kB / 15.73 MB, free: 5.992 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.001964/0.001964, allocations: 193.2 kB / 16.67 MB, free: 5.914 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.473/1.473, allocations: 222.9 MB / 240.4 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.008054/0.008055, allocations: 1.23 MB / 291.8 MB, free: 13.64 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 57.22 kB / 403.3 MB, free: 31.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.109, allocations: 49.71 MB / 453 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ToroidalCoreAirgap): time 0.004979/0.114, allocations: 2.976 MB / 456 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002706/0.1167, allocations: 1.405 MB / 457.4 MB, free: 9.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003651/0.1171, allocations: 7.938 kB / 457.4 MB, free: 9.402 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006183/0.1177, allocations: 159 kB / 457.5 MB, free: 9.246 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004949/0.1183, allocations: 107.1 kB / 457.6 MB, free: 9.141 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009776/0.1193, allocations: 275.2 kB / 457.9 MB, free: 8.875 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007157/0.12, allocations: 438.3 kB / 458.3 MB, free: 8.445 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002831/0.1203, allocations: 139.2 kB / 458.5 MB, free: 8.305 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004142/0.1207, allocations: 179.3 kB / 458.6 MB, free: 8.129 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004391/0.1212, allocations: 187.1 kB / 458.8 MB, free: 7.945 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.1213, allocations: 36 kB / 458.9 MB, free: 7.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004094/0.1217, allocations: 207.6 kB / 459.1 MB, free: 7.707 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001574/0.1219, allocations: 91.67 kB / 459.2 MB, free: 7.617 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002287/0.1221, allocations: 202.9 kB / 459.4 MB, free: 7.418 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007299/0.1228, allocations: 0.51 MB / 459.9 MB, free: 6.906 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1229, allocations: 3.938 kB / 459.9 MB, free: 6.902 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1229, allocations: 4 kB / 459.9 MB, free: 6.898 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.444e-05/0.1229, allocations: 4 kB / 459.9 MB, free: 6.895 MB / 334.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.001518/0.1244, allocations: 0.6936 MB / 460.6 MB, free: 6.152 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.1245, allocations: 16.03 kB / 460.6 MB, free: 6.137 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/0.1246, allocations: 40.47 kB / 460.6 MB, free: 6.098 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007351/0.1254, allocations: 320 kB / 460.9 MB, free: 5.75 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.263e-05/0.1254, allocations: 25.03 kB / 461 MB, free: 5.727 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.031e-05/0.1255, allocations: 32.38 kB / 461 MB, free: 5.695 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009511/0.1265, allocations: 302.3 kB / 461.3 MB, free: 5.391 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.1265, allocations: 0 / 461.3 MB, free: 5.391 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.498e-05/0.1266, allocations: 16 kB / 461.3 MB, free: 5.375 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.1266, allocations: 8 kB / 461.3 MB, free: 5.367 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009521/0.1275, allocations: 278.4 kB / 461.6 MB, free: 5.098 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001906/0.1295, allocations: 1.163 MB / 462.7 MB, free: 3.832 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004581/0.1299, allocations: 190.5 kB / 462.9 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001956/0.1301, allocations: 84.84 kB / 463 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.857e-05/0.1302, allocations: 31.89 kB / 463 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.1303, allocations: 30.56 kB / 463.1 MB, free: 3.48 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.683e-06/0.1303, allocations: 0 / 463.1 MB, free: 3.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.003211/0.1335, allocations: 0.9008 MB / 464 MB, free: 2.566 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.754e-05/0.1336, allocations: 55.64 kB / 464 MB, free: 2.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003708/0.1339, allocations: 316.4 kB / 464.3 MB, free: 2.176 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.134, allocations: 37.7 kB / 464.4 MB, free: 2.133 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001667/0.1341, allocations: 239.5 kB / 464.6 MB, free: 1.895 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.66e-05/0.1342, allocations: 94.64 kB / 464.7 MB, free: 1.801 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.1343, allocations: 73.97 kB / 464.8 MB, free: 1.719 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.1345, allocations: 334.8 kB / 465.1 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000301/0.1348, allocations: 120.6 kB / 465.2 MB, free: 1.266 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000347/0.1352, allocations: 225.2 kB / 465.4 MB, free: 1.004 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007165/0.1359, allocations: 348.7 kB / 465.8 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1359, allocations: 4 kB / 465.8 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001251/0.1372, allocations: 0.5997 MB / 466.4 MB, free: 8 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.1372, allocations: 8 kB / 466.4 MB, free: 0 / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.1372, allocations: 0 / 466.4 MB, free: 0 / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002026/0.1392, allocations: 0.8237 MB / 467.2 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003226/0.1396, allocations: 71.83 kB / 467.3 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008797/0.1405, allocations: 1.179 MB / 468.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002865/0.1408, allocations: 23.92 kB / 468.5 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.975e-05/0.1408, allocations: 16 kB / 468.5 MB, free: 13.84 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.0001759/0.141, allocations: 162 kB / 468.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.618e-05/0.1411, allocations: 35.62 kB / 468.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/0.1423, allocations: 0.5299 MB / 469.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.1423, allocations: 4 kB / 469.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1423, allocations: 0 / 469.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1423, allocations: 0 / 469.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000586/0.1429, allocations: 385.3 kB / 469.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1429, allocations: 0 / 469.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002116/0.1432, allocations: 39.91 kB / 469.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001709/0.1449, allocations: 0.812 MB / 470.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.867e-05/0.1449, allocations: 7.984 kB / 470.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008283/0.1458, allocations: 1.179 MB / 471.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.1458, allocations: 0 / 471.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/0.147, allocations: 0.5901 MB / 472.2 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.1471, allocations: 104.7 kB / 472.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.349e-05/0.1472, allocations: 8 kB / 472.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.1474, allocations: 19.97 kB / 472.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.545e-05/0.1475, allocations: 19.92 kB / 472.4 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.1475, allocations: 8 kB / 472.4 MB, free: 9.785 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002506/0.1477, allocations: 223 kB / 472.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1477, allocations: 0 / 472.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004393/0.1482, allocations: 99.94 kB / 472.7 MB, free: 9.469 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.0003441/0.1485, allocations: 139.1 kB / 472.8 MB, free: 9.324 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009517/0.1495, allocations: 315.6 kB / 473.1 MB, free: 9.016 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.1495, allocations: 0 / 473.1 MB, free: 9.016 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005011/0.15, allocations: 185.1 kB / 473.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006427/0.1507, allocations: 41.06 kB / 473.4 MB, free: 8.797 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.1522, allocations: 0.6201 MB / 474 MB, free: 8.148 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007205/0.153, allocations: 0.795 MB / 474.8 MB, free: 7.324 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001431/0.1531, allocations: 42.89 kB / 474.8 MB, free: 7.281 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.378e-05/0.1532, allocations: 23.44 kB / 474.8 MB, free: 7.258 MB / 350.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1532, allocations: 4 kB / 474.9 MB, free: 7.254 MB / 350.1 MB Notification: Performance of Templates: time 0.01094/0.1641, allocations: 3.954 MB / 478.8 MB, free: 3.316 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)