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.001794/0.001794, allocations: 105.1 kB / 16.41 MB, free: 6.465 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.001924/0.001924, allocations: 187 kB / 17.34 MB, free: 5.715 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.528/1.528, allocations: 222.9 MB / 241 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.009323/0.009323, allocations: 1.238 MB / 292.4 MB, free: 13.61 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 61.27 kB / 404 MB, free: 31.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09182/0.09367, allocations: 49.71 MB / 453.7 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ToroidalCoreAirgap): time 0.004626/0.0983, allocations: 2.979 MB / 456.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002574/0.1009, allocations: 1.409 MB / 458.1 MB, free: 9.375 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.101, allocations: 7.938 kB / 458.1 MB, free: 9.367 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005505/0.1016, allocations: 155 kB / 458.2 MB, free: 9.215 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003317/0.1019, allocations: 119.1 kB / 458.3 MB, free: 9.098 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007395/0.1027, allocations: 279.1 kB / 458.6 MB, free: 8.828 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005091/0.1032, allocations: 426.4 kB / 459 MB, free: 8.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002122/0.1034, allocations: 103.3 kB / 459.1 MB, free: 8.305 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002577/0.1036, allocations: 175.3 kB / 459.3 MB, free: 8.133 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002546/0.1039, allocations: 191.1 kB / 459.5 MB, free: 7.945 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.052e-05/0.1039, allocations: 36 kB / 459.5 MB, free: 7.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003426/0.1043, allocations: 211.6 kB / 459.7 MB, free: 7.703 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.1044, allocations: 99.66 kB / 459.8 MB, free: 7.605 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002045/0.1046, allocations: 194.9 kB / 460 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006804/0.1053, allocations: 0.5212 MB / 460.5 MB, free: 6.891 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.1053, allocations: 4 kB / 460.5 MB, free: 6.887 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1053, allocations: 0 / 460.5 MB, free: 6.887 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.1053, allocations: 0 / 460.5 MB, free: 6.887 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.001332/0.1066, allocations: 0.7126 MB / 461.3 MB, free: 6.125 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.1067, allocations: 12.03 kB / 461.3 MB, free: 6.113 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.348e-05/0.1068, allocations: 44.66 kB / 461.3 MB, free: 6.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005052/0.1073, allocations: 324.2 kB / 461.6 MB, free: 5.719 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.373e-05/0.1073, allocations: 25.03 kB / 461.6 MB, free: 5.695 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.466e-05/0.1074, allocations: 28.38 kB / 461.7 MB, free: 5.668 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000645/0.108, allocations: 306.3 kB / 462 MB, free: 5.359 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.108, allocations: 0 / 462 MB, free: 5.359 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.235e-05/0.1081, allocations: 16 kB / 462 MB, free: 5.344 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.1081, allocations: 8 kB / 462 MB, free: 5.336 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006841/0.1088, allocations: 274.4 kB / 462.3 MB, free: 5.07 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001906/0.1107, allocations: 1.163 MB / 463.4 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005182/0.1112, allocations: 194.5 kB / 463.6 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002156/0.1114, allocations: 80.8 kB / 463.7 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.313e-05/0.1115, allocations: 11.94 kB / 463.7 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.1115, allocations: 46.48 kB / 463.8 MB, free: 3.457 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.523e-06/0.1115, allocations: 0 / 463.8 MB, free: 3.457 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.003029/0.1145, allocations: 0.9013 MB / 464.7 MB, free: 2.543 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.1146, allocations: 51.64 kB / 464.7 MB, free: 2.48 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003956/0.115, allocations: 312.5 kB / 465 MB, free: 2.16 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.115, allocations: 33.7 kB / 465 MB, free: 2.121 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001953/0.1152, allocations: 248 kB / 465.3 MB, free: 1.875 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.937e-05/0.1153, allocations: 99.17 kB / 465.4 MB, free: 1.777 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.1154, allocations: 70.03 kB / 465.5 MB, free: 1.699 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.1156, allocations: 338.8 kB / 465.8 MB, free: 1.359 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003365/0.1159, allocations: 124.7 kB / 465.9 MB, free: 1.238 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004114/0.1163, allocations: 213.2 kB / 466.1 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007502/0.1171, allocations: 352.6 kB / 466.5 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1171, allocations: 0 / 466.5 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001499/0.1186, allocations: 0.6001 MB / 467.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.1186, allocations: 4 kB / 467.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.1186, allocations: 4.281 kB / 467.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001966/0.1206, allocations: 0.8197 MB / 467.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003332/0.1209, allocations: 79.89 kB / 468 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009622/0.1218, allocations: 1.179 MB / 469.1 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002763/0.1221, allocations: 23.92 kB / 469.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.93e-05/0.1222, allocations: 16 kB / 469.2 MB, free: 13.81 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.0002026/0.1224, allocations: 166 kB / 469.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.612e-05/0.1224, allocations: 31.81 kB / 469.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001364/0.1238, allocations: 0.5338 MB / 469.9 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1238, allocations: 0 / 469.9 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1238, allocations: 4 kB / 469.9 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1238, allocations: 0 / 469.9 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004903/0.1243, allocations: 377.3 kB / 470.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1243, allocations: 0 / 470.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002252/0.1245, allocations: 51.89 kB / 470.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001834/0.1264, allocations: 0.8042 MB / 471.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.975e-05/0.1264, allocations: 8 kB / 471.1 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009024/0.1273, allocations: 1.179 MB / 472.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1273, allocations: 0 / 472.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/0.1286, allocations: 0.5941 MB / 472.9 MB, free: 9.938 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.1287, allocations: 116.8 kB / 473 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.304e-05/0.1288, allocations: 4 kB / 473 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.129, allocations: 15.98 kB / 473 MB, free: 9.785 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.89e-05/0.1291, allocations: 19.91 kB / 473.1 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/0.1291, allocations: 12 kB / 473.1 MB, free: 9.754 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002662/0.1293, allocations: 219.1 kB / 473.3 MB, free: 9.539 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1293, allocations: 0 / 473.3 MB, free: 9.539 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004574/0.1298, allocations: 99.86 kB / 473.4 MB, free: 9.441 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.0002527/0.1301, allocations: 151 kB / 473.5 MB, free: 9.285 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009388/0.131, allocations: 304.3 kB / 473.8 MB, free: 8.988 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.131, allocations: 0 / 473.8 MB, free: 8.988 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005004/0.1315, allocations: 164.3 kB / 474 MB, free: 8.828 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004001/0.1319, allocations: 45.06 kB / 474 MB, free: 8.785 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.1333, allocations: 0.6582 MB / 474.7 MB, free: 8.094 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004873/0.1338, allocations: 0.795 MB / 475.5 MB, free: 7.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.431e-05/0.1339, allocations: 27.44 kB / 475.5 MB, free: 7.242 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1339, allocations: 4 kB / 475.5 MB, free: 7.238 MB / 350.1 MB Notification: Performance of Templates: time 0.01035/0.1442, allocations: 7.073 MB / 482.6 MB, free: 164 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)