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.001496/0.001496, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001122/0.001122, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.00779/0.00779, allocations: 1.235 MB / 292.4 MB, free: 13.64 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 64.11 kB / 404 MB, free: 31.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1238, allocations: 49.7 MB / 453.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ToroidalCoreAirgap): time 0.004871/0.1287, allocations: 2.983 MB / 456.6 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002803/0.1316, allocations: 1.405 MB / 458.1 MB, free: 9.398 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002178/0.1318, allocations: 7.938 kB / 458.1 MB, free: 9.391 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005948/0.1324, allocations: 155 kB / 458.2 MB, free: 9.238 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003705/0.1329, allocations: 111.1 kB / 458.3 MB, free: 9.129 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008622/0.1337, allocations: 275.1 kB / 458.6 MB, free: 8.863 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004985/0.1342, allocations: 430.3 kB / 459 MB, free: 8.441 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002746/0.1345, allocations: 135.2 kB / 459.1 MB, free: 8.305 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002658/0.1348, allocations: 179.3 kB / 459.3 MB, free: 8.129 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000262/0.1351, allocations: 187.2 kB / 459.5 MB, free: 7.945 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.318e-05/0.1351, allocations: 36 kB / 459.5 MB, free: 7.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003514/0.1355, allocations: 211.6 kB / 459.7 MB, free: 7.703 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.1356, allocations: 95.66 kB / 459.8 MB, free: 7.609 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001797/0.1358, allocations: 194.9 kB / 460 MB, free: 7.418 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006347/0.1365, allocations: 0.5177 MB / 460.5 MB, free: 6.898 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.1365, allocations: 0 / 460.5 MB, free: 6.898 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1365, allocations: 0 / 460.5 MB, free: 6.898 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.1365, allocations: 0 / 460.5 MB, free: 6.898 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.001316/0.1378, allocations: 0.7014 MB / 461.2 MB, free: 6.148 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/0.1379, allocations: 15.89 kB / 461.3 MB, free: 6.133 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.138, allocations: 40.47 kB / 461.3 MB, free: 6.094 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006192/0.1386, allocations: 324 kB / 461.6 MB, free: 5.742 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.256e-05/0.1387, allocations: 21.03 kB / 461.6 MB, free: 5.723 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.412e-05/0.1387, allocations: 36.38 kB / 461.7 MB, free: 5.688 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000656/0.1394, allocations: 302.3 kB / 462 MB, free: 5.383 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.1394, allocations: 3.984 kB / 462 MB, free: 5.379 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.535e-05/0.1395, allocations: 16 kB / 462 MB, free: 5.363 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.286e-05/0.1395, allocations: 8 kB / 462 MB, free: 5.355 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006382/0.1401, allocations: 274.4 kB / 462.3 MB, free: 5.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001954/0.1421, allocations: 1.163 MB / 463.4 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004812/0.1426, allocations: 194.5 kB / 463.6 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002128/0.1428, allocations: 84.84 kB / 463.7 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.203e-05/0.1429, allocations: 19.92 kB / 463.7 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.779e-05/0.143, allocations: 34.56 kB / 463.7 MB, free: 3.477 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 2.104e-06/0.143, allocations: 0 / 463.7 MB, free: 3.477 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.003158/0.1461, allocations: 0.9008 MB / 464.6 MB, free: 2.562 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.1462, allocations: 55.64 kB / 464.7 MB, free: 2.496 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003854/0.1466, allocations: 320.4 kB / 465 MB, free: 2.168 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.299e-05/0.1466, allocations: 33.7 kB / 465.1 MB, free: 2.129 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001799/0.1468, allocations: 235.5 kB / 465.3 MB, free: 1.895 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.197e-05/0.1469, allocations: 90.66 kB / 465.4 MB, free: 1.805 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.147, allocations: 73.97 kB / 465.4 MB, free: 1.723 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.1472, allocations: 342.8 kB / 465.8 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003207/0.1475, allocations: 116.6 kB / 465.9 MB, free: 1.266 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004109/0.148, allocations: 225.2 kB / 466.1 MB, free: 1.004 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007211/0.1487, allocations: 348.7 kB / 466.4 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.1487, allocations: 0 / 466.4 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0015/0.1502, allocations: 0.6077 MB / 467.1 MB, free: 4 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.1503, allocations: 4 kB / 467.1 MB, free: 0 / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.1503, allocations: 12.05 kB / 467.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001968/0.1523, allocations: 0.8121 MB / 467.9 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003581/0.1526, allocations: 79.83 kB / 468 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001044/0.1537, allocations: 1.171 MB / 469.1 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003025/0.154, allocations: 19.98 kB / 469.2 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.04e-05/0.1541, allocations: 28.05 kB / 469.2 MB, free: 13.82 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.0002484/0.1543, allocations: 154 kB / 469.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.5e-05/0.1544, allocations: 35.56 kB / 469.4 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00139/0.1558, allocations: 0.5338 MB / 469.9 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.1558, allocations: 4 kB / 469.9 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.1558, allocations: 0 / 469.9 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.1558, allocations: 3.984 kB / 469.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005245/0.1564, allocations: 381.3 kB / 470.3 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1564, allocations: 0 / 470.3 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002205/0.1566, allocations: 43.91 kB / 470.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001869/0.1585, allocations: 0.8159 MB / 471.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.476e-05/0.1585, allocations: 15.94 kB / 471.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000898/0.1594, allocations: 1.171 MB / 472.3 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1594, allocations: 0 / 472.3 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.1608, allocations: 0.5941 MB / 472.9 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.1609, allocations: 100.7 kB / 473 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.382e-05/0.1609, allocations: 4 kB / 473 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002143/0.1611, allocations: 23.97 kB / 473 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.845e-05/0.1612, allocations: 19.92 kB / 473.1 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.698e-05/0.1613, allocations: 7.984 kB / 473.1 MB, free: 9.773 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002847/0.1616, allocations: 219.1 kB / 473.3 MB, free: 9.559 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1616, allocations: 0 / 473.3 MB, free: 9.559 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005451/0.1621, allocations: 103.9 kB / 473.4 MB, free: 9.457 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.0003068/0.1624, allocations: 139.1 kB / 473.5 MB, free: 9.312 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009499/0.1634, allocations: 319.9 kB / 473.8 MB, free: 9 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1634, allocations: 0 / 473.8 MB, free: 9 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004793/0.1639, allocations: 172.3 kB / 474 MB, free: 8.832 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004278/0.1643, allocations: 37.64 kB / 474 MB, free: 8.797 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.1658, allocations: 0.659 MB / 474.7 MB, free: 8.105 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004928/0.1663, allocations: 0.7872 MB / 475.5 MB, free: 7.289 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.327e-05/0.1664, allocations: 39.42 kB / 475.5 MB, free: 7.25 MB / 350.1 MB Notification: Performance of SimCode: time 8.61e-07/0.1664, allocations: 0 / 475.5 MB, free: 7.25 MB / 350.1 MB Notification: Performance of Templates: time 0.01179/0.1782, allocations: 7.053 MB / 482.6 MB, free: 200 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)