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.006728/0.006728, allocations: 96.7 kB / 15.73 MB, free: 6.043 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.001241/0.001241, allocations: 196.1 kB / 16.67 MB, free: 5.969 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.007338/0.007338, allocations: 1.228 MB / 291.8 MB, free: 1 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 62.44 kB / 403.3 MB, free: 9.121 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1091, allocations: 49.71 MB / 453 MB, free: 4.066 MB / 318.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ToroidalCoreAirgap): time 0.004589/0.1137, allocations: 2.971 MB / 456 MB, free: 1.082 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002526/0.1163, allocations: 1.397 MB / 457.4 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003015/0.1166, allocations: 8 kB / 457.4 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005894/0.1172, allocations: 155 kB / 457.5 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004541/0.1177, allocations: 107.1 kB / 457.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007942/0.1185, allocations: 279.3 kB / 457.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005177/0.119, allocations: 430.3 kB / 458.3 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002474/0.1193, allocations: 127.3 kB / 458.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002272/0.1195, allocations: 179.3 kB / 458.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002435/0.1198, allocations: 195.1 kB / 458.8 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.296e-05/0.1198, allocations: 36 kB / 458.8 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003407/0.1202, allocations: 211.6 kB / 459.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.1203, allocations: 91.72 kB / 459.1 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001917/0.1205, allocations: 194.9 kB / 459.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006163/0.1211, allocations: 0.5174 MB / 459.9 MB, free: 13.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1212, allocations: 0 / 459.9 MB, free: 13.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1212, allocations: 0 / 459.9 MB, free: 13.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.816e-06/0.1212, allocations: 0 / 459.9 MB, free: 13.18 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.0014/0.1226, allocations: 0.7242 MB / 460.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.1226, allocations: 8.031 kB / 460.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.806e-05/0.1227, allocations: 48.66 kB / 460.6 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005755/0.1233, allocations: 324.2 kB / 460.9 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.21e-05/0.1234, allocations: 21.03 kB / 461 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.095e-05/0.1234, allocations: 32.38 kB / 461 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007098/0.1241, allocations: 302.3 kB / 461.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.1242, allocations: 0 / 461.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.511e-05/0.1242, allocations: 16 kB / 461.3 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.1242, allocations: 8 kB / 461.3 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005983/0.1248, allocations: 278.5 kB / 461.6 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001684/0.1265, allocations: 1.175 MB / 462.8 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004067/0.1269, allocations: 196.5 kB / 463 MB, free: 9.871 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000197/0.1272, allocations: 84.84 kB / 463 MB, free: 9.785 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.477e-05/0.1272, allocations: 15.92 kB / 463.1 MB, free: 9.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.1273, allocations: 42.56 kB / 463.1 MB, free: 9.719 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.232e-06/0.1273, allocations: 0 / 463.1 MB, free: 9.719 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.002796/0.1301, allocations: 0.9005 MB / 464 MB, free: 8.812 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.1301, allocations: 59.58 kB / 464.1 MB, free: 8.742 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003413/0.1305, allocations: 316.5 kB / 464.4 MB, free: 8.418 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.1305, allocations: 29.7 kB / 464.4 MB, free: 8.383 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.1307, allocations: 248.1 kB / 464.6 MB, free: 8.137 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.83e-05/0.1308, allocations: 99.17 kB / 464.7 MB, free: 8.039 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.1309, allocations: 70.02 kB / 464.8 MB, free: 7.961 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.131, allocations: 342.8 kB / 465.1 MB, free: 7.617 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003023/0.1313, allocations: 116.6 kB / 465.3 MB, free: 7.504 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003767/0.1317, allocations: 229.1 kB / 465.5 MB, free: 7.238 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006583/0.1324, allocations: 348.7 kB / 465.8 MB, free: 6.855 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1324, allocations: 0 / 465.8 MB, free: 6.855 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001331/0.1337, allocations: 0.6008 MB / 466.4 MB, free: 6.242 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.1338, allocations: 4 kB / 466.4 MB, free: 6.238 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.1338, allocations: 4 kB / 466.4 MB, free: 6.234 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001801/0.1356, allocations: 0.8229 MB / 467.2 MB, free: 5.414 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003066/0.1359, allocations: 75.89 kB / 467.3 MB, free: 5.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008737/0.1368, allocations: 1.183 MB / 468.5 MB, free: 4.105 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002522/0.137, allocations: 19.98 kB / 468.5 MB, free: 4.086 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.755e-05/0.1371, allocations: 16 kB / 468.5 MB, free: 4.07 MB / 334.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.0001752/0.1373, allocations: 158 kB / 468.7 MB, free: 3.906 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.796e-05/0.1373, allocations: 31.81 kB / 468.7 MB, free: 3.875 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001203/0.1385, allocations: 0.5229 MB / 469.2 MB, free: 3.34 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.1386, allocations: 4 kB / 469.3 MB, free: 3.336 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1386, allocations: 4 kB / 469.3 MB, free: 3.332 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.1386, allocations: 0 / 469.3 MB, free: 3.332 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004592/0.139, allocations: 389.5 kB / 469.6 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.1391, allocations: 0 / 469.6 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/0.1393, allocations: 39.91 kB / 469.7 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001771/0.141, allocations: 0.8185 MB / 470.5 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.309e-05/0.1411, allocations: 7.984 kB / 470.5 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008448/0.1419, allocations: 1.175 MB / 471.7 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.1419, allocations: 0 / 471.7 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001245/0.1432, allocations: 0.6022 MB / 472.3 MB, free: 192 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.98e-05/0.1433, allocations: 104.9 kB / 472.4 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.12e-05/0.1433, allocations: 4 kB / 472.4 MB, free: 64 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002158/0.1436, allocations: 19.97 kB / 472.4 MB, free: 44 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.999e-05/0.1436, allocations: 19.92 kB / 472.4 MB, free: 24 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.1437, allocations: 8 kB / 472.4 MB, free: 16 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002637/0.1439, allocations: 227 kB / 472.7 MB, free: 15.79 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1439, allocations: 0 / 472.7 MB, free: 15.79 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004426/0.1444, allocations: 99.88 kB / 472.8 MB, free: 15.7 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.000232/0.1446, allocations: 143.1 kB / 472.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009573/0.1456, allocations: 319.6 kB / 473.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.1456, allocations: 3.938 kB / 473.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004988/0.1461, allocations: 176.6 kB / 473.4 MB, free: 15.06 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004274/0.1466, allocations: 45.19 kB / 473.4 MB, free: 15.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.1478, allocations: 0.6393 MB / 474.1 MB, free: 14.35 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003948/0.1482, allocations: 0.7911 MB / 474.9 MB, free: 13.53 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001568/0.1484, allocations: 30.97 kB / 474.9 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.032e-05/0.1485, allocations: 23.44 kB / 474.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of SimCode: time 7.72e-07/0.1485, allocations: 0 / 474.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of Templates: time 0.008596/0.1571, allocations: 3.953 MB / 478.9 MB, free: 9.535 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)