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.001643/0.001643, allocations: 105.3 kB / 16.41 MB, free: 6.453 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.002005/0.002005, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.425/1.425, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.007618/0.007618, allocations: 1.241 MB / 292.4 MB, free: 13.63 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 70.47 kB / 404 MB, free: 31.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09261/0.09384, allocations: 49.69 MB / 453.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ToroidalCoreAirgap): time 0.004112/0.09799, allocations: 2.964 MB / 456.6 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002231/0.1003, allocations: 1.409 MB / 458 MB, free: 9.395 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001678/0.1005, allocations: 12 kB / 458.1 MB, free: 9.383 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005023/0.101, allocations: 147 kB / 458.2 MB, free: 9.238 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003021/0.1013, allocations: 119 kB / 458.3 MB, free: 9.121 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007087/0.102, allocations: 271.2 kB / 458.6 MB, free: 8.859 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004719/0.1025, allocations: 434.3 kB / 459 MB, free: 8.434 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002273/0.1027, allocations: 139.2 kB / 459.1 MB, free: 8.293 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002357/0.103, allocations: 175.3 kB / 459.3 MB, free: 8.121 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002502/0.1032, allocations: 191.1 kB / 459.5 MB, free: 7.934 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.345e-05/0.1033, allocations: 36 kB / 459.5 MB, free: 7.898 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003398/0.1037, allocations: 207.6 kB / 459.7 MB, free: 7.695 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.1038, allocations: 95.61 kB / 459.8 MB, free: 7.602 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001687/0.104, allocations: 191 kB / 460 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005676/0.1045, allocations: 0.5256 MB / 460.5 MB, free: 6.887 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1046, allocations: 0 / 460.5 MB, free: 6.887 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1046, allocations: 0 / 460.5 MB, free: 6.887 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1046, allocations: 0 / 460.5 MB, free: 6.887 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.001193/0.1058, allocations: 0.7014 MB / 461.2 MB, free: 6.137 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.1058, allocations: 8.031 kB / 461.2 MB, free: 6.129 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.831e-05/0.1059, allocations: 44.47 kB / 461.3 MB, free: 6.086 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004685/0.1064, allocations: 320 kB / 461.6 MB, free: 5.738 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.494e-05/0.1064, allocations: 29.03 kB / 461.6 MB, free: 5.711 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.298e-05/0.1065, allocations: 32.38 kB / 461.7 MB, free: 5.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005848/0.1071, allocations: 302.3 kB / 462 MB, free: 5.375 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.1071, allocations: 0 / 462 MB, free: 5.375 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.652e-05/0.1071, allocations: 12 kB / 462 MB, free: 5.363 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/0.1072, allocations: 8 kB / 462 MB, free: 5.355 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006339/0.1078, allocations: 278.5 kB / 462.2 MB, free: 5.086 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001674/0.1095, allocations: 1.167 MB / 463.4 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004298/0.1099, allocations: 198.5 kB / 463.6 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002006/0.1101, allocations: 80.81 kB / 463.7 MB, free: 3.531 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.356e-05/0.1102, allocations: 15.94 kB / 463.7 MB, free: 3.516 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.1102, allocations: 34.56 kB / 463.7 MB, free: 3.473 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.323e-06/0.1102, allocations: 0 / 463.7 MB, free: 3.473 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.002787/0.113, allocations: 0.9084 MB / 464.6 MB, free: 2.551 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.1131, allocations: 55.64 kB / 464.7 MB, free: 2.484 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000318/0.1134, allocations: 316.4 kB / 465 MB, free: 2.16 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.1134, allocations: 29.7 kB / 465 MB, free: 2.125 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.1136, allocations: 247.5 kB / 465.3 MB, free: 1.879 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.733e-05/0.1137, allocations: 90.66 kB / 465.4 MB, free: 1.789 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.1138, allocations: 69.98 kB / 465.4 MB, free: 1.711 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.1139, allocations: 342.8 kB / 465.8 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003076/0.1142, allocations: 116.7 kB / 465.9 MB, free: 1.254 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003628/0.1146, allocations: 217.2 kB / 466.1 MB, free: 1 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006657/0.1153, allocations: 352.6 kB / 466.4 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.1153, allocations: 4 kB / 466.4 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001305/0.1166, allocations: 0.5999 MB / 467 MB, free: 0 / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.113e-05/0.1166, allocations: 8.047 kB / 467.1 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.1167, allocations: 4 kB / 467.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001769/0.1184, allocations: 0.8199 MB / 467.9 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003079/0.1188, allocations: 71.89 kB / 467.9 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008068/0.1196, allocations: 1.175 MB / 469.1 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002582/0.1198, allocations: 23.98 kB / 469.1 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/0.1199, allocations: 19.94 kB / 469.2 MB, free: 13.83 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.0001693/0.1201, allocations: 165.9 kB / 469.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.519e-05/0.1201, allocations: 31.56 kB / 469.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/0.1214, allocations: 0.5262 MB / 469.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.1214, allocations: 8 kB / 469.9 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.1214, allocations: 0 / 469.9 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.1214, allocations: 0 / 469.9 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000433/0.1219, allocations: 385.3 kB / 470.3 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.1219, allocations: 0 / 470.3 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/0.1221, allocations: 43.95 kB / 470.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001686/0.1238, allocations: 0.8118 MB / 471.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.1238, allocations: 8 kB / 471.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007395/0.1245, allocations: 1.171 MB / 472.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.1246, allocations: 8.016 kB / 472.3 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/0.1258, allocations: 0.5901 MB / 472.9 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.436e-05/0.1259, allocations: 108.7 kB / 473 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.967e-05/0.1259, allocations: 8 kB / 473 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002014/0.1261, allocations: 15.98 kB / 473 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.517e-05/0.1262, allocations: 19.91 kB / 473 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.909e-05/0.1262, allocations: 12 kB / 473.1 MB, free: 9.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002277/0.1265, allocations: 219.1 kB / 473.3 MB, free: 9.555 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1265, allocations: 4 kB / 473.3 MB, free: 9.551 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004326/0.1269, allocations: 99.92 kB / 473.4 MB, free: 9.453 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.0002161/0.1271, allocations: 139.1 kB / 473.5 MB, free: 9.309 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008974/0.128, allocations: 323.6 kB / 473.8 MB, free: 8.992 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1281, allocations: 0 / 473.8 MB, free: 8.992 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004567/0.1285, allocations: 181.1 kB / 474 MB, free: 8.816 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.1289, allocations: 50.45 kB / 474.1 MB, free: 8.777 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.1301, allocations: 0.6509 MB / 474.7 MB, free: 8.094 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.1305, allocations: 0.7951 MB / 475.5 MB, free: 7.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.856e-05/0.1306, allocations: 23.44 kB / 475.5 MB, free: 7.246 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.1306, allocations: 0 / 475.5 MB, free: 7.246 MB / 350.1 MB Notification: Performance of Templates: time 0.00885/0.1394, allocations: 7.016 MB / 482.5 MB, free: 232 kB / 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)