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.001028/0.001028, allocations: 109.8 kB / 16.42 MB, free: 6.461 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.001014/0.001014, allocations: 190.7 kB / 17.35 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.293/1.293, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.007971/0.007971, allocations: 1.227 MB / 292.4 MB, free: 13.64 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 65.75 kB / 404 MB, free: 31.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06562/0.06686, allocations: 49.69 MB / 453.7 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ToroidalCoreAirgap): time 0.003807/0.07068, allocations: 2.986 MB / 456.7 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002144/0.07285, allocations: 1.405 MB / 458.1 MB, free: 9.289 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001664/0.07304, allocations: 8 kB / 458.1 MB, free: 9.281 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004683/0.07352, allocations: 151 kB / 458.2 MB, free: 9.133 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002948/0.07382, allocations: 119.1 kB / 458.3 MB, free: 9.016 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006755/0.07451, allocations: 275 kB / 458.6 MB, free: 8.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004339/0.07495, allocations: 430.4 kB / 459 MB, free: 8.328 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002103/0.07517, allocations: 139.2 kB / 459.2 MB, free: 8.188 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002367/0.07541, allocations: 179.3 kB / 459.3 MB, free: 8.012 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002314/0.07566, allocations: 195.1 kB / 459.5 MB, free: 7.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.174e-05/0.07572, allocations: 32 kB / 459.5 MB, free: 7.789 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003276/0.07605, allocations: 211.6 kB / 459.8 MB, free: 7.582 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.07616, allocations: 91.67 kB / 459.8 MB, free: 7.492 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001694/0.07634, allocations: 194.9 kB / 460 MB, free: 7.301 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000529/0.07687, allocations: 0.5139 MB / 460.5 MB, free: 6.785 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.07689, allocations: 4 kB / 460.6 MB, free: 6.781 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.07689, allocations: 0 / 460.6 MB, free: 6.781 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.07691, allocations: 0 / 460.6 MB, free: 6.781 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.001188/0.0781, allocations: 0.7052 MB / 461.3 MB, free: 6.027 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.07814, allocations: 11.97 kB / 461.3 MB, free: 6.016 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.674e-05/0.07823, allocations: 40.47 kB / 461.3 MB, free: 5.977 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000402/0.07863, allocations: 328 kB / 461.6 MB, free: 5.621 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.07867, allocations: 21.03 kB / 461.7 MB, free: 5.602 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.502e-05/0.07873, allocations: 32.38 kB / 461.7 MB, free: 5.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006005/0.07934, allocations: 302.3 kB / 462 MB, free: 5.266 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.07936, allocations: 3.938 kB / 462 MB, free: 5.262 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.043e-05/0.0794, allocations: 16 kB / 462 MB, free: 5.246 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.07941, allocations: 8 kB / 462 MB, free: 5.238 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006364/0.08006, allocations: 274.5 kB / 462.3 MB, free: 4.973 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001641/0.08171, allocations: 1.159 MB / 463.4 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004238/0.08214, allocations: 194.6 kB / 463.6 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002097/0.08236, allocations: 84.81 kB / 463.7 MB, free: 3.426 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.986e-05/0.08242, allocations: 15.92 kB / 463.7 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.08246, allocations: 46.48 kB / 463.8 MB, free: 3.355 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 3.086e-06/0.08247, allocations: 0 / 463.8 MB, free: 3.355 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.002834/0.0853, allocations: 0.8969 MB / 464.7 MB, free: 2.445 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.08534, allocations: 55.64 kB / 464.7 MB, free: 2.379 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003166/0.08567, allocations: 320.3 kB / 465 MB, free: 2.051 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.0857, allocations: 33.7 kB / 465.1 MB, free: 2.012 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.08584, allocations: 239.5 kB / 465.3 MB, free: 1.773 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.135e-05/0.08591, allocations: 94.66 kB / 465.4 MB, free: 1.68 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.08602, allocations: 69.98 kB / 465.5 MB, free: 1.602 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.08613, allocations: 342.8 kB / 465.8 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003276/0.08646, allocations: 116.7 kB / 465.9 MB, free: 1.145 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000369/0.08684, allocations: 217.2 kB / 466.1 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007061/0.08755, allocations: 352.6 kB / 466.5 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.08757, allocations: 0 / 466.5 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00139/0.08896, allocations: 0.6001 MB / 467.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.08899, allocations: 8 kB / 467.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.089, allocations: 0 / 467.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001861/0.09087, allocations: 0.8275 MB / 467.9 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003282/0.09121, allocations: 71.89 kB / 468 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007115/0.09193, allocations: 1.179 MB / 469.1 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002766/0.09222, allocations: 19.98 kB / 469.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.88e-05/0.09226, allocations: 16 kB / 469.2 MB, free: 13.72 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.0001502/0.09242, allocations: 162 kB / 469.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.508e-05/0.09249, allocations: 27.62 kB / 469.4 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001291/0.09379, allocations: 0.5416 MB / 469.9 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.0938, allocations: 0 / 469.9 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.09381, allocations: 4 kB / 469.9 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.578e-05/0.09389, allocations: 104.7 kB / 470 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.534e-05/0.09395, allocations: 4 kB / 470 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002375/0.09419, allocations: 15.98 kB / 470 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.505e-05/0.09427, allocations: 27.95 kB / 470.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001129/0.09541, allocations: 458.1 kB / 470.5 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001085/0.0965, allocations: 0.5963 MB / 471.1 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003142/0.09683, allocations: 120.2 kB / 471.2 MB, free: 11.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000211/0.09706, allocations: 231.1 kB / 471.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of Backend: time 2.41e-07/0.09706, allocations: 0 / 471.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00101/0.09808, allocations: 341.3 kB / 471.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of SimCode: time 0.001119/0.09921, allocations: 1.112 MB / 472.9 MB, free: 9.887 MB / 350.1 MB Notification: Performance of Templates: time 0.008204/0.1074, allocations: 4.369 MB / 477.3 MB, free: 5.535 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)