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.001051/0.001051, allocations: 110.8 kB / 16.42 MB, free: 6.449 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.001011/0.001011, allocations: 187.9 kB / 17.35 MB, free: 5.699 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.423/1.423, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.007906/0.007906, allocations: 1.225 MB / 292.4 MB, free: 13.61 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 65.88 kB / 404 MB, free: 31.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07367/0.07491, allocations: 49.69 MB / 453.7 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ToroidalCoreAirgap): time 0.004189/0.07913, allocations: 2.979 MB / 456.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00194/0.08108, allocations: 1.405 MB / 458.1 MB, free: 9.379 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001358/0.08123, allocations: 11.94 kB / 458.1 MB, free: 9.367 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004467/0.08169, allocations: 155 kB / 458.2 MB, free: 9.215 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002604/0.08197, allocations: 107.1 kB / 458.3 MB, free: 9.109 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006033/0.08258, allocations: 271.2 kB / 458.6 MB, free: 8.848 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003836/0.08297, allocations: 434.3 kB / 459 MB, free: 8.422 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000201/0.08318, allocations: 135.2 kB / 459.1 MB, free: 8.285 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002074/0.0834, allocations: 187.3 kB / 459.3 MB, free: 8.102 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/0.08362, allocations: 183.2 kB / 459.5 MB, free: 7.922 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.014e-05/0.08368, allocations: 36 kB / 459.5 MB, free: 7.887 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003206/0.084, allocations: 215.6 kB / 459.8 MB, free: 7.676 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.08412, allocations: 91.67 kB / 459.8 MB, free: 7.586 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001603/0.08429, allocations: 198.9 kB / 460 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005343/0.08483, allocations: 0.5136 MB / 460.6 MB, free: 6.875 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.08484, allocations: 3.938 kB / 460.6 MB, free: 6.871 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.08485, allocations: 3.938 kB / 460.6 MB, free: 6.867 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.08487, allocations: 4 kB / 460.6 MB, free: 6.863 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.001168/0.08604, allocations: 0.7125 MB / 461.3 MB, free: 6.102 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.08608, allocations: 8.031 kB / 461.3 MB, free: 6.094 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.797e-05/0.08617, allocations: 48.66 kB / 461.3 MB, free: 6.047 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003967/0.08657, allocations: 320.2 kB / 461.6 MB, free: 5.699 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.816e-05/0.08661, allocations: 29.03 kB / 461.7 MB, free: 5.672 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.39e-05/0.08667, allocations: 32.38 kB / 461.7 MB, free: 5.641 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005857/0.08726, allocations: 298.3 kB / 462 MB, free: 5.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.08728, allocations: 0 / 462 MB, free: 5.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.668e-05/0.08731, allocations: 12 kB / 462 MB, free: 5.328 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.08733, allocations: 12 kB / 462 MB, free: 5.316 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006427/0.08798, allocations: 278.4 kB / 462.3 MB, free: 5.047 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001639/0.08963, allocations: 1.171 MB / 463.5 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004283/0.09007, allocations: 186.5 kB / 463.6 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002022/0.09028, allocations: 84.91 kB / 463.7 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.714e-05/0.09035, allocations: 23.92 kB / 463.7 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.09038, allocations: 30.56 kB / 463.8 MB, free: 3.434 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 4.107e-06/0.09039, allocations: 0 / 463.8 MB, free: 3.434 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.00279/0.09319, allocations: 0.9128 MB / 464.7 MB, free: 2.508 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/0.09323, allocations: 51.64 kB / 464.7 MB, free: 2.445 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003051/0.09354, allocations: 320.5 kB / 465.1 MB, free: 2.117 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.09357, allocations: 29.7 kB / 465.1 MB, free: 2.082 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.09371, allocations: 244.1 kB / 465.3 MB, free: 1.84 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.871e-05/0.09377, allocations: 95.17 kB / 465.4 MB, free: 1.746 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.09388, allocations: 74.02 kB / 465.5 MB, free: 1.664 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.09399, allocations: 342.8 kB / 465.8 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003072/0.09431, allocations: 112.7 kB / 465.9 MB, free: 1.211 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003567/0.09467, allocations: 225.1 kB / 466.2 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006527/0.09533, allocations: 348.7 kB / 466.5 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.09535, allocations: 4 kB / 466.5 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001326/0.09668, allocations: 0.6003 MB / 467.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.09671, allocations: 8 kB / 467.1 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.09672, allocations: 4 kB / 467.1 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001785/0.09851, allocations: 0.8237 MB / 467.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003226/0.09885, allocations: 79.83 kB / 468 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006986/0.09956, allocations: 1.175 MB / 469.2 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002715/0.09984, allocations: 19.98 kB / 469.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.682e-05/0.09988, allocations: 19.98 kB / 469.2 MB, free: 13.77 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.000156/0.1, allocations: 165.9 kB / 469.4 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.344e-05/0.1001, allocations: 27.81 kB / 469.4 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001235/0.1013, allocations: 0.5339 MB / 469.9 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.1014, allocations: 4 kB / 470 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.1014, allocations: 3.984 kB / 470 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.633e-05/0.1015, allocations: 108.9 kB / 470.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.245e-05/0.1015, allocations: 8 kB / 470.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002229/0.1017, allocations: 16.09 kB / 470.1 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.651e-05/0.1018, allocations: 19.97 kB / 470.1 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001045/0.1029, allocations: 470.2 kB / 470.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001024/0.1039, allocations: 0.5926 MB / 471.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002868/0.1042, allocations: 124.1 kB / 471.3 MB, free: 11.65 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002126/0.1044, allocations: 219.2 kB / 471.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of Backend: time 3.21e-07/0.1044, allocations: 0 / 471.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009712/0.1054, allocations: 353.2 kB / 471.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of SimCode: time 0.001277/0.1067, allocations: 1.132 MB / 473 MB, free: 9.91 MB / 350.1 MB Notification: Performance of Templates: time 0.008213/0.1149, allocations: 4.36 MB / 477.3 MB, free: 5.562 MB / 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)