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.005439/0.005439, allocations: 105.5 kB / 15.74 MB, free: 6.008 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.001239/0.001239, allocations: 194.8 kB / 16.67 MB, free: 5.93 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.464/1.464, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.007955/0.007955, allocations: 1.238 MB / 291.8 MB, free: 13.61 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 63.89 kB / 403.3 MB, free: 31.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1098, allocations: 49.69 MB / 453 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.SaturatedInductor): time 0.004578/0.1144, allocations: 2.807 MB / 455.8 MB, free: 10.99 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003673/0.1182, allocations: 1.643 MB / 457.4 MB, free: 9.336 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003392/0.1185, allocations: 4 kB / 457.4 MB, free: 9.332 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008372/0.1194, allocations: 194.9 kB / 457.6 MB, free: 9.141 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004716/0.1199, allocations: 107.2 kB / 457.7 MB, free: 9.035 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008785/0.1208, allocations: 279 kB / 458 MB, free: 8.766 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006681/0.1215, allocations: 394.5 kB / 458.4 MB, free: 8.379 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002347/0.1217, allocations: 113.7 kB / 458.5 MB, free: 8.266 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002271/0.122, allocations: 147.4 kB / 458.6 MB, free: 8.121 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003002/0.1223, allocations: 159.2 kB / 458.8 MB, free: 7.965 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.541e-05/0.1223, allocations: 28 kB / 458.8 MB, free: 7.938 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003913/0.1227, allocations: 191.6 kB / 459 MB, free: 7.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.1229, allocations: 79.73 kB / 459.1 MB, free: 7.672 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002038/0.1231, allocations: 175.1 kB / 459.3 MB, free: 7.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006396/0.1237, allocations: 450.5 kB / 459.7 MB, free: 7.059 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1237, allocations: 0 / 459.7 MB, free: 7.059 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1238, allocations: 0 / 459.7 MB, free: 7.059 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.091e-05/0.1238, allocations: 0 / 459.7 MB, free: 7.059 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.00133/0.1251, allocations: 0.6545 MB / 460.3 MB, free: 6.355 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/0.1252, allocations: 15.89 kB / 460.4 MB, free: 6.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001298/0.1253, allocations: 40.41 kB / 460.4 MB, free: 6.301 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005045/0.1258, allocations: 290.6 kB / 460.7 MB, free: 5.973 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.813e-05/0.1259, allocations: 16.94 kB / 460.7 MB, free: 5.957 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.999e-05/0.1259, allocations: 28.38 kB / 460.7 MB, free: 5.93 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005642/0.1265, allocations: 269.2 kB / 461 MB, free: 5.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.1265, allocations: 0 / 461 MB, free: 5.66 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.135e-05/0.1266, allocations: 12 kB / 461 MB, free: 5.648 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.1266, allocations: 8 kB / 461 MB, free: 5.641 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005001/0.1271, allocations: 254 kB / 461.3 MB, free: 5.391 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001857/0.129, allocations: 1.076 MB / 462.3 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004603/0.1294, allocations: 246.4 kB / 462.6 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002672/0.1297, allocations: 120.8 kB / 462.7 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.17e-05/0.1298, allocations: 15.98 kB / 462.7 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.1298, allocations: 34.56 kB / 462.7 MB, free: 3.797 MB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 3.006e-06/0.1298, allocations: 4 kB / 462.8 MB, free: 3.793 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.004605/0.1344, allocations: 1.618 MB / 464.4 MB, free: 2.098 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.1345, allocations: 59.39 kB / 464.4 MB, free: 2.027 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002838/0.1348, allocations: 282.9 kB / 464.7 MB, free: 1.746 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.1348, allocations: 29.7 kB / 464.7 MB, free: 1.711 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.135, allocations: 196.2 kB / 464.9 MB, free: 1.516 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.903e-05/0.1351, allocations: 126.2 kB / 465 MB, free: 1.391 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.1352, allocations: 61.7 kB / 465.1 MB, free: 1.324 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1353, allocations: 346.7 kB / 465.4 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002368/0.1356, allocations: 112 kB / 465.6 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002616/0.1358, allocations: 172.5 kB / 465.7 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005466/0.1364, allocations: 298.1 kB / 466 MB, free: 384 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1364, allocations: 0 / 466 MB, free: 384 kB / 334.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001671/0.1381, allocations: 0.6251 MB / 466.6 MB, free: 15.74 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.1381, allocations: 8 kB / 466.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.1381, allocations: 3.938 kB / 466.7 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002536/0.1407, allocations: 0.5246 MB / 467.2 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002985/0.141, allocations: 67.83 kB / 467.2 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009265/0.1419, allocations: 1.28 MB / 468.5 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/0.1421, allocations: 16.22 kB / 468.5 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.656e-05/0.1422, allocations: 19.92 kB / 468.6 MB, free: 13.76 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.0001752/0.1423, allocations: 153.7 kB / 468.7 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.772e-05/0.1424, allocations: 31.62 kB / 468.7 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00149/0.1439, allocations: 0.5799 MB / 469.3 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.1439, allocations: 4 kB / 469.3 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.1439, allocations: 0 / 469.3 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.1439, allocations: 3.984 kB / 469.3 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002059/0.146, allocations: 1.064 MB / 470.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.146, allocations: 0 / 470.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002134/0.1462, allocations: 48.03 kB / 470.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002416/0.1487, allocations: 0.5246 MB / 471 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/0.1487, allocations: 8 kB / 471 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001206/0.1499, allocations: 1.276 MB / 472.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.523e-06/0.1499, allocations: 0 / 472.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001938/0.1519, allocations: 0.8184 MB / 473.1 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.152, allocations: 108.8 kB / 473.2 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.815e-05/0.1521, allocations: 8 kB / 473.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.1523, allocations: 15.92 kB / 473.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.499e-05/0.1524, allocations: 23.97 kB / 473.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/0.1524, allocations: 4 kB / 473.2 MB, free: 8.895 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002697/0.1527, allocations: 205.9 kB / 473.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1527, allocations: 4.062 kB / 473.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000518/0.1532, allocations: 91.94 kB / 473.5 MB, free: 8.602 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.0003708/0.1536, allocations: 131.2 kB / 473.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.1547, allocations: 332.9 kB / 474 MB, free: 8.141 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.1547, allocations: 4.062 kB / 474 MB, free: 8.137 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005055/0.1552, allocations: 187.8 kB / 474.2 MB, free: 7.953 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005624/0.1558, allocations: 45.58 kB / 474.2 MB, free: 7.906 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001962/0.1578, allocations: 0.7415 MB / 474.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005639/0.1583, allocations: 0.7915 MB / 475.7 MB, free: 6.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001273/0.1585, allocations: 26.28 kB / 475.8 MB, free: 6.293 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.166e-05/0.1586, allocations: 19.44 kB / 475.8 MB, free: 6.273 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1586, allocations: 0 / 475.8 MB, free: 6.273 MB / 350.1 MB Notification: Performance of Templates: time 0.008706/0.1673, allocations: 3.78 MB / 479.6 MB, free: 2.508 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)