Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.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.SaturatedInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor") translateModel(FluxTubesExtension.Examples.SaturatedInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001307/0.001308, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.415/1.415, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.007765/0.007765, allocations: 1.232 MB / 292.4 MB, free: 13.63 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 75.81 kB / 404 MB, free: 31.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1181, allocations: 49.7 MB / 453.7 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.SaturatedInductor): time 0.004483/0.1227, allocations: 2.807 MB / 456.5 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002622/0.1253, allocations: 1.639 MB / 458.1 MB, free: 9.477 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001743/0.1255, allocations: 8 kB / 458.1 MB, free: 9.469 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007857/0.1263, allocations: 198.9 kB / 458.3 MB, free: 9.273 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002408/0.1266, allocations: 95.19 kB / 458.4 MB, free: 9.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006841/0.1273, allocations: 279 kB / 458.7 MB, free: 8.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005373/0.1278, allocations: 402.5 kB / 459.1 MB, free: 8.516 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000222/0.1281, allocations: 105.7 kB / 459.2 MB, free: 8.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001494/0.1282, allocations: 143.4 kB / 459.3 MB, free: 8.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002368/0.1285, allocations: 163.2 kB / 459.5 MB, free: 8.109 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.605e-05/0.1285, allocations: 35.88 kB / 459.5 MB, free: 8.074 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003411/0.1289, allocations: 191.7 kB / 459.7 MB, free: 7.887 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.713e-05/0.129, allocations: 83.75 kB / 459.8 MB, free: 7.805 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001673/0.1291, allocations: 171.1 kB / 459.9 MB, free: 7.637 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005514/0.1297, allocations: 454.5 kB / 460.4 MB, free: 7.191 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1297, allocations: 0 / 460.4 MB, free: 7.191 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1297, allocations: 0 / 460.4 MB, free: 7.191 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.1297, allocations: 0 / 460.4 MB, free: 7.191 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001104/0.1308, allocations: 0.6506 MB / 461 MB, free: 6.492 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.1309, allocations: 15.83 kB / 461 MB, free: 6.477 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.201e-05/0.131, allocations: 40.47 kB / 461.1 MB, free: 6.438 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004272/0.1314, allocations: 282.6 kB / 461.4 MB, free: 6.117 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.1314, allocations: 20.94 kB / 461.4 MB, free: 6.098 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.121e-05/0.1315, allocations: 24.38 kB / 461.4 MB, free: 6.074 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005224/0.132, allocations: 277.2 kB / 461.7 MB, free: 5.797 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.1321, allocations: 0 / 461.7 MB, free: 5.797 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.043e-05/0.1321, allocations: 12 kB / 461.7 MB, free: 5.785 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.1321, allocations: 8 kB / 461.7 MB, free: 5.777 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004589/0.1326, allocations: 246.1 kB / 461.9 MB, free: 5.535 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001655/0.1342, allocations: 1.072 MB / 463 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004641/0.1347, allocations: 246.4 kB / 463.2 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002611/0.135, allocations: 128.8 kB / 463.4 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.401e-05/0.1351, allocations: 15.98 kB / 463.4 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.1351, allocations: 34.56 kB / 463.4 MB, free: 3.938 MB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 1.252e-06/0.1351, allocations: 0 / 463.4 MB, free: 3.938 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.00428/0.1394, allocations: 1.622 MB / 465 MB, free: 2.238 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.1394, allocations: 55.41 kB / 465.1 MB, free: 2.172 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002931/0.1397, allocations: 282.9 kB / 465.4 MB, free: 1.891 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.1398, allocations: 33.7 kB / 465.4 MB, free: 1.852 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.1399, allocations: 192.2 kB / 465.6 MB, free: 1.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.445e-05/0.14, allocations: 118.2 kB / 465.7 MB, free: 1.543 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.1401, allocations: 69.69 kB / 465.8 MB, free: 1.469 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.1403, allocations: 338.8 kB / 466.1 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002235/0.1405, allocations: 123.9 kB / 466.2 MB, free: 1.008 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002585/0.1408, allocations: 172.5 kB / 466.4 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004656/0.1413, allocations: 294.1 kB / 466.7 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1413, allocations: 4 kB / 466.7 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001563/0.1428, allocations: 0.6329 MB / 467.3 MB, free: 15.87 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.1429, allocations: 7.938 kB / 467.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.1429, allocations: 4 kB / 467.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00248/0.1454, allocations: 0.5284 MB / 467.9 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002652/0.1457, allocations: 55.91 kB / 467.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00098/0.1466, allocations: 1.284 MB / 469.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.1468, allocations: 12.03 kB / 469.2 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.667e-05/0.1469, allocations: 12 kB / 469.2 MB, free: 13.91 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (30): * Single equations (assignments): 28 * 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,8), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001974/0.1471, allocations: 165.8 kB / 469.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.038e-05/0.1471, allocations: 31.62 kB / 469.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001504/0.1487, allocations: 0.58 MB / 470 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.1487, allocations: 0 / 470 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.1487, allocations: 4 kB / 470 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.1487, allocations: 0 / 470 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002028/0.1507, allocations: 1.064 MB / 471.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.1507, allocations: 4 kB / 471.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002172/0.151, allocations: 47.91 kB / 471.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002412/0.1534, allocations: 0.5208 MB / 471.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.414e-05/0.1534, allocations: 8 kB / 471.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009088/0.1543, allocations: 1.28 MB / 472.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.1544, allocations: 7.969 kB / 472.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00173/0.1561, allocations: 0.8107 MB / 473.7 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.057e-05/0.1562, allocations: 112.8 kB / 473.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.794e-05/0.1563, allocations: 4 kB / 473.9 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001919/0.1565, allocations: 20 kB / 473.9 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.407e-05/0.1565, allocations: 15.97 kB / 473.9 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.039e-05/0.1566, allocations: 15.94 kB / 473.9 MB, free: 9.023 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002159/0.1568, allocations: 201.9 kB / 474.1 MB, free: 8.828 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1568, allocations: 0 / 474.1 MB, free: 8.828 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004164/0.1572, allocations: 91.94 kB / 474.2 MB, free: 8.738 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (coil.i) * 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 (20): * Single equations (assignments): 18 * 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,8), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002518/0.1575, allocations: 131.2 kB / 474.3 MB, free: 8.602 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008078/0.1583, allocations: 340.7 kB / 474.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.1583, allocations: 0 / 474.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004221/0.1587, allocations: 188.2 kB / 474.8 MB, free: 8.086 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004117/0.1592, allocations: 37.42 kB / 474.9 MB, free: 8.047 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.1607, allocations: 0.7714 MB / 475.6 MB, free: 7.238 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003905/0.1611, allocations: 0.7837 MB / 476.4 MB, free: 6.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.795e-05/0.1612, allocations: 27.42 kB / 476.5 MB, free: 6.402 MB / 350.1 MB Notification: Performance of SimCode: time 7.32e-07/0.1612, allocations: 4 kB / 476.5 MB, free: 6.398 MB / 350.1 MB Notification: Performance of Templates: time 0.01076/0.172, allocations: 6.44 MB / 482.9 MB, free: 15.95 MB / 366.1 MB make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.makefile (rm -f FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe ; mkfifo FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe ; head -c 1048576 < FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe >> ../files/FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.sim & ./FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor -abortSlowSimulation -alarm=480 -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe 2>&1)