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.005418/0.005418, allocations: 97.33 kB / 15.73 MB, free: 6.035 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.001155/0.001155, allocations: 201.5 kB / 16.68 MB, free: 5.961 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.008025/0.008025, allocations: 1.229 MB / 291.8 MB, free: 1.016 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 59.84 kB / 403.3 MB, free: 9.141 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09822/0.09956, allocations: 49.71 MB / 453 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.SaturatedInductor): time 0.004494/0.1041, allocations: 2.798 MB / 455.8 MB, free: 1.289 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002582/0.1067, allocations: 1.639 MB / 457.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002487/0.107, allocations: 7.938 kB / 457.4 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007385/0.1077, allocations: 195 kB / 457.6 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003989/0.1082, allocations: 95.19 kB / 457.7 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008959/0.1091, allocations: 279.3 kB / 458 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007061/0.1098, allocations: 394.5 kB / 458.4 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002695/0.1101, allocations: 105.7 kB / 458.5 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002492/0.1104, allocations: 143.4 kB / 458.6 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003389/0.1107, allocations: 167.2 kB / 458.8 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.989e-05/0.1108, allocations: 28 kB / 458.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004353/0.1112, allocations: 191.7 kB / 459 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.1114, allocations: 79.75 kB / 459.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001881/0.1116, allocations: 171.1 kB / 459.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007014/0.1123, allocations: 458.1 kB / 459.7 MB, free: 13.37 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1123, allocations: 0 / 459.7 MB, free: 13.37 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1123, allocations: 0 / 459.7 MB, free: 13.37 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.1123, allocations: 0 / 459.7 MB, free: 13.37 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.001127/0.1135, allocations: 0.6658 MB / 460.4 MB, free: 12.65 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.1135, allocations: 11.89 kB / 460.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.862e-05/0.1136, allocations: 40.7 kB / 460.4 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004277/0.114, allocations: 286.8 kB / 460.7 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.1141, allocations: 20.94 kB / 460.7 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.68e-05/0.1141, allocations: 24.38 kB / 460.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000541/0.1147, allocations: 277.2 kB / 461 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.1147, allocations: 3.938 kB / 461 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.872e-05/0.1147, allocations: 12 kB / 461 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.1148, allocations: 8 kB / 461 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004971/0.1153, allocations: 242.1 kB / 461.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001898/0.1172, allocations: 1.08 MB / 462.3 MB, free: 10.53 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004415/0.1176, allocations: 245.5 kB / 462.6 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002453/0.1179, allocations: 124.8 kB / 462.7 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.192e-05/0.118, allocations: 19.98 kB / 462.7 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.118, allocations: 30.56 kB / 462.8 MB, free: 10.1 MB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 3.307e-06/0.118, allocations: 112 / 462.8 MB, free: 10.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.004477/0.1225, allocations: 1.632 MB / 464.4 MB, free: 8.391 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.1225, allocations: 55.41 kB / 464.4 MB, free: 8.324 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002979/0.1228, allocations: 279 kB / 464.7 MB, free: 8.047 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.1229, allocations: 37.64 kB / 464.7 MB, free: 8.004 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.123, allocations: 200.5 kB / 464.9 MB, free: 7.805 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.191e-05/0.1231, allocations: 122.9 kB / 465.1 MB, free: 7.684 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.1232, allocations: 69.69 kB / 465.1 MB, free: 7.609 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.1234, allocations: 342.8 kB / 465.5 MB, free: 7.266 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002343/0.1236, allocations: 119.9 kB / 465.6 MB, free: 7.148 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002804/0.1239, allocations: 172.5 kB / 465.7 MB, free: 6.961 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005602/0.1245, allocations: 298 kB / 466 MB, free: 6.656 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.1245, allocations: 4 kB / 466 MB, free: 6.652 MB / 334.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001686/0.1262, allocations: 0.6291 MB / 466.7 MB, free: 6.012 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.019e-05/0.1262, allocations: 4 kB / 466.7 MB, free: 6.008 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.1262, allocations: 4 kB / 466.7 MB, free: 6.004 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002652/0.1289, allocations: 0.5246 MB / 467.2 MB, free: 5.473 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003031/0.1292, allocations: 63.91 kB / 467.3 MB, free: 5.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009612/0.1302, allocations: 1.276 MB / 468.5 MB, free: 4.082 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002361/0.1305, allocations: 16.02 kB / 468.6 MB, free: 4.066 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.67e-05/0.1305, allocations: 15.94 kB / 468.6 MB, free: 4.051 MB / 334.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.0001876/0.1307, allocations: 161.9 kB / 468.7 MB, free: 3.883 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.648e-05/0.1308, allocations: 31.81 kB / 468.8 MB, free: 3.852 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001649/0.1324, allocations: 0.5839 MB / 469.3 MB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.1324, allocations: 0 / 469.3 MB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1324, allocations: 4 kB / 469.4 MB, free: 3.246 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.1325, allocations: 3.984 kB / 469.4 MB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002106/0.1346, allocations: 1.06 MB / 470.4 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.696e-06/0.1346, allocations: 0 / 470.4 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002247/0.1348, allocations: 47.91 kB / 470.5 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002539/0.1374, allocations: 0.5247 MB / 471 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.782e-05/0.1374, allocations: 8 kB / 471 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008903/0.1383, allocations: 1.284 MB / 472.3 MB, free: 196 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.1383, allocations: 4.031 kB / 472.3 MB, free: 192 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001789/0.1401, allocations: 0.807 MB / 473.1 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.1403, allocations: 109 kB / 473.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.416e-05/0.1403, allocations: 12.05 kB / 473.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.1405, allocations: 15.94 kB / 473.2 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/0.1406, allocations: 15.97 kB / 473.2 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.406e-05/0.1406, allocations: 16 kB / 473.3 MB, free: 15.17 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002089/0.1408, allocations: 201.9 kB / 473.5 MB, free: 14.97 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1408, allocations: 0 / 473.5 MB, free: 14.97 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00041/0.1413, allocations: 91.88 kB / 473.5 MB, free: 14.88 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.0002238/0.1415, allocations: 135.1 kB / 473.7 MB, free: 14.74 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007738/0.1423, allocations: 344.6 kB / 474 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1423, allocations: 0 / 474 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004159/0.1427, allocations: 188.2 kB / 474.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003848/0.1431, allocations: 37.33 kB / 474.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.1445, allocations: 0.761 MB / 475 MB, free: 13.4 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.1449, allocations: 0.7992 MB / 475.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001064/0.145, allocations: 22.28 kB / 475.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.134e-05/0.145, allocations: 19.44 kB / 475.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.145, allocations: 0 / 475.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of Templates: time 0.008028/0.1531, allocations: 3.777 MB / 479.6 MB, free: 8.766 MB / 350.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)